Author Topic: Bakery - How can I create multiple 'Free definable Fields' in Bakery?  (Read 4451 times)

gicasso

  • Guest
How can I create multiple 'Free definable Fields' in Bakery?
Currently there is only the possibility of 3 fields, but I would like to have 12 fields

CMS Version 2.8.3 SP1
Bakery: 1.70

gicasso

  • Guest
Re: Bakery - How can I create multiple 'Free definable Fields' in Bakery?
« Reply #1 on: August 23, 2014, 10:40:27 PM »
How can I create multiple 'Free definable Fields' in Bakery?
Currently there is only the possibility of 3 fields, but I would like to have 12 fields

CMS Version 2.8.3 SP1
Bakery: 1.70

I did it. It was a lot of work.
First I adapted the database mod_bakery_general_ settings & mod_bakery_items:
Code: [Select]
`definable_field_3` varchar(150) NOT NULL DEFAULT '',
  `definable_field_4` varchar(150) NOT NULL DEFAULT '',
  `definable_field_5` varchar(150) NOT NULL DEFAULT '',
  `definable_field_6` varchar(150) NOT NULL DEFAULT '',
  `definable_field_7` varchar(150) NOT NULL DEFAULT '',
  `definable_field_8` varchar(150) NOT NULL DEFAULT '',
  `definable_field_9` varchar(150) NOT NULL DEFAULT '',
  `definable_field_10` varchar(150) NOT NULL DEFAULT '',
  `definable_field_11` varchar(150) NOT NULL DEFAULT '',
  `definable_field_12` varchar(150) NOT NULL DEFAULT '',

Than I have adapted all these php files in the map: 'module - bakery' :
- view.php , view_item.php , view_overview.php , upgrade.php , search.php , save_item.php , save_general_settin gs.php , modify_item.php , modify_general_sett ings.php