Page 1 of 1

Problems with template manager

Posted: Fri Feb 15, 2013 2:11 pm
by Delpfine
I used the template manager to put the cart in the header. Now I've removed it from the header and added it to the left column using the template manager. It doesn't show up, though, in the left column and I can still see it in the header.

Re: Problems with template manager

Posted: Fri Feb 15, 2013 2:20 pm
by Brent
Where exactly did you do all this, as in template manger pages.
If you did something in the default and then something different on a particular page, the specific page over rules the default.
Also, make sure you don't have the cart in 2 places. I would probably only load the first instance.

Re: Problems with template manager

Posted: Fri Feb 15, 2013 2:29 pm
by Delpfine
I only loaded the cart using the template manager. I did not added it on a specific page. In template manager, the controller is the default. I tried Top Header and Sub Header. The cart module now is currently only in Left Column under categories. But the cart shows up in the top header. Is there a tpl that I need to reload?

Re: Problems with template manager

Posted: Fri Feb 15, 2013 3:00 pm
by Brent
No, there is nothing to change in tpl. It is all done in the template manager.
Please check the default in template manager and make sure the cart is not in the header. It is also screwing up the menu.
you can't access any of the menu items because the cart is blocking access.

Re: Problems with template manager

Posted: Fri Feb 15, 2013 3:11 pm
by Delpfine
The cart is not in header in template manager. Just header and navigation are there.

Yes, I saw that about it blocking the menu.

Re: Problems with template manager

Posted: Fri Feb 15, 2013 5:39 pm
by Brent
The problem is the HTML code or Css. If you look at the page source, the mini cart is contained in the column div.
Yet for some reason, it is positioned in the header.

Re: Problems with template manager

Posted: Fri Feb 15, 2013 5:53 pm
by Brent
Have you made any changes in the module/cart controller or tpl files.
The mini cart when loaded, checks its position to see if it is in the header or not.
If it is in the header, it uses absolute positioning to put it at the top of the header.
If it is not in the header, it uses relative positioning so it can be placed in either column.
something in the code has been changed that is forcing absolute positioning.

Re: Problems with template manager

Posted: Sat Feb 16, 2013 7:09 am
by Delpfine
Ah, yes. I did change it to position: absolute. Changing it back to relative fixes the problem. Thanks!

Re: Problems with template manager

Posted: Sat Feb 16, 2013 8:44 am
by Brent
Did you add the positioning to the CSS. As I remember, it is not required because positioning is done in the cart.tpl. Try commenting it out and I think it will work as it was designed. Anyway, if it works, that's all matters.

Re: Problems with template manager

Posted: Sat Feb 16, 2013 10:24 am
by Delpfine
Thanks, Brent!