links not showing links not showing
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

links not showing

Started by Justttt, June 22, 2006, 02:23:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Justttt

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
J U S T T T T

Sami

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

Paver

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.

Sami

and those code are:

'{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 ;)
‍I don't answer to PM with support question
Please post your issue to related board

Justttt

#4
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 ;)
J U S T T T T