The default template has 3 colunms and the assigned template has 1
I've assigned the single colunm template to the menu item which links to the SMF and that works ok .... BUT click on any link in the SMF and whammo the default 3 colunm template is what is used.
I don't believe this is a SMF issue as I've used this concept with SMF where I didn't use a bridge. Using this bridge/hack makes it happen.
What am I missing or what haven't I done which I should have?
============================ Version Information: Your Joomla version is: 1.0.12 Your SMF version is: 1.1.1 Your Joomla-SMF version: 2.0.2 Single database Single database
« Last Edit: February 10, 2007, 03:41:38 PM by Andrew »
depending on when mosShowHead() is called in your joomla template, SMF's CSS may be loaded after your joomla template and conflicting CSS definitions get overwritten.
depending on when mosShowHead() is called in your joomla template, SMF's CSS may be loaded after your joomla template and conflicting CSS definitions get overwritten.
Ok I can understand that ...
• where should this go or is there a thread about this here? • conflicting css isn't the issue here I believe as the SMF template is workign ok, it's the wrapper which is causing the issue. The wrong template get's used when you click inside the SMF.
-- edit clarity -- Thanks
« Last Edit: February 08, 2007, 08:44:47 PM by Andrew »
Template A ... is the default 3 colunm template applies to everything except the forum
Template B ... is the single colunm template which is assigned to the SMF menu link.
When I click on the link to SMF Template B is used. Which is correct. When I click on any link inside the SMF Tempalte A is used. Which is not correct.
Trying to work out why it's reverting to the default (Template A) and not what's assigned. It's never happened before hence my query as to whetehr this is a bridge issue or SMF issue
and to be clear, these are Joomla templates, right? My guess is that the template engine isn't matching the url for whatever reason. My general method of handling this scenario is doing it using a file I call isPage.php. In this file I have methods like this:
This allows me to define a special subtemplate and still retain a single template for the site, with separate layouts. Does this sound like what you might need? I frequently use this to remove everything but the header and footer from a site that displays SMF. That way it is wrapped without the side modules, and gets full screen for display.
its not the bridge that is failing here, as far as I can tell. Joomla templates use the itemid to determine which template to display, but every bridge URL contains the Itemid.
• conflicting css isn't the issue here I believe as the SMF template is workign ok, it's the wrapper which is causing the issue. The wrong template get's used when you click inside the SMF.
When you use the wrapper Mode both Css files ar loaded. The isseu is that the Joomla! and SMF template are using the same Class ID's so you have to fix that. Search this board for an example (posted this severall times)
I'm beginning to think it actually is an itemid issue, as the whole look and feel of the site is perfect. Sorry Livebox
Here's what I have ...
Menu link is .... index.php?option=com_smf&Itemid=80 Links inside the SMF are all ... index.php?option=com_smf&Itemid=78
There is no menu item with itemid 78 in any menu and none in the trash either.
----------- Solution ---------- I've left the post above so that others searching may see what's happened as what I'm about to say makes no sense otherwise.
When I first made a menu link to the forum it had Itemid=78 and was in the the wrong menu. I removed that item id and trashed it. I created a new menu item now Itemid=80
I've been away for a day and I've discovered that the problem was actually cookies.
Yes I've got cookies with Itemid=78 in them .... clean all the cookies and whammo it works!!
Doh!! A trap so obvious when you think of it! <shaking head><red faced>
Thanks to all for your time
« Last Edit: February 10, 2007, 03:43:00 PM by Andrew »
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use