Elxis CMS Forum
Extensions => Templates => Topic started by: dados on December 07, 2009, 01:14:39
-
I was create some template and install Elxis 2009.1 my problem is that if in <?php mosMainBody(); ?> shows nothing then some div and class are also do not show, like in left position, if nothing in left then left position is not display... the problem is on this site, http://www.activegolfvacations.com if you look up you will see 4 modules position and below is light gray position this is for <?php mosMainBody(); ?> but I want to create to this section do not display if nothing is on <?php mosMainBody(); ?>
Example for left position is:
<?php if ( $my->id ) { initEditor(); }
if((moscountmodules('left')==0)) {
echo '<style type="text/css">#mainbodytext { width: 98%;} </style>'."\n";}
?>
and also I put in body some code, but this code create some error with mosMainBody()
-
https://forum.elxis.org/index.php?topic=2982.msg18323#msg18323
please search forum
-
uff, sorry for this..