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

nickbits’s picture

Assigned: Unassigned » nickbits

Hi,

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

nickbits’s picture

Status: Active » Closed (fixed)

No further information received so cannot fixed. Hence issue closed.