Feb 13 2010
Posted by amandar
If you've been to my website before you'll notice that I have recently implemented a new design. In a week and a half I will be starting my new job with Gravitek Labs and to coincide with this new venture I decided to redesign my website. I spent more time designing the site in Photoshop than actually building it out, which is one of the reasons I LOVE Drupal!
There were several aspects of this site that would have been a challenge for me a year ago, that now that I know a lot about Drupal were a breeze. One is the logo. I'm not using the typical Drupal logo where you have logo.png in the theme's root or even on the theme settings page where you upload a logo. I am using my preprocess_page function to determine which logo appears. So when you are on the blog, design, or resume you will see the logo with the mouse. If you are on tattoos you see the logo with the tattoo machine, and if you're on drawing and contact you'll see the logo with a pencil. This was all done in the preprocess with a conditional that checks to see what arg(0) is and from there giving my logo a value that is printed in my page.tpl.php.