VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: Martina L on February 05, 2008, 05:39:46 AM

Title: Frontpage/Default page with different template issues
Post by: Martina L on February 05, 2008, 05:39:46 AM
I have a default template for my whole site, including all Virtuemart pages and then a different template for the sites Homepage/default page.

This all works perfectly fine accept for when I click next between "Shipping Address" and "Shipping Method" then site then switches to use teh template I have only set for the Homepage.

My main template is set as the default. I have assigned the homepage one to a menu item called Home which is the frontpage/Joomla Default page

I am using Joomla 1.5
Title: Re: Frontpage/Default page with different template issues
Post by: jenkinhill on February 05, 2008, 11:02:33 AM
If you are using VirtueMart 1.0.x then that is not compatible with Joomla 1.5.

http://virtuemart.net/index.php?option=com_content&task=view&id=263&Itemid=57

If you are using VM1.1. beta then please report bugs on the Quality & Testing forum
http://forum.virtuemart.net/index.php?board=61.0
Title: Re: Frontpage/Default page with different template issues
Post by: Martina L on February 14, 2008, 01:17:27 AM
Just wondering if anyone had found a solution to this issue yet?
Title: Re: Frontpage/Default page with different template issues
Post by: unleash.it on February 14, 2008, 22:45:52 PM
This is probably related to a problem I was having. I use Joomla 1.5 and VM 1.1 and I don't know what happens when you try other combinations, but on certain VM pages the Joomla framework is led to believe it is on the "frontpage" when it isn't. See this thread:

http://forum.virtuemart.net/index.php?topic=34989.0

It happens during some the checkout process and if you delete/update items in the shopping cart.

I was trying to code my theme changes via PHP and it's interesting to find out that the same problem occurs when you try to use different themes in the Joomla theme manager. If you read my last post, I did figure out a workaround...but it's definitely a hack and you'd have to do your theme changes with IF statements in your template.

Any new thoughts on this anyone? There may only be a few of us who care right now, but I think as VM becomes more popular more people will notice this.
Title: Re: Frontpage/Default page with different template issues
Post by: Martina L on February 14, 2008, 23:10:34 PM
Just to confirm I am also using Joomla 1.5 and VM 1.1
Title: Re: Frontpage/Default page with different template issues
Post by: jenkinhill on February 15, 2008, 17:02:59 PM
Barrie North from Joomlashack has steted that there are issues with template assignation in J1.5 - so there may be other difficulties with template switching.
Title: Re: Frontpage/Default page with different template issues
Post by: aravot on February 16, 2008, 20:24:38 PM
Try Joomla 1.0.13 to make sure it is Joomla issue and not VM
Title: Re: Frontpage/Default page with different template issues
Post by: unleash.it on February 16, 2008, 22:34:20 PM
Thanks you guys for your input on this. Even though I've not had any trouble with Joomla (without VM installed ) in this department, it makes sense that the problem might be Joomla 1.5 related...possibly in how the router interacts with 3rd party components. It seems directly connected to URLs, because the URL suddenly turns to the root url at odd times...and this is exactly when the problem occurs.

Maybe at some point I'll have time to test  with the old Joomla, but I've been with J1.5 since RC1 and haven't even looked at 1.0x for over a year...

Jenkinhill, I'll check out what Barrie says. Barrie is where I really learned how to make a Joomla template (his killer 1.5 tutorial) and I know he's going to be a good source for those issues.