1
eclypto
Weight Problems - News mod not responding
  • 2004/12/21 1:12

  • eclypto

  • Just popping in

  • Posts: 44

  • Since: 2004/7/24


I'm not talking about slim fast. My Self-Created content should be above the News Module on the top page, however (even though not weighted this way) the Self-Created content is on the bottom as well as my banner. I've tried coding and doing it thru the admin. What am I doing wrong? http://www.eclypto.com to view what I mean.

2
Bassman
Re: Weight Problems - News mod not responding
  • 2004/12/21 1:17

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Ah yes, that's a coding issue, not a weight issue.
Look for
Quote:

<div id="content"><{$xoops_contents}></div>
in your theme.html, and move it just below the line
Quote:

<td id="centercolumn">

3
eclypto
Re: Weight Problems - News mod not responding
  • 2004/12/21 2:11

  • eclypto

  • Just popping in

  • Posts: 44

  • Since: 2004/7/24


I'm going to try that. It if works you're awesome. I think you've actually answered most of my questions. Thanks, I appreciate you especially.

4
eclypto
Re: Weight Problems - News mod not responding
  • 2004/12/21 2:31

  • eclypto

  • Just popping in

  • Posts: 44

  • Since: 2004/7/24


It didn't work. Not only is that EXACT code not there but because correct "td" is already above it the code closest to what you had told me. What should I do now?

5
Bassman
Re: Weight Problems - News mod not responding
  • 2004/12/21 2:35

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Can you post your theme.html?

6
eclypto
Re: Weight Problems - News mod not responding
  • 2004/12/21 2:46

  • eclypto

  • Just popping in

  • Posts: 44

  • Since: 2004/7/24


Yes.And I appreciate your help. Are you a christin by the way? You have that XoopsHQ down at the bottom for christians.

Quote:


<?php /* Smarty version 2.5.0, created on 2004-12-01 21:19:36
compiled from exnews/theme.html */ ?>
<!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" xml:lang="<?php echo $this->_tpl_vars['xoops_langcode']; ?>
" lang="<?php echo $this->_tpl_vars['xoops_langcode']; ?>
">
<head><body bgcolor="#FFFFFF">
<meta http-equiv="content-type" content="text/html; charset=<?php echo $this->_tpl_vars['xoops_charset']; ?>
" />
<meta http-equiv="content-language" content="<?php echo $this->_tpl_vars['xoops_langcode']; ?>
" />
<meta name="robots" content="<?php echo $this->_tpl_vars['xoops_meta_robots']; ?>
" />
<meta name="keywords" content="<?php echo $this->_tpl_vars['xoops_meta_keywords']; ?>
" />
<meta name="description" content="<?php echo $this->_tpl_vars['xoops_meta_description']; ?>
" />
<meta name="rating" content="<?php echo $this->_tpl_vars['xoops_meta_rating']; ?>
" />
<meta name="author" content="<?php echo $this->_tpl_vars['xoops_meta_author']; ?>
" />
<meta name="copyright" content="<?php echo $this->_tpl_vars['xoops_meta_copyright']; ?>
" />
<meta name="generator" content="Microsoft FrontPage 5.0" />
<title><?php echo $this->_tpl_vars['xoops_sitename']; ?>
- <?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->_tpl_vars['xoops_themecss']; ?>
" />
<!-- RMV: added module header -->
<?php echo $this->_tpl_vars['xoops_module_header']; ?>

<script type="text/javascript">
<!--
<?php echo $this->_tpl_vars['xoops_js']; ?>

//-->
</script>
</head>
<body>
<body bgcolor="#FFFFFF">

<!-- Start Header -->

<table class="exnews" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table cellspacing="0">
<tr id="header">
<td colspan="3" id="headerbanner"><table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td id="headerbanner" align="center">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" valign="center">
</tr> <tr>
</td>

<td id="headerbarcenter" cellspacing="0">

<OBJECT WIDTH="100%" height="49" cellspacing="0">

<PARAM NAME="MOVIE" VALUE="http://www.eclypto.com/Movie2.swf" cellspacing="0">

<EMBED SRC="http://www.eclypto.com/Movie2.swf" WIDTH="100%" height="49" cellspacing="0">

</EMBED>

</OBJECT>




</tr>
</table>
</td>
</tr>

<tr>
<td width="266" bgcolor="#8C0003" colspan="2" height="8" border="0" cellspacing="0" cellpadding="1"> </td>
</tr>


<tr>
<td align="center" colspan="2"><table cellspacing="0" cellpadding="0" width="300px" border="0">
<tr align="center" width="300px">


<td width="0" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/index.php">HOME</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuhead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/contact/">CONTACT US</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/news/submit.php">SUBMIT NEWS</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/newbb/">FORUMS</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/news/">NEWS</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/sections/">MEDIA</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/xoopsmembers/">MEMBERS</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/xoopspoll/">POLLS</a></td>

<td width="1" bgcolor="#d7d7d7"></td>
<td id="headerbar"><a class="menuHead"
href="http://www.eclypto.com/xoops-2.0.7/html/modules/weblog/">WEBLOG</a></td>




<td width="1" bgcolor="#d7d7d7"></td>


</tr>
</table><tr><td id="headerbar_vrijeme"> <span id="clock"></span>
<script language="JavaScript" type="text/javascript" src="<?php echo $this->_tpl_vars['xoops_url']; ?>

/themes/exnews/clock.js">
</script>&nbsp; |<?php if ($this->_tpl_vars['xoops_isuser']): ?>  Hello <a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/user.php"><?php echo $this->_tpl_vars['xoops_uname']; ?>
</a> <?php endif; ?></span> <span class="right">
<?php if ($this->_tpl_vars['xoops_isuser']): ?> <a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/user.php?op=logout"></a>
<?php else: ?> &nbsp;&nbsp;&nbsp; <a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/user.php">Login</a>
<?php endif; ?>

</td>

</td>

<table cellspacing="0">
<tr>
<td id="leftcolumn">

<!-- Start left blocks loop -->
<br>
<center><img align="center" img src="http://www.eclypto.com/invaderzim001.gif">


<a href="javascript:window.external.AddFavorite('http://', 'ECLYPTO.com')">
<img src="http://www.eclypto.com/fav.gif"></a>


<a class="iconop" href="" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.eclypto.com/');" title="[Set As Homepage]"><img src="http://www.eclypto.com/home.gif" width="16" height="16" alt="[Set As Homepage]" /></a>

<a href="http://www.eclypto.com/xoops-2.0.7/html/modules/contact/"><img src="http://www.eclypto.com/mail.gif"></a>

</center>
<?php if (count((array)$this->_tpl_vars['xoops_lblocks'])):
foreach ((array)$this->_tpl_vars['xoops_lblocks'] as $this->_tpl_vars['block']):
?>
<div class="blockTitle"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
<div class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</div>
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
160.gif" width="120" height="1" alt="" />
<?php endforeach; endif; ?>
<!-- End left blocks loop -->

<br>
<br />
</td>

<td id="centerLcolumn">

<!-- Start center-left blocks loop -->

<?php if (count((array)$this->_tpl_vars['xoops_clblocks'])):
foreach ((array)$this->_tpl_vars['xoops_clblocks'] as $this->_tpl_vars['block']):
?>
<table class="blok" align="center" cellpadding="3" cellspacing="2">
<tr>
<td> <div class="blockTitle"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
<div class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</div></td>
</tr>
</table>
<?php endforeach; endif; ?>

<!-- End center-left blocks loop -->
<td id="centercolumn">

<!-- Start center-right blocks loop -->
<?php if (count((array)$this->_tpl_vars['xoops_crblocks'])):
foreach ((array)$this->_tpl_vars['xoops_crblocks'] as $this->_tpl_vars['block']):
?>
<div class="blockTitle"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
<div class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</div>

</div>
<?php endforeach; endif; ?>
<!-- End center-right blocks loop -->

<div id="content"><div class="blockTitle">
<?php echo $this->_tpl_vars['xoops_contents']; ?>


</div>
</div>

<?php if ($this->_tpl_vars['xoops_showcblock'] == 1): ?>


<table cellspacing="0">
<tr>


<?php echo $this->_tpl_vars['xoops_banner']; ?>
<br>
<!-- Start center-center blocks loop -->
<!-- Display center blocks if any -->






<td id="centerCcolumn" colspan="2">


<?php if (count((array)$this->_tpl_vars['xoops_ccblocks'])):
foreach ((array)$this->_tpl_vars['xoops_ccblocks'] as $this->_tpl_vars['block']):
?>
<div class="blockTitle"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
<div class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</div>
<?php endforeach; endif; ?>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>


</td>

</td>
</tr>
</table>

<?php endif; ?>
<!-- End display center blocks -->



</td>


<?php if ($this->_tpl_vars['xoops_showrblock'] == 1): ?>


<td id="rightcolumn">
<!-- Start right blocks loop -->
<?php if (count((array)$this->_tpl_vars['xoops_rblocks'])):
foreach ((array)$this->_tpl_vars['xoops_rblocks'] as $this->_tpl_vars['block']):
?>
<div class="blockTitle"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
<div class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</div>
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
160.gif" width="120" height="1" alt="" />
<?php endforeach; endif; ?>
<!-- End right blocks loop -->

<br />
<br />
</td>
<td id="centerRcolumn">



<?php endif; ?>


</tr>
</table>

<table width="1200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="footerbar">
| 2004 | © Eclypto.com | </a>
</td>
</tr>
</table>
<center><font size=-3>The comments, articles, images and other member submissions are all the property of their respective authors.
Copyright © 1997-2004 Eclypto.com</font></center>
</td>
</tr>
</table>

</body>


</html>


7
Bassman
Re: Weight Problems - News mod not responding
  • 2004/12/21 3:01

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Ouch! that's different to any theme i've seen. Where did that theme come from? I'm afraid I don't recognise the coding :(

And yes, I am a Christian :)

8
eclypto
Re: Weight Problems - News mod not responding
  • 2004/12/21 3:14

  • eclypto

  • Just popping in

  • Posts: 44

  • Since: 2004/7/24


I don't recognize the coding either. It;s the Exnews theme and it was re-written for news oriented websites so I think it's defaulted by coding to put the news on top. I can't organize the code to make it how I want ---and I have tried.

I'll work on it and get back to you. I think it's going to take a lot of trial and error (and two just-in-case backup copies). Thank you for your help anyway.