1
Working on a new theme and this $xoops_content isn't working like I thought it would. Now I can see why no other themes do this. I want to put a border around my content so I can achieve this style.
Theme Concept
What I am having troubles with is that when I include all my styling with in the IF statement it still shows my divs/background images ect while on index with out a module set as the default front page. What I don't get even more is when I use the <{if $xoops_isadmin}> statment for my menus on other themes, if not an admin it clears out all the extra images / divs ect from the HTML output with in that statment, now home come the IF contents statement doesn't do the same? Just real curious would love some help. If can't be done, then I will just have to rethink and redo the whole concept of my layouts.
By the way my themes contain no tables
<{if $xoops_contents}>
<{$xoops_contents}>
<{/if}>
Snippet of my CSS
#content_block {
width:835px;
float:left;
margin:0px 0px 5px 5px;
background: url(images/content_bg.png);
}
#content_top {
width:835px;
height:40px;
background: url(images/835x_content_top.png);
}
#content_content{
background-color:#B3CEDF;
width:825px;
background: url(images/835y_border.png);
padding: 0pc 5px 0px 5px;
}
#content_bottom{
width:835px;
height:40px;
background: url(images/835x_content_bottom.png);
}
<{if $xoops_contents && ($xoops_contents != ' ') }>
<div id="content_block">
<div id="content_top">
div>
<div id="content_content">
<{$xoops_contents}>
div>
<div id="content_bottom">
div>
div>
<{/if}>