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: links not showing  (Read 3029 times)

0 Members and 1 Guest are viewing this topic.

Justttt

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 170
    • Trippy-ILLusion.Co.Uk
links not showing
« on: June 22, 2006, 02:23:04 pm »

hi , i have edited stramms oranje them  i have moved the {SYS_MENU}, {SUB_MENU} etc... to the opisit side of the page but when i uploaded the template instead of showing my album, last comments etc, it just shows {SYS_MENU},{SUB_MENU} . whathave i done wrong ? .

thanks,
 Justttt
« Last Edit: June 22, 2006, 05:55:17 pm by Paver »
Logged
J U S T T T T

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: links not showing
« Reply #1 on: June 22, 2006, 02:35:01 pm »

You probably put them after {GALLERY} tag, if yes then you should change your theme.php too
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: links not showing
« Reply #2 on: June 22, 2006, 03:31:20 pm »

As bmossavari said, you need to modify themes/yourtheme/theme.php to process the tags.  By default, {SYS_MENU} and {SUB_MENU} are only processed by the function pageheader().  To move them to the bottom of the page, you need to add such processing to the function pagefooter().  There are some themes that do this as well, although I cannot think of one right now.

In any case, it's pretty easy to copy the code from the pageheader function into the pagefooter function to process those tags.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: links not showing
« Reply #3 on: June 22, 2006, 03:43:45 pm »

and those code are:
Code: [Select]
'{SYS_MENU}' => theme_main_menu('sys_menu'),
        '{SUB_MENU}' => theme_main_menu('sub_menu'),
        '{ADMIN_MENU}' => theme_admin_mode_menu(),
you should add these to your "$template_vars" array under pagefooter function (if you don't have pagefooter() function copy it from sample theme.php)
I was going to post it but I was waiting for Justtt's answer ;)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Justttt

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 170
    • Trippy-ILLusion.Co.Uk
Re: links not showing
« Reply #4 on: June 22, 2006, 05:02:13 pm »

ahh thanks guy's it was that problem but the opisit way round to begin with links where prossed to footer and i moved them to header .

thanks alot ;)
« Last Edit: June 22, 2006, 05:07:29 pm by Justttt »
Logged
J U S T T T T
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.