coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: hozyali on March 13, 2007, 01:13:19 PM

Title: Top Navigation
Post by: hozyali on March 13, 2007, 01:13:19 PM
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
Title: Re: Top Navigation
Post by: nickfzx on March 13, 2007, 01:58:24 PM
i suggest you search this forum and read the faq's as this has been answered many times.
Title: Re: Top Navigation
Post by: hozyali on March 13, 2007, 02:36:21 PM
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
Title: Re: Top Navigation
Post by: Hein Traag on March 13, 2007, 02:40:41 PM
Search for the Final Extract plugin. That plugin can be used to remove menu links for administrator, registered, guests and banned groups.