Jump to content

blockcms 'display footer...'


king2

Recommended Posts

To successfully save checkbox 'Display various links and information in the Footer'...

 

You just need to change line 749 of blockcms.php from:

$block_activation = (Tools::getValue('cms_footer_on') == 1) ? 1 : 0;

to:

$block_activation = Tools::getValue('cms_footer_on') ? 1 : 0;

 

Link to comment
Share on other sites

hello

it's a question ... ? or what?

can you explain a bit more please?

No, it is a recommendation how to fix it.

 

If you will try to uncheck 'Display various links and information in the Footer' in blockcms module and save changes, you will see that everything is OK. But if you go to modules and click to 'settings' of blockcms again, you will see that checkbox still checked, and footer still displayed.

 

If you apply changes above, it will save unchecked status for this checkbox.

Edited by king2 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...