Hi all,
Since version 1.3.3 the content part "images" has default values for height (200), height (175), and columns (2).
Sometimes I want to leave the height open because several images have different proportions. After saving the value 175 is inserted again.
Where do I change these default values?
Thanks a lot
macangelo
CNT part "images", default values for size and col
CNT part "images", default values for size and col
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign
"/template/inc_settings/template_default/custom_settings.php"(CHANGE HERE)
"/config/phpwcms/conf.template_default.inc.php"(UNCHANGED ORIGINAL):
Code: Select all
Use this to overwrite default "template_default" settings, wich are defined in
"config/phpwcms/conf.template_default.inc.php"
Set only those values which shuld overwrite defaults.
Both arrays will be merged while frontend rendering process.
To use an value remove the "//" (comment sign) in front of the value
...
...
...
//$template_default['imagegallery_default_width'] = 200;
//$template_default['imagegallery_default_height'] = 175;
//$template_default['imagegallery_default_space'] = 3;
//$template_default['imagegallery_default_column'] = 2;
Code: Select all
$template_default['imagegallery_default_width'] = 200;
$template_default['imagegallery_default_height'] = 175;
$template_default['imagegallery_default_space'] = 3;
$template_default['imagegallery_default_column'] = 2;
Hi DeXXus - and thank you for the quick response.
I'm doing something wrong. I removed "//" and changed the value but I still get that old value 175. When I change it in the "conf.template_default.inc.php" it works. Do I have to activate the "custom_settings.php" some place?
Best
macangelo
I'm doing something wrong. I removed "//" and changed the value but I still get that old value 175. When I change it in the "conf.template_default.inc.php" it works. Do I have to activate the "custom_settings.php" some place?
Best
macangelo
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign
Thanks Pico,
where is this Structure-Level Edit? in which file?
I searched and the only result I found in "lang.inc.php" line 1133:
where is this Structure-Level Edit? in which file?
I searched and the only result I found in "lang.inc.php" line 1133:
Code: Select all
$BL['be_overwrite_default'] = 'Will overwrite default settings of config file';
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign
Oh, got it - thanks a lot![/i]
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
http://eyelikeit.com/index.php?de_beispiele-webdesign