Hey All,
Ok so I thought I had a good grasp of the layout system, but clearly I'm missing something, and here's what I mean.
In the default setup, the Checkout layout has a route of
checkout/
It was my understanding that this would mean that any route called that was a child of the checkout process would use the Checkout layout. For instance adding a route of checkout/success would have no affect as success is already routed to the Checkout layout since it's a child of the checkout process.
So if I wanted to create different layouts for checkout/cart and checkout/success I would need to change the existing Checkout layout and add all the child routes that I wish to remain in that layout and move checkout/success and checkout/cart to either a different existing layout, or create a new layout just for them.
So I set the Checkout layout to checkout/checkout and create new layouts Checkout Success with a route of checkout/success, and Checkout Cart with a route of checkout/cart.
I then went to my Bestseller module and added the module to the Checkout Cart layout with a placement of Content Bottom and enabled it. But when I go now to checkout/cart I still have the original Checkout layout. And the same applies to my new Checkout Success layout as well.
What am I not understanding?
Is there some interior override thats taking place that I can't find? Is it a bug, or am I just not getting it?
Thanks for your help.
-Vince
Ok so I thought I had a good grasp of the layout system, but clearly I'm missing something, and here's what I mean.
In the default setup, the Checkout layout has a route of
checkout/
It was my understanding that this would mean that any route called that was a child of the checkout process would use the Checkout layout. For instance adding a route of checkout/success would have no affect as success is already routed to the Checkout layout since it's a child of the checkout process.
So if I wanted to create different layouts for checkout/cart and checkout/success I would need to change the existing Checkout layout and add all the child routes that I wish to remain in that layout and move checkout/success and checkout/cart to either a different existing layout, or create a new layout just for them.
So I set the Checkout layout to checkout/checkout and create new layouts Checkout Success with a route of checkout/success, and Checkout Cart with a route of checkout/cart.
I then went to my Bestseller module and added the module to the Checkout Cart layout with a placement of Content Bottom and enabled it. But when I go now to checkout/cart I still have the original Checkout layout. And the same applies to my new Checkout Success layout as well.
What am I not understanding?
Is there some interior override thats taking place that I can't find? Is it a bug, or am I just not getting it?
Thanks for your help.
-Vince
This might not help but I'll throw it up anyways
Make sure in your layouts that none have just an empty route added
They can have no routes but not empty ones
Make sure in your layouts that none have just an empty route added
They can have no routes but not empty ones
i want to create position for module. how to do it. i tried it in template/common/homp.tpl.
but i don't know how to do it. Please help me. I am trying it from last 2 days. I have already post in forum but didn't get any reply.
but i don't know how to do it. Please help me. I am trying it from last 2 days. I have already post in forum but didn't get any reply.
I have read http://forum.opencart.com/viewtopic.php?f=138&t=37119
1. I have created a custom Layout.
2. I use SEO keywords; is that a problem?
3. For the route I have tried:
hxxp://www.mypage.ca/TEETHING/Tething-Rings
www.mypage.ca/TEETHING/Teething-Rings
TEETHING/Teething-Rings
Teething-Rings
Nothing has worked, what am I doing wrong?
I have tested my custom module using the layouts that came with opencart and the module works fine, however
I only want the module to work on a single page.
Thank you in advance
1. I have created a custom Layout.
2. I use SEO keywords; is that a problem?
3. For the route I have tried:
hxxp://www.mypage.ca/TEETHING/Tething-Rings
www.mypage.ca/TEETHING/Teething-Rings
TEETHING/Teething-Rings
Teething-Rings
Nothing has worked, what am I doing wrong?

I have tested my custom module using the layouts that came with opencart and the module works fine, however
I only want the module to work on a single page.
Thank you in advance
TML: Time Machine for Linux
This has nothing to do with layouts. This is just your SEO keywords. Be sure it is enabled in the system->settings on the server tab. And be sure you rename your htaccess.txt file to .htaccess so the modRewrite for url is enabledTML wrote:I have read http://forum.opencart.com/viewtopic.php?f=138&t=37119
1. I have created a custom Layout.
2. I use SEO keywords; is that a problem?
3. For the route I have tried:
hxxp://www.mypage.ca/TEETHING/Tething-Rings
http://www.mypage.ca/TEETHING/Teething-Rings
TEETHING/Teething-Rings
Teething-Rings
Nothing has worked, what am I doing wrong?![]()
I have tested my custom module using the layouts that came with opencart and the module works fine, however
I only want the module to work on a single page.
Thank you in advance
Thank you for the quick reply.
I checked what you said and the SEO Keywords is on in the settings tab.

Also the .htaccess rewrite rule is on.

It is still not working, what would the next step be?
Thank you again.
I checked what you said and the SEO Keywords is on in the settings tab.
Also the .htaccess rewrite rule is on.
It is still not working, what would the next step be?
Thank you again.
TML: Time Machine for Linux
Who is online
Users browsing this forum: No registered users and 11 guests