FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
JJ_Serenity random image in branding_header (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: JJ_Serenity random image in branding_header
#6
hamccull (User)
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
JJ_Serenity random image in branding_header 7 Months ago Karma: 0  
Hi! Congrats on the great redesign of your site -- it looks like you're offering some new very interesting services.

I had just posted this question on the previous site yesterday (!) and see everything's new today. Anyhow, here is my question:

This is my first Joomla! site (amateurdressage [.] com) and I was very pleased to find the beautiful JJ_Serenity template. It is working well with several other modules and components that I have installed. Thank you very much for making such a professional and beautiful template available for free! I intend to purchase a JJ template for another site that I manage as a hobby.

My question is if it's possible to have a random image appear on page reload/refresh in the branding_header space. I tried adding a javascript for a random image in the index.php for the template but it did not work. I added my own branding_header image by changing the url in the template's customise.css, line 66. However, I'd really like to have a random image load for that branding header.

Can you give me tips for how to do this?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#11
Andy (Admin)
Admin
Posts: 211
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Re:JJ_Serenity random image in branding_header 7 Months ago Karma: 5  
Hi and welcome to the forum,

The easiest is to use the built in Joomla random image module. This will change the module on page refresh. In the index.php just add a module position to the branding section and then load the module and this should work.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#17
hamccull (User)
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Re:JJ_Serenity random image in branding_header 7 Months ago Karma: 0  
OK! Thanks so much for the quick response. I'll add the module like you suggest and give it a try!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#23
hamccull (User)
Junior Boarder
Posts: 21
graphgraph
User Offline Click here to see the profile of this user
Re:JJ_Serenity random image in branding_header 7 Months ago Karma: 0  
It worked! Thanks, Andy! I couldn't be happier! Creating a module worked for the header.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#27
Andy (Admin)
Admin
Posts: 211
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Re:JJ_Serenity random image in branding_header 7 Months ago Karma: 5  
Im glad you got it sorted
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#517
melbatoast (Visitor)
Click here to see the profile of this user
Birthdate:
Re:JJ_Serenity random image in branding_header 5 Months, 3 Weeks ago  
Hey there,
complete newbie here. Just downloaded this template and am looking to simply change the branding header pic. Tried modifying the index.php file but it wont give me permission (even to change to 777). Can you give me push on this one? In fact, if I can figure out how to make this small modification, I'm sure most of my other issues will fall into line. Thanks for providing the free templates - definitely helpful in helping new users learn.
-melba
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Love Thy Favicon!

Click on a block to select it..