jquery image slideshow

Designed a jquery image slideshow for the front page. After fighting with several different examples, my work has been based on this one:


After fiddling with various different options to base my theming work on (like creating subthemes, hacking existing ones, or starting from scratch with own code…), decided to duplicate the zen theme and start making changes to the structure (page.tpl.php) and presentation (zen.css). The file mytheme.info contains the relevant information about the theme and without it drupal won´t see it. Making changes like adding scripts or newly declared stylesheets into this .info file requires to refresh the browser at drupal´s theme administration page to let drupal know about the changes, because there is a big change in this file that acts like the theme manifesto.

At the minute the slideshow is hardcoded in the page.tpl.php page, using the php snipet if($is_front) to render it only on the front page.


Posted on February 14, 2010, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: