Welcome to Geeklog, Anonymous Tuesday, April 16 2024 @ 03:54 pm EDT

Geeklog Forums

menu_item problem


Status: offline

suvi

Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
Hi dirk and co. This time I really need help

I am trying to change the menu. I read
http://www.geeklog.net/faqman/index.php?op=view&t=58
http://www.geeklog.net/faqman/index.php?op=view&t=7

but still I got this problem. I changed my menu to

$_CONF['menu_elements'] = array
(
'home', // link to homepage
'contribute', // contribute / "submit a story" link
'calendar', // link to the site calendar
'search', // link to advanced search
'stats', // link to site stats
'directory', // link to list of past stories
// 'prefs', // link to user's preferences
// 'plugins' // links added by plugins, like {plg_menu_elements}
// 'custom' // for custom links (see lib-custom.php)
);

But I get this:

Home | Contribute | Calendar | Advanced Search | Site Statistics | Directory | Web Resources | Polls |

Why is there Web Resourse and Polls. I am using 1.4.0b1
Is this a bug or how can I change the menu correctly?

Best Regards und Gruss
Suvi

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
If you're using the Classic theme (as mentioned in that other thread), then you have to remove {plg_menu_elements} from the header.thtml

bye, Dirk
 Quote

Status: offline

suvi

Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
let me check that....Yes this it it. Thanks a lot! You are the pro.

Another question, which I hope It is easy to answer but I couldnt find the solution:

How to change the logo from logo.png to logo.jpg ?
 Quote

Status: offline

suvi

Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
The disadvantage of removing {plg_menu_elements} is that also my static page is gone.

Is it possible to configure the elements of {plg_menu_elements} ?
 Quote

Status: offline

suvi

Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
ok found that myself. Its the
"Plugin List" in the admin section. More or less this just removes the whole plugin and also the menu entry. I am starting to like Geeklog more and more.

What about the logo ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by suvi: Is it possible to configure the elements of {plg_menu_elements} ?

Nope. Have a look at the "custom" entry and function CUSTOM_menuEntries in lib-custom.php


Quote by suvi: How to change the logo from logo.png to logo.jpg ?

{site_logo} is just a hard-coded shortcut for {layout_url}/images/logo.gif

Actually, in 1.4 you could set the global variable $_IMAGE_TYPE to 'jpg' and then it would be logo.jpg - but all your other images would also have to be JPGs then.

So, using {layout_url}/images/logo.jpg as a replacement for {site_logo} is probably the better idea.

bye, Dirk
 Quote

Status: offline

suvi

Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
Quote by Dirk:

{layout_url}/images/logo.jpg


This is an excelent Workaround. It works also with the static pages.
I own you a Beer for this!

Still I got a lot of thing to change from the defaults. I will probably have to post some more things. Thanks a lot for all the great support.
 Quote

Status: offline

reddy

Forum User
Newbie
Registered: 09/27/05
Posts: 7
Location:Nampa, Idaho
curious
Getting back to the menu items, I am using the Blue_Steel theme and I have "{glmenu}" showing up in the menu bar at the top of the page and no menu. It is at Team Hardcore MMA and I'm such a newby to php that I can't seem to figure out where the problem is and that I need to go to fix it.

Any help would be greatly appreciated!! Bob Smile
Have a blessed day!!
 Quote

Status: offline

suvi

Forum User
Chatty
Registered: 11/20/05
Posts: 44
Location:Zurich
edit the header.thtml to like

Text Formatted Code

 <tr>
        <td align="center" valign="middle" bgcolor="#DDDDDD" height="20">{menu_elements}</td>
    </tr>

 


Cheers
Suvi
 Quote

Status: offline

reddy

Forum User
Newbie
Registered: 09/27/05
Posts: 7
Location:Nampa, Idaho
happy
Thank you very much Suvi. That worked like a dream!! Very Happy

I really appreciate your help!! Cool Smile Very Happy Bob
Have a blessed day!!
 Quote

All times are EDT. The time is now 03:54 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content