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: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}  (Read 4737 times)

0 Members and 1 Guest are viewing this topic.

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
{SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #1 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.
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #2 on: December 24, 2007, 10:03:05 am »

gallery here

files attached
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #3 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
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #4 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
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #5 on: December 24, 2007, 10:50:56 am »

how do I add all this?

Currently I have:
Code: [Select]
// ------------------------------------------------------------------------- //
// 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:

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

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #6 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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: {SUB_MENU} {ADMIN_MENU} {SYS_MENU}
« Reply #7 on: December 25, 2007, 02:50:10 pm »

Read up the theming section of the docs...
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.