News: September 21st, 2019, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.4! GET IT NOW!!!

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

January 18, 2020, 08:04:16 AM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189417
  • Total Topics: 20794
  • Online Today: 60
  • Online Ever: 781
  • (January 16, 2020, 02:42:13 PM)
Users Online
Users: 1
Guests: 34
Total: 35

Author Topic: Quicklink to Themes Page  (Read 2037 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>