Elxis CMS Forum
Support => General => Topic started by: Romero on June 09, 2010, 00:34:59
-
that it can not find how to do news on the home and generally on the site appear in a column?
content on the site has already been added!
-
Ii is a matter of the template, so you should find a one-column template or just create one!
-
Ii is a matter of the template, so you should find a one-column template or just create one!
all templates that have downloaded from this site deduce news 2 columns.
do not tell my what to fix in the code? but perhaps you can fix it via admin panel
-
I think that you should edit a template (or create one from scratch). :-\
-
Here's the code template:
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$iso = explode( '=', _ISO );
echo '<?xml version="1.0" encoding="'.$iso[1].'"?' .'>'._LEND;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php echo _LANGUAGE; ?>" xml:lang="<?php echo _LANGUAGE; ?>"<?php echo (_GEM_RTL) ? ' dir="rtl"' : ''; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<link href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css<?php echo (_GEM_RTL) ? '-rtl' : ''; ?>.css" rel="stylesheet" type="text/css" media="all" />
<?php if ( $my->id ) { initEditor(); } ?>
<?php if ((mosCountModules( 'left' )>0) or (mosCountModules( 'user1')>0)) {?>
<style type="text/css">
#content{margin-left: 190px}
</style> <?php } ?>
<?php if ((mosCountModules( 'right' )>0) or (mosCountModules( 'user2' )>0)) {?>
<style type="text/css">
#content{margin-right: 200px}
</style> <?php } ?>
<!--[if IE 6]>
<style type="text/css">
ul.table li, .business-card, div.table, div.blog, div.blogleading, div.blog_more, div.tablerow, div.blogrow, .modfpg-container {
float: none;
}
</style>
<![endif]-->
</head>
<body>
<div id="totalwrap">
<div id="header"><div class="headin"><div class="logo"><p><?php echo $mosConfig_sitename; ?></p></div><div class="headtop"><?php mosLoadModules('language', -2); ?></div><div class="topmenu"><?php if ((mosCountModules( 'top', -1 )>0)) { mosLoadModules('top', -1); } ?></div></div></div>
<div id="contentwrap">
<div class="shadow">
<div id="content"><div class="pathway">
<?php mospathway(); ?></div><br />
<?php mosLoadModules('header', -2); ?>
<?php mosMainBody(); ?>
</div>
</div>
</div>
<?php if ((mosCountModules( 'left' )>0) or (mosCountModules( 'user1' )>0)) {?>
<div id="leftcolumn">
<div class="columnin">
<?php mosLoadModules('left', -2); ?>
</div>
</div>
<?php } ?>
<?php if ((mosCountModules( 'right' )>0) or (mosCountModules( 'user2' )>0)) {?>
<div id="rightcolumn">
<div class="columnin">
<?php mosLoadModules('right', -2); ?>
</div>
</div>
<?php } ?>
<div id="footer"><?php include_once( $mosConfig_absolute_path.'/includes/footer.php'); ?></div>
</div>
</body>
</html>
-
in your code it's said that you have right and left columns.