Yes, this UDT is tested on clean installation 1.9.2 and has no errors. The error you have posted derives from you additional UDT.Phoenixsong wrote:Code: Select all
Fatal error: Cannot redeclare curpageurl() (previously declared in /path/to/htdocs/site/lib/content.functions.php(975) : eval()'d code:4) in /path/to/htdocs/site/lib/content.functions.php(975) : eval()'d code on line 3
Template Switcher
Re: Template Switcher
Re: Template Switcher
Why don't you use a simple form to send $_REQUEST and reloading active page? See an example http://themes.icms.infoPhoenixsong wrote:That looks like it's just because of the UDT I was using to set the URL of the current page in a variable
-
- New Member
- Posts: 5
- Joined: Thu Sep 10, 2009 4:38 am
Re: Template Switcher
That is something like what I ended up doing, yes. The original UDT was pretty unwieldy anyway. Thanks.