ist es möglich mit der Auswahl des Templates auf eine bestimmte Seite weiterzuleiten, z.B. auf die Startseite? Ich benutze es auf einer Seite, als Selectbox.
Code: Select all
{{{PLUGIN:templateswitch_selectbox();}}}
Ludwig
facebook: the meeting point ebay: the market place CMSimple: your home at the www
Impressum - Legal Notice | Datenschutzerklärung - Privacy Policy
Code: Select all
{{{PLUGIN:templateswitch_selectbox();}}}
Code: Select all
function templateswitch_selectbox()
{
global $pth, $cf, $plugin_tx, $plugin_cf, $tplsw_active_template, $tplsw_template_default, $tplsw_file, $hidden_templates;
// shows template selectbox
$o_tplsw.= "\n" . '<div class="tplsw_selectbox">' . "\n" . '<form action="#" method="post">' . "\n\t" . '<select name="user_template" onchange="this.form.submit()">' . "\n\t";
...
Code: Select all
$o_tplsw.= "\n" . '<div class="tplsw_selectbox">' . "\n" . '<form action="./?Deine_Startseite" method="post">' . "\n\t" . '<select name="user_template" onchange="this.form.submit()">' . "\n\t";