coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: debragrant on December 23, 2007, 10:01:35 AM

Title: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: debragrant on December 23, 2007, 10:01:35 AM
my file is attached.

I'm wondering why {SUB_MENU} {ADMIN_MENU} {SYS_MENU}  are showing up on my page and not embeded?
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: Joachim Müller on December 23, 2007, 10:05:57 AM
Without seeing the entire theme and not only template.html and without a link to your gallery, we can't tell.
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: debragrant on December 24, 2007, 10:03:05 AM
gallery here (http://www.georgieparker.diva-host.com/gallery)

files attached
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: Joachim Müller on December 24, 2007, 10:26:35 AM
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
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: debragrant on December 24, 2007, 10:30:12 AM
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
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: debragrant on December 24, 2007, 10:50:56 AM
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
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: just_some_guy on December 24, 2007, 01:13:13 PM
To add code from sample/theme.php you need to copy the whole function or variable definition.
Title: Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
Post by: Joachim Müller on December 25, 2007, 02:50:10 PM
Read up the theming section of the docs...