mariner Posted January 27, 2012 Share Posted January 27, 2012 I would like the sitemap link in the footer of my homepage. How can I do this? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 Hi mariner, In your modules/blockcms/blockcms.tpl file, please back up the file and then try replacing <!-- MODULE Block footer --> <ul class="block_various_links" id="block_various_links_footer"> {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop.php')}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a></li>{/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products.php')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> {if !$PS_CATALOG_MODE}<li class="item"><a href="{$link->getPageLink('best-sales.php')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if} {if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if} <li class="item"><a href="{$link->getPageLink('contact-form.php', true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a></li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"><a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} </ul> <!-- /MODULE Block footer --> with <!-- MODULE Block footer --> <ul class="block_various_links" id="block_various_links_footer"> {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop.php')}" title="{l s='Specials' mod='blockcms'}">{l s='Specials' mod='blockcms'}</a></li>{/if} <li class="{if $PS_CATALOG_MODE}first_{/if}item"><a href="{$link->getPageLink('new-products.php')}" title="{l s='New products' mod='blockcms'}">{l s='New products' mod='blockcms'}</a></li> {if !$PS_CATALOG_MODE}<li class="item"><a href="{$link->getPageLink('best-sales.php')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if} {if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores.php')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if} <li class="item"><a href="{$link->getPageLink('contact-form.php', true)}" title="{l s='Contact us' mod='blockcms'}">{l s='Contact us' mod='blockcms'}</a></li>{/if} <li class="item"><a href="{$link->getPageLink('sitemap.php', true)}" title="{l s='Sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a></li> {foreach from=$cmslinks item=cmslink} {if $cmslink.meta_title != ''} <li class="item"><a href="{$cmslink.link|addslashes}" title="{$cmslink.meta_title|escape:'htmlall':'UTF-8'}">{$cmslink.meta_title|escape:'htmlall':'UTF-8'}</a></li> {/if} {/foreach} {if $display_poweredby}<li class="last_item">{l s='Powered by' mod='blockcms'} <a href="http://www.prestashop.com">PrestaShop</a>™</li>{/if} </ul> <!-- /MODULE Block footer --> and let me know if that works for you. -Mike 2 Link to comment Share on other sites More sharing options...
mariner Posted January 27, 2012 Author Share Posted January 27, 2012 No it didn't work. I don't see the link in the footer. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted January 27, 2012 Share Posted January 27, 2012 Can you please post your URL so that I can take a look at this for you? -Mike Link to comment Share on other sites More sharing options...
[email protected] Posted June 7, 2012 Share Posted June 7, 2012 Can you please post your URL so that I can take a look at this for you? -Mike even i have done the same process you have mentioned above , but still its not showing sitemap in footer.i have also seen the MODULE--> CMS BLOCK and TOOLS-->CMS , but no results. plz , sudjest any way to figure it out Link to comment Share on other sites More sharing options...
[email protected] Posted June 7, 2012 Share Posted June 7, 2012 even i have done the same process you have mentioned above , but still its not showing sitemap in footer. i have also seen the MODULE--> CMS BLOCK and TOOLS-->CMS , but no results. plz , sudjest any way to figure it out hey , i have figure out this problem i think...in above code u have written <li class="item"><a href="{$link->getPageLink('sitemap.php', true)}" title="{l s='Sitemap' mod='blockcms'}">{l s='Sitemap' mod='blockcms'}</a></li> but this section isnt there in blockcms , or if u create it tht will be the stationary page with text writen on it and no linking to other page. for this u have to write " blockvariouslink " inplace of " blockcms " as sitemap is present there. it works in mine case , hope u'll get ur problem solved. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 7, 2012 Share Posted June 7, 2012 Hi mariner, Does ankit's solution work for you? -Mike Link to comment Share on other sites More sharing options...
Recommended Posts