PDA

View Full Version : New template switcher addon.



Fkatt
01-29-2006, 08:28 PM
I am willing to pay for a new template changer addon that will allow me to change the template by a php? url variable extension / input. So somehting like index.php?changetemplate=template2

I am also open to other solutions as well.

The final goal is to be able to supress info by using the listing and detail template and changing that based on which template is in use. I need this addon YeStErDaY

alsmith
01-29-2006, 09:09 PM
Here is something: (this is not an addon, just a change to the common.php)

open the common.php
find


$config["template"] = $misc->make_db_unsafe($recor
dSet->fields["controlpanel_template"]);


put this right below that line


if (isset($_GET['template']))
{
$config['template'] = $_GET['template'];
}


Now index.php?template=templatename will switch it.


Just SEND OR A DONATION PLEASE!