TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 01, 2024, 11:46:24 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,175
  • Total Topics: 21,220
  • Online today: 177
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 122
  • Total: 123
  • davo88

Quicklink to Themes Page

Started by neil_mcd, April 18, 2005, 12:56:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neil_mcd

Hi,
Just installed a set of themes but looking for an easy way for users to change them (rather than preferences -> Layout -> Change...etc). What SSI code is used for the frontpage Themes selection box? Is there a hyperlink equivalent I could use in the News box?

Cheers,

Neil

Bjørn

Its a simple code snippet ..but I don't know if it will work in news:

        <form name="jumpurl1" onSubmit="return jumpit()">
                 <select size="1" name="jumpurl2">
                    <option value="index.php?theme=1">default theme</option>
                    <option value="index.php?theme=2">classic</option>
                 </select><br />
                 <input type="button" value="change" onClick="jumpit()">
        </form>
                   <script>
                       function jumpit(){
                          window.location=document.jumpurl1.jumpurl2.value
                          return false
                       }
                   </script>