SkyHiRider Posted January 12, 2014 Share Posted January 12, 2014 My site www.peciatky.sk does not display the footer. I tried meddling with the configuration but nothing helped. According to my backoffice I have a few modules hooked to the footer, yet it still does not show anything. As far as I can tell my css does not interfere with the footer. Can someone have a quick look on my site and tell me if there isn't and obvious problem that I just didn't notice? Link to comment Share on other sites More sharing options...
limon994 Posted January 12, 2014 Share Posted January 12, 2014 Hello, Do you enable force compilation and disable cache? You can give me the back-office access so that I can check if you wish. Thanks, Link to comment Share on other sites More sharing options...
SkyHiRider Posted January 12, 2014 Author Share Posted January 12, 2014 Hello, Do you enable force compilation and disable cache? You can give me the back-office access so that I can check if you wish. Thanks, Yes, neither helped. Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2014 Share Posted January 12, 2014 hello can you show contents of your footer.tpl file (located in your theme directory) Link to comment Share on other sites More sharing options...
SkyHiRider Posted January 12, 2014 Author Share Posted January 12, 2014 hello can you show contents of your footer.tpl file (located in your theme directory) Sure: {* * 2007-2012 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2012 PrestaShop SA * @version Release: $Revision: 14008 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *MAREK} {if $page_name == 'index'} {if !$content_only} </div> <!-- Right --> <div id="right_column" class="column"> {$HOOK_RIGHT_COLUMN} </div> </div> {/if} <!-- Footer --> <div id="footer"> <div class="center_footer"> {$HOOK_FOOTER} </div> </div> </div> {/if} </body> </html> Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2014 Share Posted January 12, 2014 problem is with *MAREK} change it to *} then it will work Link to comment Share on other sites More sharing options...
SkyHiRider Posted January 12, 2014 Author Share Posted January 12, 2014 (edited) problem is with *MAREK} change it to *} then it will work Changed it, the footer is present in the DOM, but no footer blocks are shown. Edited January 12, 2014 by SkyHiRider (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2014 Share Posted January 12, 2014 now it's time to recompile theme do it adv. parameters > performance tab, turn on force compile Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2014 Share Posted January 12, 2014 footer appears there now but only on homepage. due to the if page_name=='index' condition Link to comment Share on other sites More sharing options...
SkyHiRider Posted January 12, 2014 Author Share Posted January 12, 2014 (edited) Thanks vekia - I am always using force compile when "developing" Still, I find it a bit odd that only a single hook is displayed in the footer (awp stands from attribute wizard pro) - I would expect at least the CMS block to show :/ Edited January 12, 2014 by SkyHiRider (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2014 Share Posted January 12, 2014 in fact, not each module you've got there have got possibility to display contents in footer. can you try for example, install free html block module and attach it to footer, add some contents to it. does it appear? Link to comment Share on other sites More sharing options...
SkyHiRider Posted January 12, 2014 Author Share Posted January 12, 2014 in fact, not each module you've got there have got possibility to display contents in footer. can you try for example, install free html block module and attach it to footer, add some contents to it. does it appear? Ok, I've successfully transplanted a module and it shows in the footer. But I want to add a bunch of links (cms block ideally) to the footer, and as far as I can tell it's already transplanted (according to the screenshot in my previous post) :/ Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2014 Share Posted January 12, 2014 so check your blockcms.tpl file first, it's a part of module directory. i think that you've got modified file, which isn't working in this theme. check themes/YOUR_THEME/modules/blockcms/blockcms.tpl file Link to comment Share on other sites More sharing options...
SkyHiRider Posted January 14, 2014 Author Share Posted January 14, 2014 so check your blockcms.tpl file first, it's a part of module directory. i think that you've got modified file, which isn't working in this theme. check themes/YOUR_THEME/modules/blockcms/blockcms.tpl file My theme isn't using a custom blockcms module. Link to comment Share on other sites More sharing options...
Recommended Posts