I need to take an existing site and duplicate it in Drupal and I have a graphic placement question. I'll be using Zen as a starting point. The banner for the existing site is one logo cut up into three parts. Since Drupal only allows one logo to be specified, how do I get the three files into the header? Do I have to combine them into one big graphic? Do I need to directly modify page.tpl.php and add the <img> tags? Or is there an easier (and/or better) way?
Thanks.
Steve
It depends how you want to control the images. It sounds like you don't want to use the logo functionality itself, but want to use a block in the "header" region, or multiple blocks.
For details beyond that, we'd need to know your business logic needs. (Can the images be changed separately, is there any randomization, etc.)
If the images are strictly static design elements, then you could get away with putting img tags directly into the template file iff you are smart and use dynamic pathing rather than hard coding sites/default/yourtheme. (Use $directory instead, which is dynamic and portable and cleaner.)
On Friday 14 March 2008, Steve Edwards wrote:
I need to take an existing site and duplicate it in Drupal and I have a graphic placement question. I'll be using Zen as a starting point. The banner for the existing site is one logo cut up into three parts. Since Drupal only allows one logo to be specified, how do I get the three files into the header? Do I have to combine them into one big graphic? Do I need to directly modify page.tpl.php and add the <img> tags? Or is there an easier (and/or better) way?
Thanks.
Steve