Jump to content

[LOGO] Different logo to load each page, taken randomly from a folder of logos


Recommended Posts

Hi
Solution:
1)
In img directory, create another directory (folder) named "logo" and inside it add as many images as you want, is not imported the image type, the important thing that they have the same size (but just a suggestion) .
2)
make a backup of both files header.tpl (present in your theme) and header.php (present in webroot of your site)
3)
replaced original header.tpl and header.php with those found in. zip attached

(prestashop 1.3.1)
bye bye

logo-random.zip

Link to comment
Share on other sites

  • 4 weeks later...
Hi
Solution:
1)
In img directory, create another directory (folder) named "logo" and inside it add as many images as you want, is not imported the image type, the important thing that they have the same size (but just a suggestion) .
2)
make a backup of both files header.tpl (present in your theme) and header.php (present in webroot of your site)
3)
replaced original header.tpl and header.php with those found in. zip attached

(prestashop 1.3.1)
bye bye


you can replace in the header.tpl, in the img for the logo

{math equation=rand(1,5)}.jpg

where 1, 5 is the names from/to of the images

1.jpg, 2.jpg, 3.jpg
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...