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.
User avatar
serrbiz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 231
Joined: Mon Sep 18, 2006 3:48 pm
Location: Annapolis, Maryland
Contact:

Templates NOT changing even though assigned.

Postby 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 : 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: 31000
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Postby 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 ?
'When I'm right nobody remembers when I'm wrong nobody forgets.'
www.weblinksonline.co.uk/
www.weblinksonline.co.uk/tutorials/joom ... lhost.html

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

Re: Templates NOT changing even though assigned.

Postby 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: 31000
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Postby 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 ?
'When I'm right nobody remembers when I'm wrong nobody forgets.'
www.weblinksonline.co.uk/
www.weblinksonline.co.uk/tutorials/joom ... lhost.html

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

Re: Templates NOT changing even though assigned.

Postby 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: 31000
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Postby 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 ?
'When I'm right nobody remembers when I'm wrong nobody forgets.'
www.weblinksonline.co.uk/
www.weblinksonline.co.uk/tutorials/joom ... lhost.html

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

Re: Templates NOT changing even though assigned.

Postby 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: 31000
Joined: Sat Apr 05, 2008 9:58 pm

Re: Templates NOT changing even though assigned.

Postby Webdongle » Sat Mar 24, 2012 1:56 pm

If you PM me a login I can take a quick look ???
'When I'm right nobody remembers when I'm wrong nobody forgets.'
www.weblinksonline.co.uk/
www.weblinksonline.co.uk/tutorials/joom ... lhost.html

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

Re: Templates NOT changing even though assigned.

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

Did you end up getting this resolved?

If not, do you have sh404SEF enabled?
Online Joomla Training at: http://www.ostraining.com/online/

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

Postby Candlescents » Tue Apr 24, 2012 8:46 pm

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


Return to “Templates for Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 6 guests