Closed (fixed)
Project:
Andreas02
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
23 Mar 2008 at 15:32 UTC
Updated:
8 Apr 2008 at 14:02 UTC
hi I'm wondering how can I control the intro pic to make it only available on the main page or have a different intro pic for different pages
thanks
Comments
Comment #1
nickbits commentedHi,
Which picture do you mean by the "intro pic"?
To have any picture, or content, restricted to the front page you will need to use the $is_front or $page==0 variables (assuming you are on Drupal 5) or drupal_is_front_page (for Druapl 6). I have not used these myself, however, you can find out more on the forums. Please take a look at:
http://drupal.org/node/29132
http://drupal.org/node/39891
http://drupal.org/node/196158
If you wish to replace the header image, you would have to edit page.tpl.php, check to see if you are on the front page and act accordingly.
Cheers,
Nick
Comment #2
nickbits commentedNo further information received so cannot fixed. Hence issue closed.