X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Inserting 2 sideboxes = Chaos (https://forum.x-cart.com/showthread.php?t=51159)

pdstudio 12-06-2009 04:43 AM

Inserting 2 sideboxes = Chaos
 
1 Attachment(s)
I made 2 sideboxes with custom content but when I insert the second box, they slide together, and the footer goes from the bottom, below the sideboxes.
I attached a picture from the problem.

In home.tpl: (before news.tpl)
Quote:

{include file="modules/Idezet_forgato/idezetek.tpl"} #custom sidebox1
{include file="modules/Blog_news/blognews.tpl"} #custom sidebox2


In idezetek.tpl:
Quote:

{capture name=menu}
<div id="guestwrote">
{include_php file='skin1/modules/Idezet_forgato/idezetek.php'}
<div>
{/capture}
{include file="customer/menu_dialog.tpl" title="RСlunk МrtАtok" content=$smarty.capture.menu}


In blognews.tpl:

Quote:

{capture name=menu}
<div id="blognews">
<script src="http://feeds.feedburner.com/VizipipaBlog?format=sigpro" type="text/javascript"></script>
<div>
{/capture}
{include file="customer/menu_dialog.tpl" title="VМzipipa blog" content=$smarty.capture.menu}


I don't can have more than 1 custom sidebox or there is another problem?

cflsystems 12-06-2009 06:07 AM

Re: Inserting 2 sideboxes = Chaos
 
The div elements on both boxes are not closed. You put <div> instead of </div> (just before {/capture})

pdstudio 12-06-2009 07:00 AM

Re: Inserting 2 sideboxes = Chaos
 
Oh my god, how could I not seen it? I feel like a dumbass. Many thanks to you!


All times are GMT -8. The time now is 02:34 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.