Hey i was wondering if there was anyway to make the slogan change itself automatically every time the page is refreshed?
Ben McRedmond
Benofsky Park.com
Hey i was wondering if there was anyway to make the slogan change itself automatically every time the page is refreshed?
Ben McRedmond
Benofsky Park.com
Comments
An example form my site...
At that point, modify your theme to insert tagline_random() instead of checking the system-wide 'slogan' variable.
This method means that authorized users can also contribute new taglines to the database. On my site, where taglines are often punchlines from group-wide in jokes, we wanted each one to link to an explanation. You can modify the tagline_random() function to return plain text instead of a link, if you'd like.
--
Jeff Eaton | Click Here To Find Out Why Drupal "Sucks"
--
Eaton — Partner at Autogram
That's nice ... A question
That's nice ... A question from total progrrammin noob (yeah, I'm just a designer): where do you put the code?! In page.tpl.php or somewhere else?!?!??
Davorin
www.em3r10.com
I've been using a
I've been using a page.tpl.php hack for this on some sites, but now we can all use Richard Eriksson's Fenchurch omnibus module.