Templates NOT changing even though assigned.

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
serrbiz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 231
Joined: Mon Sep 18, 2006 3:48 pm
Location: Dallas, TX
Contact:

Templates NOT changing even though assigned.

Post by serrbiz » Fri Mar 23, 2012 9:04 pm

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?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44022
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Post by Webdongle » Fri Mar 23, 2012 9:13 pm

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 ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
serrbiz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 231
Joined: Mon Sep 18, 2006 3:48 pm
Location: Dallas, TX
Contact:

Re: Templates NOT changing even though assigned.

Post by serrbiz » Sat Mar 24, 2012 12:30 am

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!

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44022
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Post by Webdongle » Sat Mar 24, 2012 12:39 am

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 ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
serrbiz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 231
Joined: Mon Sep 18, 2006 3:48 pm
Location: Dallas, TX
Contact:

Re: Templates NOT changing even though assigned.

Post by serrbiz » Sat Mar 24, 2012 12:53 am

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

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44022
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Post by Webdongle » Sat Mar 24, 2012 1:28 am

&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 ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
serrbiz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 231
Joined: Mon Sep 18, 2006 3:48 pm
Location: Dallas, TX
Contact:

Re: Templates NOT changing even though assigned.

Post by serrbiz » Sat Mar 24, 2012 12:30 pm

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...

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44022
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Post by Webdongle » Sat Mar 24, 2012 1:56 pm

If you PM me a login I can take a quick look ???
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
Nick Savov
Joomla! Ace
Joomla! Ace
Posts: 1076
Joined: Tue Apr 13, 2010 7:40 pm

Re: Templates NOT changing even though assigned.

Post by Nick Savov » Tue Apr 24, 2012 4:00 am

Did you end up getting this resolved?

If not, do you have sh404SEF enabled?
Joomla Templates created by the Wright Framework.

"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/

Candlescents
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Apr 24, 2012 8:41 pm
Location: San Antonio Tx
Contact:

Re: Templates NOT changing even though assigned.

Post by Candlescents » Tue Apr 24, 2012 8:46 pm

Was this resolved? I am having the same issue and I am new to Joomla.


Locked

Return to “Templates for Joomla! 2.5”