vncnt08 Posted January 7, 2013 Share Posted January 7, 2013 I would like to ask for your help, I want to add a copyright to the bottom of my site "All rights reserved 2012-2013" (www.buybranded.com.ph), I am a newbie in prestashop and this site is transferred to me around november 2012 from the previous web developer, I currently handling this site. I need help. Thanks for the help! Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 7, 2013 Share Posted January 7, 2013 (edited) Here is a bit of code that works very nice. <div> {l s='Copyright'} © {$smarty.now|date_format:"%Y"} {$shop_name|escape:'htmlall':'UTF-8'} </div> In your theme you will find a page called footer.tpl and that may be a good place for it. However, looking in your code it seems you are using a module - "MODULE Block footer" - So look in your Module directory and find the module that has the links that are displayed at the bottom of the site. Look in the files that end in .tpl You should find this file no problem. Place the above code below the bottom links. Edited January 7, 2013 by Bill Dalton (see edit history) 1 Link to comment Share on other sites More sharing options...
vncnt08 Posted January 7, 2013 Author Share Posted January 7, 2013 Here is a bit of code that works very nice. <div> {l s='Copyright'} © {$smarty.now|date_format:"%Y"} {$shop_name|escape:'htmlall':'UTF-8'} </div> In your theme you will find a page called footer.tpl and that may be a good place for it. However, looking in your code it seems you are using a module - "MODULE Block footer" - So look in your Module directory and find the module that has the links that are displayed at the bottom of the site. Look in the files that end in .tpl You should find this file no problem. Place the above code below the bottom links. Thanks for your help! I will try this. Link to comment Share on other sites More sharing options...
nadiap Posted January 7, 2013 Share Posted January 7, 2013 Here is a bit of code that works very nice. <div> {l s='Copyright'} © {$smarty.now|date_format:"%Y"} {$shop_name|escape:'htmlall':'UTF-8'} </div> In your theme you will find a page called footer.tpl and that may be a good place for it. However, looking in your code it seems you are using a module - "MODULE Block footer" - So look in your Module directory and find the module that has the links that are displayed at the bottom of the site. Look in the files that end in .tpl You should find this file no problem. Place the above code below the bottom links. Just wanted to say thank you for that code snippet, I added it to my footer.tpl ( version: 1.5.3.1 default theme ). First time editing a .tpl file and was so worried I'd stuff it up, but worked first go - added some inline styling and it looks great 2 Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 7, 2013 Share Posted January 7, 2013 It's nice that it isn't hard coded. It will remain current as the years change. Glad it worked for you. 1 Link to comment Share on other sites More sharing options...
vncnt08 Posted January 7, 2013 Author Share Posted January 7, 2013 Thank you very much! It worked perfectly! Link to comment Share on other sites More sharing options...
SteliosAl Posted February 10, 2013 Share Posted February 10, 2013 Here is a bit of code that works very nice. <div> {l s='Copyright'} © {$smarty.now|date_format:"%Y"} {$shop_name|escape:'htmlall':'UTF-8'} </div> In your theme you will find a page called footer.tpl and that may be a good place for it. However, looking in your code it seems you are using a module - "MODULE Block footer" - So look in your Module directory and find the module that has the links that are displayed at the bottom of the site. Look in the files that end in .tpl You should find this file no problem. Place the above code below the bottom links. have also incorporated this into footer.tplit appears on the left bottom how do i place it in the center? thanks Link to comment Share on other sites More sharing options...
SteliosAl Posted February 10, 2013 Share Posted February 10, 2013 Here is a bit of code that works very nice. <div> {l s='Copyright'} © {$smarty.now|date_format:"%Y"} {$shop_name|escape:'htmlall':'UTF-8'} </div> In your theme you will find a page called footer.tpl and that may be a good place for it. However, looking in your code it seems you are using a module - "MODULE Block footer" - So look in your Module directory and find the module that has the links that are displayed at the bottom of the site. Look in the files that end in .tpl You should find this file no problem. Place the above code below the bottom links. fixed as i added this <center> thank u very much 1 Link to comment Share on other sites More sharing options...
Recommended Posts