mohsart Posted November 21, 2012 Share Posted November 21, 2012 (edited) I'd like to change some things with the footer and could use a couple of pointers... More specifically, I'd like to separate the Information block so that the CMS entries are shown in their own column and add a new column with a block of text. Looking at the source code via the browser, I see "MODULE Block footer" and "block_various_links_footer" etc, but there seems to be no modules corresponding to that code. /Mats Edited November 22, 2012 by mohsart (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted November 21, 2012 Share Posted November 21, 2012 blockcms Link to comment Share on other sites More sharing options...
mohsart Posted November 21, 2012 Author Share Posted November 21, 2012 This is how it looks ATM, I'd like to put the entries in the CMS separate from e.g. Specials. And as I said create a new column with a chunk of text. /Mats Link to comment Share on other sites More sharing options...
tdr170 Posted November 21, 2012 Share Posted November 21, 2012 You will need to edit the blockcms.tpl file, in the lower section you will see the footer area you will need to add addition fields with the required links in addition you will need to remove the links form the original field that you moved. Here is an example in the code below I moved Specials, New Products and Top sellers to the new block and named it Additional the code in red is the new area. All I did was copy the original code from the opening <div tag to the closing </div> tag in the MODULE block footer section and paste below the original then deleted the top three from the first code and deleted the others from the new code. I hope this makes since. Here is a starter for you paste this to your blockcms.tpl file replacing the text there now: Only the footer section!!! <!-- MODULE Block footer --> <div class="block_various_links" id="block_various_links_footer"> <h4>{l s='Information' mod='blockcms'}</h4> <ul> {if $display_stores_footer}<li class="item"><a href="{$link->getPageLink('stores')}" title="{l s='Our stores' mod='blockcms'}">{l s='Our stores' mod='blockcms'}</a></li>{/if} <li class="item"><a href="{$link->getPageLink($contact_url, 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} <li id="header_link_sitemap"><a href="{$link->getPageLink('sitemap')}" title="{l s='sitemap' mod='blockpermanentlinks'}">{l s='Sitemap' mod='blockpermanentlinks'}</a></li> </ul> {$footer_text} </div> <div class="block_various_links" id="block_various_links_footer"> <h4>{l s='Additional' mod='blockcms'}</h4> <ul> {if !$PS_CATALOG_MODE}<li class="first_item"><a href="{$link->getPageLink('prices-drop')}" 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')}" 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')}" title="{l s='Top sellers' mod='blockcms'}">{l s='Top sellers' mod='blockcms'}</a></li>{/if} </ul> {$footer_text} </div> <!-- /MODULE Block footer --> {/if} Here is the result of the modified file. Link to comment Share on other sites More sharing options...
mohsart Posted November 22, 2012 Author Share Posted November 22, 2012 Perfect! Thanks a bunch. One more thing: Where do I find/remove "Browse the mobile site"? /Mats Link to comment Share on other sites More sharing options...
tdr170 Posted November 22, 2012 Share Posted November 22, 2012 In the BO go to Preferences, Themes then scroll down the page just below where you enter the logos is the Mobile theme options. Link to comment Share on other sites More sharing options...
mohsart Posted November 22, 2012 Author Share Posted November 22, 2012 Excellent, thanks so much /Mats Link to comment Share on other sites More sharing options...
Dead Posted November 28, 2012 Share Posted November 28, 2012 you do not need to edit file Link to comment Share on other sites More sharing options...
tdr170 Posted November 28, 2012 Share Posted November 28, 2012 you do not need to edit file This has nothing to do with what we did read the post a little better. We separated what would normally appear under Information and created another column, look at the pic above, see additional. Link to comment Share on other sites More sharing options...
kevincercie Posted November 29, 2012 Share Posted November 29, 2012 I have a template purchased from prestashop addons. All is good except for one problem. The footer on the bottom of the home page needs text to be added to it, simply as below - copyright 2012 (my site name) All persons depicted herein were at least 18 years of age at the time of photography: 18 U.S.C Section 2257 Compliance Notice Material in compliance with the record keeping requirements of 18 U.S.C. 2257 How do I add the above to the home page footer? Any help is greatly appreciated. One other thing, bluehost version of prestashop is 1.5.2 The version of the purchased template i'm using is 1.4.9 of which is not available to use along with simple scripts or the cpanel within bluehost. The template is only available to me in my prestashop admin login page for all editing. I also have the template on my hard drive where i had to upload it from to use this older version template 1.4.9 Link to comment Share on other sites More sharing options...
tdr170 Posted November 29, 2012 Share Posted November 29, 2012 Post a link to your site and I will have a look. Link to comment Share on other sites More sharing options...
mohsart Posted November 29, 2012 Author Share Posted November 29, 2012 It's usually a better idea to create a new thread, especially since this one is marked SOLVED /Mats Link to comment Share on other sites More sharing options...
kevincercie Posted November 30, 2012 Share Posted November 30, 2012 Post a link to your site and I will have a look. www.mysensualshop.com Link to comment Share on other sites More sharing options...
Sunyoto Posted December 6, 2012 Share Posted December 6, 2012 I have a template purchased from prestashop addons. All is good except for one problem. The footer on the bottom of the home page needs text to be added to it, simply as below - copyright 2012 (my site name) All persons depicted herein were at least 18 years of age at the time of photography: 18 U.S.C Section 2257 Compliance Notice Material in compliance with the record keeping requirements of 18 U.S.C. 2257 How do I add the above to the home page footer? Any help is greatly appreciated. One other thing, bluehost version of prestashop is 1.5.2 The version of the purchased template i'm using is 1.4.9 of which is not available to use along with simple scripts or the cpanel within bluehost. The template is only available to me in my prestashop admin login page for all editing. I also have the template on my hard drive where i had to upload it from to use this older version template 1.4.9 For @kevincercie, Please you use the module Sticky footer Wibiya Thanks stickyfot.zip Link to comment Share on other sites More sharing options...
usefun Posted March 13, 2013 Share Posted March 13, 2013 thx for stickyfot, its work on my presta 1.5.3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now