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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,965
  • Latest: boruko
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 247
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 214
  • Total: 214

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>

This website is proudly hosted on Crocweb Cloud Website Hosting.