Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:06 pm EST

Geeklog Forums

Make menu items images?


Status: offline

Maddi

Forum User
Newbie
Registered: 07/21/05
Posts: 6
Location:Planet Earth
Hello!
My questions is: how can I cange menu items into images (.gif, .jpg,..).
I´ve read trhough the FAQ section concerning this question but am quite not sure if its the right one...?
Can anyone help?
Thx a lot and greetz from Austria
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, you can always remove the {menu_elements} variable from header.thtml and hard-code your images instead. That's what the old XSilver theme does.

If you want it to remain configurable from config.php, that should also be possible, but requires some PHP code in the menuitem*.thtml files.

bye, Dirk
 Quote

Status: offline

Maddi

Forum User
Newbie
Registered: 07/21/05
Posts: 6
Location:Planet Earth
Hmmm I tried this one just before but doesn´t work...
instead of {menu...} I set it to a href="....">img src... but "he" didn´t find the image...tried to put the image nearly everywhere but still didn´t find it...
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure to use absolute URLs.

Or use the {site_url} variable, e.g.
Text Formatted Code
<img src="{site_url}/images/mail.gif">
 


bye, Dirk
 Quote

Status: offline

Maddi

Forum User
Newbie
Registered: 07/21/05
Posts: 6
Location:Planet Earth
some strange things happening.. :-)
nowadays the whole menu bar dissappeared...
 Quote

Status: offline

Maddi

Forum User
Newbie
Registered: 07/21/05
Posts: 6
Location:Planet Earth
OK managed it!
THX a lot and great work this geeklog-thing Smile
 Quote

All times are EST. The time is now 06:06 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