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: remove whole header for visitors  (Read 2835 times)

0 Members and 1 Guest are viewing this topic.

roithi

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
remove whole header for visitors
« on: November 30, 2006, 06:14:22 pm »

Hi!

I have a problem

I want to remove the whole header, (Buttons and Banner). how can i do this?

need help
Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: remove whole header for visitors
« Reply #1 on: November 30, 2006, 06:39:50 pm »

Depends on the theme. How will you navigate without menu items? How about a link or at the very least tell us what theme you're using.
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision

roithi

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: remove whole header for visitors
« Reply #2 on: November 30, 2006, 06:47:00 pm »

Sorry for the less informations I gave you

The thing is...

I have a photosite  http://alltagraus.at/main.php?show=photo&album=3

in my  main.php i forward to the  thumbnail.php with album id=3

but as you can see it looks terrible with the navigation bar up there....thats why i want to remove it...

Logged

Gizmo

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1015
    • BullsEye Photos
Re: remove whole header for visitors
« Reply #3 on: November 30, 2006, 07:03:36 pm »

That's a modded Mac_OX_X theme. To remove the header, title and description delete these lines from the template.html file
Code: [Select]
<div class="top_panel">
  <div class="top_panel_r">
    <div id="GAL_NAME">
      <h1>{GAL_NAME}</h1>
      <h3>{GAL_DESCRIPTION}</h3>
    </div>
  </div>
</div>

If you want to also remove the menu buttons, remove these lines as well
Code: [Select]
<div id="MENUS">
  <div id="SUB_MENU">
    {SUB_MENU}
  </div>
  <div id="SYS_MENU">
    {SYS_MENU}
  </div>
</div>

The {SYS_MENU} tag generates the admin menu when you log in so you should place it somewhere so that you can access them when logged in. You should also make sure that you keep the unmodded classic theme in your theme directory in case you over edit and can't access your gallery after you mangle your theme.  ;)
Logged
Did you read the manual first???? Taking 2 minutes to backup your files can save you hours of wondering what you screwed up.
Billy Bullock - BullsEyePhotos Blog of Indecision
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 16 queries.