farukh36 Posted January 3, 2014 Share Posted January 3, 2014 Hi, When i click the new products link in the footer it goes to 404 page. Basically i do not know how to link to the php file new-products.php. Any help would be greatly appreciated. Thanks Farukh Link to comment Share on other sites More sharing options...
NemoPS Posted January 3, 2014 Share Posted January 3, 2014 Prestashop version? Link to comment Share on other sites More sharing options...
vekia Posted January 3, 2014 Share Posted January 3, 2014 and you're talking about "informations" block? if so chek blockcms/blockcms.tpl module file. does the link to the new products page look like: <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products')|escape:'html'}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> ? Link to comment Share on other sites More sharing options...
farukh36 Posted January 3, 2014 Author Share Posted January 3, 2014 Prestashop version? Hi Nemo, I am using the latest version of prestashop. Thanks Farukh Link to comment Share on other sites More sharing options...
farukh36 Posted January 3, 2014 Author Share Posted January 3, 2014 and you're talking about "informations" block? if so chek blockcms/blockcms.tpl module file. does the link to the new products page look like: <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products')|escape:'html'}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> ? Hi Vekia, Yes it looks exactly like that in the blockcms.tpl. Please advise. Thanks Farukh Link to comment Share on other sites More sharing options...
vekia Posted January 3, 2014 Share Posted January 3, 2014 ok, one more question: have you got this module file in your theme directory? themes/YOUR_THEME/blockcms/blockcms.tpl ? if so, what you've got there? Link to comment Share on other sites More sharing options...
farukh36 Posted January 3, 2014 Author Share Posted January 3, 2014 ok, one more question: have you got this module file in your theme directory? themes/YOUR_THEME/blockcms/blockcms.tpl ? if so, what you've got there? Hi Vekia, Hi, I have just checked. There are two blockcms.tpl files. One is in the themes/YOUR_THEME/modules/blockcms.tpl. The other is in the modules directory of prestashop. Thanks Farukh Link to comment Share on other sites More sharing options...
farukh36 Posted January 3, 2014 Author Share Posted January 3, 2014 Hi Vekia, Hi, I have just checked. There are two blockcms.tpl files. One is in the themes/YOUR_THEME/modules/blockcms.tpl. The other is in the modules directory of prestashop. Thanks Farukh Also this is the code for the blockcms in the theme. * 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: 6594 $ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if $block == 1} <!-- Block CMS module --> {foreach from=$cms_titles key=cms_key item=cms_title} <div id="informations_block_left_{$cms_key}" class="block informations_block_left"> <h4><a href="{$cms_title.category_link}">{if !empty($cms_title.name)}{$cms_title.name}{else}{$cms_title.category_name}{/if}</a></h4> <ul class="block_content"> {foreach from=$cms_title.categories item=cms_page} {if isset($cms_page.link)}<li class="bullet"><b style="margin-left:2em;"> <a href="{$cms_page.link}" title="{$cms_page.name|escape:html:'UTF-8'}" {if $page_name == 'cms_page'}class="active"{/if}>{$cms_page.name|escape:html:'UTF-8'}</a> </b></li>{/if} {/foreach} {foreach from=$cms_title.cms item=cms_page} {if isset($cms_page.link)}<li><a href="{$cms_page.link}" title="{$cms_page.meta_title|escape:html:'UTF-8'}" {if $page_name == 'cms_page'}class="active"{/if}>{$cms_page.meta_title|escape:html:'UTF-8'}</a></li>{/if} {/foreach} {if $cms_title.display_store}<li><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}" {if $page_name == 'stores'}class="active"{/if}>{l s='Our stores' mod='blockcms'}</a></li>{/if} </ul> </div> {/foreach} <!-- /Block CMS module --> {else} <!-- MODULE Block footer --> <div class="copyright clearfix"> {if $display_poweredby} © 2012 {l s='Powered by' mod='blockcms'} ™ <a href="http://www.prestashop.com">PrestaShop</a> . All rights reserved{/if} <p id="back-top"> <a href="#top" title="Back to top"><span> Top </span></a> </p> </div> <div class="vt_logo_footer clearfix"> </div> <!-- /MODULE Block footer --> {/if} Link to comment Share on other sites More sharing options...
NemoPS Posted January 4, 2014 Share Posted January 4, 2014 Is it all it contains? It's weird, it misses the whole part about new products/specials etc Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2014 Share Posted January 4, 2014 maybe the problem is related to theme, you use default one? Link to comment Share on other sites More sharing options...
farukh36 Posted January 4, 2014 Author Share Posted January 4, 2014 maybe the problem is related to theme, you use default one? No, I am using another theme. Not the default one. Regards Farukh Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2014 Share Posted January 4, 2014 this probably causing problems you've got. i suppose that your theme use different method / module to display these links. unfortunately, without link it will be a bit hard to help. almost impossible. Link to comment Share on other sites More sharing options...
farukh36 Posted January 4, 2014 Author Share Posted January 4, 2014 this probably causing problems you've got. i suppose that your theme use different method / module to display these links. unfortunately, without link it will be a bit hard to help. almost impossible. Hi vekia, The website link is www.cliftontraders.com Thanks Farukh Link to comment Share on other sites More sharing options...
vekia Posted January 4, 2014 Share Posted January 4, 2014 now it's much better thank you it looks like you use some non default footer module. can you please check your modules list attached to "displayFooter" modules list (you can display modules list under preferences > positions tab in your BO) Link to comment Share on other sites More sharing options...
farukh36 Posted January 6, 2014 Author Share Posted January 6, 2014 now it's much better thank you it looks like you use some non default footer module. can you please check your modules list attached to "displayFooter" modules list (you can display modules list under preferences > positions tab in your BO) Hi Vekia, The modules attached to displayfooter are as follows: cms block cs slider manufacturers logo cs static block vtem footer HTML Box Please advise Farukh Link to comment Share on other sites More sharing options...
Recommended Posts