News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 16, 2019, 08:39:10 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188888
  • Total Topics: 20752
  • Online Today: 50
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 42
Total: 42

Author Topic: Quicklink to Themes Page  (Read 2011 times)

0 Members and 1 Guest are viewing this topic.

neil_mcd

  • Guest
Quicklink to Themes Page
« on: April 17, 2005, 05:56:35 PM »
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

  • Guest
Re: Quicklink to Themes Page
« Reply #1 on: April 18, 2005, 02:16:21 AM »
Its a simple code snippet ..but I don't know if it will work in news:

Code: [Select]
        <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>