Jump to content

Help with smarty template arrays


Recommended Posts

Hi all,

 

I am looking to include a copyright notice in the footer of my page but would like the sitename, and perhaps the current year, to be included automatically.

 

I'm not sure how to do this though as I'm not too familiar with smarty language.

 

Any help would be great. :)

Link to comment
Share on other sites

  • 5 months later...

After some time I have finally managed to figure this out. The code is below in case anybody else wants to use it.

 

 

<div>all content © <a href="{$shop_url}">{$shop_name}</a></div>

 

 

 

This adds a copyright statement with the site name appearing as a link to the site url. I added this to my footer.

 

It would be advisable to add a class the div and style it.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...