{SUB_MENU} {ADMIN_MENU} {SYS_MENU} {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
 

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

{SUB_MENU} {ADMIN_MENU} {SYS_MENU}

Started by debragrant, December 23, 2007, 10:01:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

debragrant

my file is attached.

I'm wondering why {SUB_MENU} {ADMIN_MENU} {SYS_MENU}  are showing up on my page and not embeded?

Joachim Müller

Without seeing the entire theme and not only template.html and without a link to your gallery, we can't tell.

debragrant


Joachim Müller

Your {GALLERY}-token comes right before the menu tokens, so technically speaking you're trying to implement a right-handed menu. Read up http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#rightHandMenu

debragrant

well my theme.php has nothing as I am using the classic theme.

I will have a go at adding what I can from that link

debragrant

how do I add all this?

Currently I have:
// ------------------------------------------------------------------------- //
// This theme has all CORE items removed                                     //
// ------------------------------------------------------------------------- //
define('THEME_IS_XHTML10_TRANSITIONAL',1);
?>


But looking at other theme.php files they seem to a whole lot of other stuff not just the code from the link you posted.

I added the code from the link but got the error:

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /home/debrag/public_html/georgieparker/gallery/themes/coppermine/theme.php on line 22

just_some_guy

To add code from sample/theme.php you need to copy the whole function or variable definition.
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

Read up the theming section of the docs...