Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Removing Page Header from displayimage.php pages?? Help!  (Read 2885 times)

0 Members and 1 Guest are viewing this topic.

ericsj

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Removing Page Header from displayimage.php pages?? Help!
« on: November 30, 2004, 06:14:03 pm »

Hopefully this question can be answered quick and easy:

I want to remove the page header from the displayimage.php page that comes up when you click on a thumbnail.  I want to be able to have intermediate images sized 700x525, and be entirely visible upon first loading the page in a 1024x768 resolution.  To do this I want to remove the page header.

Current layout:

- Page Header -
- Bread Crumbs -
- Image Navigation Menu -
- Image -
- Rate this Image -
- File Information -
- Add Comment -
- Footer -

Desired layout:

- Bread Crumbs -
- Image Navigation Menu -
- Image -
- etc, etc, etc. -

This would fit the image on the page perfectly.  Is there a way to remove the header on just this page, and leave it in place on the main page?

I was hoping there's just a way to make the pageheader(...) function conditional -- the condtion being that the page calling it *isn't* displayimage.php.  Removing the call to pageheader *does* remove the header, but I lose the theme styles and it's pretty ugly.  I must be close though, right?  Right track. ...  .yes? .  .no?

Even a point in the right direction would be appreciated.  Thanks!!
« Last Edit: November 30, 2004, 08:06:24 pm by ericsj »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Removing Page Header from displayimage.php pages?? Help!
« Reply #1 on: December 02, 2004, 10:27:47 am »

urm, not what I'd request, but the function pageheader is called twice in displayimage.php, you could try commenting it out and insert a custom function instead that doesn't output the navigation, but does the rest the function pageheader usually does.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.