02-08-2015, 09:44 AM
Hi,
because i'm a bit lazy to create a vtlib cbupdate for creating fields when i want to customize the DB, i have modified the custom field creation as :
. add a checkbox : Module table
if checked, field will be saved in module table instead of module table cf
no more cf_xxx field , uses the label as field name
see attached
files changed :
Smarty/templates/Settings
LayoutBlockList.tpl
LayoutBlockEntries.tpl
modules/Settings
LayoutBlockList.php
to be tested as usual
because i'm a bit lazy to create a vtlib cbupdate for creating fields when i want to customize the DB, i have modified the custom field creation as :
. add a checkbox : Module table
if checked, field will be saved in module table instead of module table cf
no more cf_xxx field , uses the label as field name
see attached
files changed :
Smarty/templates/Settings
LayoutBlockList.tpl
LayoutBlockEntries.tpl
modules/Settings
LayoutBlockList.php
to be tested as usual