Welcome to Geeklog, Anonymous Sunday, March 16 2025 @ 03:15 pm EDT
Geeklog Forums
Using buttons for staic pages??
Anonymous
Anonymous
Is it possible to use buttons instead of text for the mid menu:ie: advanced search,any static page added???
thanks
12
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Depends on what you mean by a button. If you're talking about the standard HTML buttons, you could use something like
<form action="{site_url}/search.php" method="get"><input type="submit" value="{button_advsearch}"></form>
This would produce a button for "advanced search". Similar logic could be applied to the menuitem*.thtml files and therefore for the static pages.
If, however, by button you mean the buttons the XSilver theme uses for "Calendar" etc. then that would require some more effort. I would guess you could do something like that with PHP and the use of the GD library, but it's certainly a more advanced hack ...
bye, Dirk
10
10
Quote
All times are EDT. The time is now 03:15 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