Top Navigation Top Navigation
 

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]

Main Menu

Top Navigation

Started by hozyali, March 13, 2007, 01:13:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hozyali

Can some one please tell me how do I modify the top navigation menu? I need to do it on this gallery
http://www.saxophonestocollect.com/gallery/index.php. Actually, want to remove a few and add a couple of links in it.

A couple of months back I did this modification on http://www.bookstocollect.com/gallery. But unfortunately, I do not remember which file I modified and what to do now.

I have pasted the current code which is written in my theme.php file.

Quote<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2007 Coppermine Dev Team
  v1.1 originally written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.4.11
  $Source$
  $Revision: 3406 $
  $Author: gaugau $
  $Date: 2006-12-27 10:12:12 +0100 (Mi, 27 Dez 2006) $
**********************************************/

//define('THEME_IS_XHTML10_TRANSITIONAL',1);

// HTML template for template sys_menu spacer
$template_sys_menu_spacer ="";

// HTML template for template sub_menu spacer
$template_sub_menu_spacer ="";

// HTML template for template sys_menu buttons
$template_sys_menu_button = <<<EOT
<!-- BEGIN {BLOCK_ID} -->
      [<a href="{HREF_TGT}" title="{HREF_TITLE}">{HREF_LNK}</a>] {SPACER}
<!-- END {BLOCK_ID} -->
EOT;

?>

Thanks in advance.

Regards
Ali

nickfzx

i suggest you search this forum and read the faq's as this has been answered many times.

hozyali

thanks, but I did already and didn't found exactly what I want. mostly answers are to add link thru config or modify theme.php. but I need to remove some links from the top menu and I pasted the code of my theme.php file already which does not have enough coding to modify.

regards
Ali

Hein Traag

Search for the Final Extract plugin. That plugin can be used to remove menu links for administrator, registered, guests and banned groups.