Page 1 of 1

Templates NOT changing even though assigned.

Posted: Fri Mar 23, 2012 9:04 pm
by serrbiz
I've assigned a template to one specific menu item (an article) via the template manager. The menu manager also shows that a template is assigned to the particular item.

However, the page loads with the default template, not the assigned template.

I have turned SEF's on and off.
I have test with default beez20 template.
I have tried this fix : http://forum.joomla.org/viewtopic.php?p=2663374

I am able to add a string "templatedirectory=var", but if user clicks through to other pages the new template is applied.

Suggestions anyone?

Re: Templates NOT changing even though assigned.

Posted: Fri Mar 23, 2012 9:13 pm
by Webdongle
serrbiz wrote:.... but if user clicks through to other pages the new template is applied.
..
So the default Template shows on the menu item that has another Template assigned ?
and
The Template assigned to a menu item shows on all menu items except the menu item it is assigned to ?
Is that what you are saying ?

Is the assigned Template a Template that has been modified from a standard one ?

Re: Templates NOT changing even though assigned.

Posted: Sat Mar 24, 2012 12:30 am
by serrbiz
If I add the variable "templatedirectory=var" to the dynamic url, then the specific template I want will be seen. If I then click through to other pages, the same template from the aforementioned string will be seen on all pages.

Note: This will stop if I turn off the template switcher plugin I have installed on the site. However, if I do that, then the the above mentioned varialbe string does NOT change the template.

Yes, I'm using non-default templates, but the problem occurs even with the default joomla templates.

Ugh!

Re: Templates NOT changing even though assigned.

Posted: Sat Mar 24, 2012 12:39 am
by Webdongle
links would be useful

When I ask about the Templates I was not asking if they were custom I meant was one a renamed modified copy of the other.

Could the Template switcher be the cause ?

Did this happen after an update ?

Re: Templates NOT changing even though assigned.

Posted: Sat Mar 24, 2012 12:53 am
by serrbiz
Yes, it's a modified template, but a separate clean install package. But that is not the cause. The default templates are not working either.

Here is a link.
dowebsitefast.com - default
http://www.doawebsitefast.com/index.php ... icle&id=38 This has an assigned template - narrower and no columns.

Should look like this.
http://www.doawebsitefast.com/index.php ... rectory=18

If you click the header the template stays the same as the var because of the template switcher. If I turn off template switcher, above templatedirectory=18 string does not work. Does not change template.

In short, the template assignment function is not working.

Here are my settings.
PHP Built On Linux cp09.buyhttp.com\
Database Version 5.0.95-community
Database Collation utf8_general_ci
PHP Version 5.2.17
Web Server Apache
WebServer to PHP Interface cgi
Joomla! Version Joomla! 2.5.2 Stable [ Ember ] 5-March-2012 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

Re: Templates NOT changing even though assigned.

Posted: Sat Mar 24, 2012 1:28 am
by Webdongle
&templatedirectory=18 pics up a div class that has been altered
Capture 106.PNG
Capture 107.PNG
What extension uses the &templatedirectory=18 ? ( a link to the extension in JED would be useful)

It is not a Joomla bug, it's a misconfiguration of an extension that you are using. Perhaps the extension only works on the default Template ?

Re: Templates NOT changing even though assigned.

Posted: Sat Mar 24, 2012 12:30 pm
by serrbiz
Huh? No extension uses "&templatedirectory=18". That variable string is default joomla function. Add it to any url and it is supposed to switch the template based on the template ID, in this case, 18...in the mean time I will turn off all other extensions and see if it is an extension or a joomla issue...

Re: Templates NOT changing even though assigned.

Posted: Sat Mar 24, 2012 1:56 pm
by Webdongle
If you PM me a login I can take a quick look ???

Re: Templates NOT changing even though assigned.

Posted: Tue Apr 24, 2012 4:00 am
by Nick Savov
Did you end up getting this resolved?

If not, do you have sh404SEF enabled?

Re: Templates NOT changing even though assigned.

Posted: Tue Apr 24, 2012 8:46 pm
by Candlescents
Was this resolved? I am having the same issue and I am new to Joomla.