Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Joomla template problem
Old 08-28-2007, 04:25 PM Joomla template problem
Extreme Talker

Posts: 150
Trades: 0
I have this template at panamawow.com/index.php

main index.php is fine displaying 3 columns
but all secodary pages display only 2 columns and the right column (a poll column) is hidden and my client wants this column badly i tried editing the index.php but still can't figure it out, someone please help.


all i need is the poll column to show in the secodary pages.
thanks guys



index.php code

-------------------------------

<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!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">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site;?>/templates/jm_robotic/css/template_css.css" rel="stylesheet" type="text/css" />
<?php if(file_exists($mosConfig_absolute_path."/modules/kwick_menu/js/mootools.js")){
} ?>
<script type="text/javascript" src="modules/kwick_menu/js/mootools.js"></script>
<script type="text/javascript" src="modules/kwick_menu/js/imageMenu.js"></script></head>
<body>
<div align="center" id="body">
<div id="main">
<div id="logo">
<img border="0" src="<?php echo $mosConfig_live_site;?>/templates/jm_robotic/images/logo.jpg" alt="Logo"/></div>
<div id="top"><?php mosLoadModules ( 'user3', -1); ?></div>
<div id="left"><?php mosLoadModules ( 'left', -2); ?></div>
<div id="center"><div id="main_body"><? mosMainBody();?></div></div>
<div id="right"><?php mosLoadModules ( 'right', -2); ?></div>
<div id="footer">

</div>
</div>
</body>
</html>




--------------------------------------------

template_css.css code




/* CSS Document */
html {
height: 100%;
}
body {
height: 100%;
margin: 0px 0px 0px 0px;
background-image:url(../images/bac.png);
background-repeat:repeat-y;
background-position:center;
background-color:#282828;
}
.clr {
clear: both;
}
table.main{
width:909px;
}
.outline {
background: #ffffff;
padding: 2px;
}

ul#mainlevel-nav
{
list-style: none;
padding: 5;
margin: 0;
font-size: 0.8em;
}
ul#mainlevel-nav li
{
background-image: none;
padding-left: 20px;
padding-right: 0px;
float: left;
font-size: 14px;
line-height: 80px;
height:80px;
}
ul#mainlevel-nav li a
{
display: block;
padding-right: 20px;
padding-left: 45px;
text-decoration: none;
color:#FFFFFF;
font-weight:bold;
background-image:url(../images/global.gif);
background-repeat:no-repeat;
background-position:left;
}
#buttons>ul#mainlevel-nav li a { width: auto; }
ul#mainlevel-nav li a:hover
{
color:#FFFF00;
}
table.content_table {
width: 100%;
padding: 0px;
margin: 0px;
}
table.content_table td {
padding: 0px;
margin: 0px;
}
#main {
width:909px;
}
#main_body {
float: left;
width:520px;
text-align:left;
padding: 8px 8px 8px 8px;
background-image:url(../images/left.png);
background-repeat:no-repeat;
background-position:left;
}
#main_body2 {
float: left;
width:690px;
text-align:left;
padding: 8px 8px 8px 8px;
background-image:url(../images/left.png);
background-repeat:no-repeat;
background-position:left;
}
table.blog {
background-image:url(../images/right.png);
background-repeat:no-repeat;
background-position:right;
}
#center {
float: left;
width:520px;
height:100%;
}
#center2 {
float: left;
width:690px;
height:100%;
}
#left {
float: left;
width:188px;
height:100%;
text-align:left;
}
#right {
float: right;
width:190px;
text-align:left;
color:#FFFFFF;
height:500px;
padding-right:5px;
}
#user1 {
float: left;
width:900px;
background-image:url(../images/bac_user1.png);
background-repeat:repeat-x;
background-position:top left;
background-color:#CF2300;
height:118px;
color:#FFFFFF;
line-height:100%;
padding-top:5px;
margin-left:5px;
}
#user{
float: left;
width:200px;
text-align:left;
}
#newsflash{
float: left;
width:500px;
}
#footer {
float: left;
width:900px;
background-image:url(../images/footer.png);
height:48px;
color:#FFFFFF;
text-align:center;
line-height:100%;
padding-top:5px;
margin-left:5px;
}
#footer a {
color:#FFFFFF;
font-weight:bold;
}
#top {
float: left;
width:909px;
background-image:url(../images/bot_logo.jpg);
line-height:107px;
text-align:left;
height:107px;
}
.maintitle {
color: #FFFFFF;
font-size: 40px;
padding-left: 15px;
padding-top: 20px;
text-align:left;
}
.error {
font-style: italic;
text-transform: uppercase;
padding: 5px;
color: #cccccc;
font-size: 14px;
font-weight: normal;
}
/** old stuff **/
div.back_button {
float: right;
text-align: center;
font-size: 11px;
font-weight: normal;
width: auto;
background: url(../images/bac_btn.png) repeat-x;
line-height: 25px;
margin: 1px;
color:#006600;
width:99px;
}
.pagenav {
text-align: center;
font-size: 11px;
font-weight: normal;
width: auto;
padding: 0px 10px;
line-height: 20px;
margin: 1px;
color:#FFFFFF;
}
.pagenavbar {
margin-left: 10px;
float: left;
}
ul
{
margin: 0;
padding: 0;
list-style: none;
}
li
{
line-height: 15px;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png);
background-repeat: no-repeat;
background-position:left;
}

td {
text-align: left;
font-size: 11px;
}

body {
padding: 0px;
font-family: Tahoma;
line-height: 120%;
font-size: 11px;
color:#FFFFFF;
}
a:link, a:visited {
color: #FFFFFF; text-decoration: none;
font-weight: normal;
}
a:hover {
color:#FFFF00; text-decoration: none;
font-weight: normal;
}
table.contentpaneopen {
width: 100%;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
}
table.contentpaneopen td {
padding-left: 5px;
}
table.contentpaneopen td.componentheading {
padding-left: 4px;

}

table.contentpane {
width: 100%;
padding: 0px;
border-collapse: collapse;
border-spacing: 0px;
margin: 0px;
}
table.contentpane td {
margin: 0px;
padding: 0px;
}
table.contentpane td.componentheading {
padding-left: 4px;
}
table.contentpaneopen fieldset {
border: 0px;
border-bottom: 1px solid #eee;
}
.button {
color:#006600;
font-family: Tahoma;
text-align: center;
font-size: 11px;
font-weight: normal;
width: auto;
background: url(../images/button_bg.png) repeat-x;
background-position:bottom;
line-height: 18px !important;
line-height: 16px;
height: 26px !important;
height: 24px;
margin: 1px;
}
.inputbox {
padding: 2px;
background-color: #ffffff;
}
.componentheading {
text-align: left;
padding-top: 0px;
color: #ffffff;
font-weight: bold;
font-size: 13px;
}
.contentcolumn {
padding-left: 5px;
}
.contentheading {
text-align: left;
padding-top: 0px;
color: #ffffff;
font-weight: bold;
font-size: 13px;
}
.contentheading table{
text-align: left;
padding-top: 0px;
padding-left:15px;
height: 33px;
line-height:33px;
color: #ffffff;
font-weight: bold;
font-size: 13px;
padding-bottom:0px;
margin-left:10px;
}
.contentpagetitle {
font-size: 13px;
font-weight: normal;
color: #cccccc;
text-align:left;
}
table.searchinto {
width: 100%;
}
table.searchintro td {
font-weight: normal;
}
table.moduletable {
width: 100%;
margin-bottom: 5px;
padding: 0px;
border-spacing: 0px;
border-collapse: collapse;
}
div.moduletable {
margin-bottom: 0px;
padding-bottom:0px;
width:183px;
float:left;
padding-left:10px;
}
table.moduletable th, div.moduletable h3 {
background: url(../images/top_module.png) no-repeat;
background-position:bottom left;
color:#FFFFFF;
text-align: center;
padding-bottom:5px;
height: 30px;
line-height: 45px;
font-weight: bold;
font-size: 12px;
font-family:Tahoma;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
margin-left:-5px;
}
div.user h3 {
background: url(../images/bac_user.png) no-repeat;
background-position:bottom left;
color:#FFFFFF;
text-align: left;
padding-bottom:5px;
height: 30px;
line-height: 45px;
font-weight: bold;
font-size: 12px;
font-family:Tahoma;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
padding-left:15px;
}
div.newsflash h3 {
background: url(../images/bac_newsflash.png) no-repeat;
background-position:bottom left;
color:#FFFFFF;
text-align: left;
padding-bottom:5px;
height: 30px;
line-height: 45px;
font-weight: bold;
font-size: 12px;
font-family:Tahoma;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
padding-left:15px;
}
table.moduletable td {
font-size: 11px;
margin: 0px;
font-weight: normal;
}
table.pollstableborder {
padding: 2px;
width:96%;
}
moduletable-Banners {
text-align:center;
}
.sectiontableheader {
font-weight: bold;
background-color:#CCCCCC;
padding: 4px;
height:20px;
}
a.category {
font-weight: bold;
padding: 8px;
color:#FFFFFF;
}
a.category:hover {
font-weight: bold;
padding: 8px;
color:#FFFFFF;
}
a.category:visited {
font-weight: bold;
padding: 8px;
color:#FFFFFF;
}
img.image{
width:64px;
height:64px;
}
a.download {
font-weight: bold;
color:#FFFFFF;
}
a.download:hover {
font-weight: bold;
color:#FFFFFF;
}
a.download:visited {
font-weight: bold;
color:#FFFFFF;
}
.sectiontablefooter {
}
.sectiontableentry1 {
background-color:#333333;
color:#FFFFFF;
}
.sectiontableentry2 {
background-color:#000000;
color:#FFFFFF;
}
.small {
color: #FFFFFF;
font-size: 11px;
}
a.createdate {
height: 15px;
padding-bottom: 10px;
color: #FFFFFF;
font-size: 11px;
}
a.modifydate {
height: 15px;
padding-top: 10px;
color: #FFFFFF;
font-size: 11px;
}
table.contenttoc {
padding: 2px;
margin-right: 2px;
margin-bottom: 2px;
}
table.contenttoc td {
padding: 2px;
}
table.contenttoc th {
color: #3C4571;
text-align: left;
padding-top: 2px;
padding-left: 4px;
height: 21px;
font-weight: normal;
font-size: 10px;
text-transform: uppercase;
}
a.mainlevel:link, a.mainlevel:visited {
display: block;
background: url(../images/button.png) no-repeat;
background-position:left top;
font-size: 11px;
font-weight: normal;
color:#FFFFFF;
text-align: left;
padding-top: 0px;
padding-left:20px;
height: 32px !important;
height: 32px;
line-height:32px;
text-decoration: none;
margin-left:-5px !important;
margin-left:3px;
}
a.mainlevel:hover {
text-decoration: none;
background-position: left bottom;
color:#FFFF00;
}
a.mainlevel#active_menu {
color:#FFFF00;
font-weight: bold;
font-size:13px;
background-position: left bottom;
}
a.mainlevel#active_menu:hover {
color:#FF9900;
}
a.sublevel:link, a.sublevel:visited {
padding-left: 1px;
vertical-align: middle;
font-size: 11px;
font-weight: normal;
color: #FF9900;
text-align: left;
}
a.sublevel:hover {
color: #FFFF00;
text-decoration: none;
}
a.sublevel#active_menu {
color: #FFFF00;
}
.highlight {
background-color: Yellow;
color: Blue;
padding: 0;
}
.code {
background-color: #ddd;
}
form {
/* removes space below form elements */
margin: 0;
padding: 0;
width:98%;
}
div.mosimage {
}
div.message {
color:#FF0000;
font-weight:bold;
font-size:12px;
text-align:center;
padding-top:20px;
}
.mosimage {
margin: 5px
}
.mosimage_caption {
margin-top: 2px;
background: #efefef;
padding: 1px 2px;
color: #666;
font-size: 10px;
border-top: 1px solid #cccccc;
}
span.article_seperator {
display: block;
height: 1.5em;
}
td.dot {
height:5px;
}
table.top_menu{
padding-top:4px;
}
td.tab{
height:10px;
}
a.mostread, a.mostread:visited {
color:#FFFFFF;
font-weight:normal;
}
a.mostread:hover {
color:#FFFFFF;
font-weight:normal;
}
a.latestnews, a.latestnews:visited {
color:#FFFFFF;
font-weight:normal;
}
a.latestnews:hover {
color:#3C4571;
font-weight:normal;
}
li.latestnews-user{
padding-left:20px !important;
padding-right:10px;
}
li.mostread-user{
padding-left:20px !important;
padding-right:10px;
}
td.site_name {
font-size:44px;
padding-top:16px;
padding-bottom:10px;
font-weight:normal;
color:#3C4571;
}
td.site_desc {
font-size:15px;
font-weight:normal;
color:#3C4571;
}
table.box_table{
background-color:#F7F7F7;
}
a.readon, a.readon:visited {
display:block;
width:100px;
color:#FFFFFF;
padding-left:22px;
background-image:url(../images/readon.png);
background-repeat:no-repeat;
background-position:left;
float:left;
padding-top:3px;
height:25px;
line-height:22px;
}
th.pagenav_next {
display:block;
color:#003300;
padding-left:15px;
height:21px;
font-size:11px;
width:50px;
text-align:center;
}
th.pagenav_prev {
display:block;
color:#003300;
padding-left:15px;
height:21px;
font-size:11px;
width:50px;
}
archyboy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Joomla template problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12327 seconds with 12 queries