Hardwired theme + Banners in header
| Author |
Message |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Hardwired theme + Banners in header Posted: Mon Jun 22, 2009 10:56 pm |
|
Hey everybody. I'm having a little trouble here, and I'm getting a little frustrated so this is my last resort before I give up!
I am trying to get the banner system working properly on my website. I have the system activated, and I know how to add/remove banners and all of that.
But, I would like to add banners to the header of my website.
Right now the banners only appear in the center of the screen using Hardwired as my theme. With the Default theme, the banners are in the header where I'd like them. With the Dragonfly theme, the headers are in the footer.
ALSO: When using the banner system, and using the Hardwired theme, I get the following error at the very bottom of my site:
error wrote:
includes/classes/blocks.php
* CMS Warning line 142: block-Advertising.php
There appears to be a problem with this block
This appears when using the original files from the Dragonfly Install (9.2.1) - Your thoughts?
My Formal Request:
Can somebody PLEASE modify the theme.php and/or header.html file for the Hardwire theme for me, so I can use the banners in my header?
I would greatly appreciate it. I'm completely stumped - I am not a PHP person at all, I know how to do basic stuff but I can't seem to get this right at all. PLEASE HELP!
Website:
soda.datsun510.com
Thanks in Advance!
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Mon Jun 22, 2009 11:05 pm |
|
Whoops! I forgot, I was going to add the code from my files for simplicity.. can't edit my post however.
Sorry about the double-post!
ALSO - How the heck do you make the code form smaller and scrollable? Sorry it's so huge, but I don't know exactly where I should copy and paste from... and I don't know how to make it a scrollable window instead of one giant hunk of code. If it can be changed, please edit this post for me!
Hardwired theme.php file:
PHP:
<?php /********************************************* CPG Dragonfly™ CMS ******************************************** Copyright © 2004 - 2005 by CPG-Nuke Dev Team www.dragonflycms.com
Dragonfly is released under the terms and conditions of the GNU GPL version 2 or any later version **********************************************/ if (!defined('CPG_NUKE')) { exit; } define('THEME_VERSION', '9.1.0.0');
$lnkcolor = "#D8E8FF"; $bgcolor1 = "#687483"; $bgcolor2 = "#4F5B6A"; $bgcolor3 = "#4F5B6A"; $bgcolor4 = "#405C82"; $textcolor1 = "#000000"; $textcolor2 = "#000000"; $hr = 1; # 1 to have horizonal rule in comments instead of table bgcolor
function OpenTable() { echo "<table width=\"100%\" class=\"opentable1\" cellspacing=\"1\" cellpadding=\"5\"><tr><td>"; }
function CloseTable() { echo "</td></tr></table><br />"; }
function OpenTable2() { echo "<table width=\"100%\" class=\"opentable2\" cellspacing=\"0\" cellpadding=\"5\"><tr><td>"; }
function CloseTable2() { echo "</td></tr></table><br />"; }
function themeheader() { global $slogan, $sitename, $banners, $mainindex, $adminindex, $cpgtpl, $site_logo, $db, $prefix, $CPG_SESS, $userinfo, $MAIN_CFG, $Blocks; if ($MAIN_CFG['global']['admingraphic'] & 4) { include('includes/cssmainmenu.php'); } $themecp = isset($MAIN_CFG['themecp']['activate']) ? $MAIN_CFG['themecp']['activate'] : 0; if (!empty($themecp)) { $sql = "SELECT msg1, msg2, msg3, link1, link2, link3, link4, link5, link6, link7, link8, link9, link10, link1url, link2url, link3url, link4url, link5url, link6url, link7url, link8url, link9url, link10url, searchbox, flash FROM ".$prefix."_themecp"; $result = $db->sql_query($sql); list($msg1, $msg2, $msg3, $link1, $link2, $link3, $link4, $link5, $link6, $link7, $link8, $link9, $link10, $link1url, $link2url, $link3url, $link4url, $link5url, $link6url, $link7url, $link8url, $link9url, $link10url, $searchbox, $flash) = $db->sql_fetchrow($result); } $imgr = $imgl = ''; // left blocks ? if ($Blocks->l && ($Blocks->showblocks & 1)) { $img = $Blocks->hideblock('600') ? 'plus.png' : 'minus.png'; $imgl = '<img style="cursor:pointer;" alt="'._TOGGLE.'" title="'._TOGGLE.'" id="pic600" src="themes/'.$CPG_SESS['theme'].'/images/'.$img.'" onclick="blockswitch(\'600\');" />'; } // right blocks ? if ($Blocks->r && ($Blocks->showblocks & 2)) { $img = $Blocks->hideblock('601') ? 'plus.png' : 'minus.png'; $imgr = '<img style="cursor:pointer; float:right;" alt="'._TOGGLE.'" title="'._TOGGLE.'" id="pic601" src="themes/'.$CPG_SESS['theme'].'/images/'.$img.'" onclick="blockswitch(\'601\');" />'; }
// Forum Rollover Colors! // $indexbodyrollover = '#4F4F4F'; $viewforumrollover = '#4F4F4F'; // just in case things dont work with l1ontime go back to using this for s_nowtime // $date = ''.date('l, g:i a'); $user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; $css_ie = ereg('MSIE 7.0', $user_agent) ? 'ie7' : (ereg('MSIE ([0-6].[0-9]{1,2})', $user_agent) ? 'ie6' : ((isset($_SESSION['SECURITY']['UA']) && $_SESSION['SECURITY']['UA'] == 'Safari') ? 'safari' : ((isset($_SESSION['SECURITY']['UA']) && $_SESSION['SECURITY']['UA'] == 'Opera') ? 'opera' : ''))); $cpgtpl->assign_vars(array( 'CSS_IE' => ($css_ie) ? '<link rel="stylesheet" type="text/css" href="themes/'.$CPG_SESS['theme'].'/style/'.$css_ie.'.css" />' : '', 'PUBLIC_HEADER' => !defined('ADMIN_PAGES'), 'B_L_VISIBLE' => $Blocks->hideblock('600') ? 'style="display: none"' : '', 'B_L_HIDDEN' => $Blocks->hideblock('600') ? '' : 'style="display: none"', 'G_LEFTIMAGE' => $imgl, 'G_RIGHTIMAGE' => $imgr, 'L_TOGGLE' => _TOGGLE, 'S_IS_ADMIN' => is_admin(), 'S_CAN_ADMIN' => can_admin(), 'S_IS_USER' => is_user(), 'S_LOGO' => $site_logo, 'S_SITENAME' => $sitename, 'S_HOME' => _HOME, 'S_DOWNLOADS' => is_active('Downloads') ? _DownloadsLANG : false, 'S_FORUMS' => _ForumsLANG, 'S_MY_ACCOUNT' => is_user() ? _Your_AccountLANG : _LOGIN, 'S_ADMIN' => _ADMINISTRATION, 'S_BANNER' => ($banners) ? viewbanner() : '', 'U_MAININDEX' => $mainindex, 'U_DOWNLOADS' => getlink('Downloads'), 'U_FORUMS' => getlink('Forums'), 'U_MY_ACCOUNT' => getlink(is_user() ? 'Your_Account' : 'Your_Account'), 'U_ADMININDEX' => $adminindex, 'U_WELCOME' => is_user() ? 'Welcome '.$userinfo['username'] : '', 'S_NOWTIME' => L10NTime::date("m d Y H:i:s", gmtime(), $userinfo['user_dst'], $userinfo['user_timezone']), 'T_MSG1' => $themecp ? $msg1 : '', 'T_MSG2' => $themecp ? $msg2 : '', 'T_MSG3' => $themecp ? $msg3 : '', 'T_LINK1' => $themecp ? $link1 : '', 'T_LINK2' => $themecp ? $link2 : '', 'T_LINK3' => $themecp ? $link3 : '', 'T_LINK4' => $themecp ? $link4 : '', 'T_LINK5' => $themecp ? $link5 : '', 'T_LINK6' => $themecp ? $link6 : '', 'T_LINK7' => $themecp ? $link7 : '', 'T_LINK8' => $themecp ? $link8 : '', 'T_LINK9' => $themecp ? $link9 : '', 'T_LINK10' => $themecp ? $link10 : '', 'T_LINK1URL' => $themecp ? $link1url : '', 'T_LINK2URL' => $themecp ? $link2url : '', 'T_LINK3URL' => $themecp ? $link3url : '', 'T_LINK4URL' => $themecp ? $link4url : '', 'T_LINK5URL' => $themecp ? $link5url : '', 'T_LINK6URL' => $themecp ? $link6url : '', 'T_LINK7URL' => $themecp ? $link7url : '', 'T_LINK8URL' => $themecp ? $link8url : '', 'T_LINK9URL' => $themecp ? $link9url : '', 'T_LINK10URL' => $themecp ? $link10url : '', 'T_FLASH' => $themecp ? $flash : '', 'T_SEARCHBOX' => $themecp ? $searchbox : '', 'T_INDEXBODYROLLOVER' => $indexbodyrollover, 'T_VIEWFORUMROLLOVER' => $viewforumrollover, 'S_THEMECP' => $themecp ? true : false, 'S_MAIN_MENU' => isset($mmcontent) ? $mmcontent : false )); $Blocks->display('l'); }
function themefooter() { global $banners, $cpgtpl, $Blocks; $Blocks->display('r'); $cpgtpl->assign_vars(array( 'B_R_VISIBLE' => $Blocks->hideblock('601') ? 'style="display: none"' : '', 'B_R_HIDDEN' => $Blocks->hideblock('601') ? '' : 'style="display: none"', 'S_FOOTER' => footmsg() )); $cpgtpl->set_filenames(array('footer' => 'footer.html')); $cpgtpl->display('footer'); }
/***********************************************************************************
string theme_open_form
Creates start tag for form $get_link : link for action default blank $form_name : useful for styling and nbbcode $legend: optional string value is used in form lagend tag $border: optional use 1 to not show border on fieldset from stylesheet ************************************************************************************/ function theme_open_form($link, $form_name=false, $legend=false, $tborder=false) { $leg = $legend ? "<legend>$legend</legend>" : ''; $bord = $tborder ? $tborder : ''; $form_name = $form_name ? ' name="'.$form_name.'" id="'.$form_name.'"' :''; return '<form method="post" action="'.$link.'"'.$form_name.' enctype="multipart/form-data" accept-charset="utf-8"><fieldset '.$bord.'>'.$leg; } function theme_close_form() { return '</fieldset></form>'; } /***********************************************************************************
string theme_yesno_option
Creates 2 radio buttons with a Yes and No option $name : name for the <input> $value: current value, 1 = yes, 0 = no
************************************************************************************/ function theme_yesno_option($name, $value=0) { $sel[(!$value)] = ''; $sel[$value] = ' selected="selected"'; $select = '<select class="set" name="'.$name.'" id="'.$name."\">\n"; $select .= '<option value="1"'.$sel[1].">"._YES."</option>\n"; $select .= '<option value="0"'.$sel[0].">"._NO."</option>\n"; return $select.'</select>'; } /***********************************************************************************
string theme_select_option
Creates a selection dropdown box of all given variables in the array $name : name for the <select> $value: current/default value $array: array like array("value1","value2")
************************************************************************************/ function theme_select_option($name, $value, $array) { $sel[$value] = ' selected="selected"'; $select = '<select class="set" name="'.$name.'" id="'.$name."\">\n"; foreach($array as $var) { $select .= '<option'.(isset($sel[$var])?$sel[$var]:'').">$var</option>\n"; } return $select.'</select>'; } /***********************************************************************************
string theme_select_box
Creates a selection dropdown box of all given variables in the multi array $name : name for the <select> $value: current/default value $array: array like array("value1 => title1","value2 => title2")
************************************************************************************/ function theme_select_box($name, $value, $array) { $select = '<select class="set" name="'.$name.'" id="'.$name."\">\n"; foreach($array as $val => $title) { $select .= "<option value=\"$val\"".(($val==$value) ? ' selected="selected"' : '').">$title</option>\n"; } return $select.'</select>'; }
Hardwired header.html file below:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" >
<html dir="{S_TEXTDIR}" xml:lang="{S_LANGCODE}">
<head>
{S_HEADER_TAGS}
<link rel="stylesheet" type="text/css" href="{THEME_PATH}/style/style.css" />
<!-- IF S_MAIN_MENU or S_ADMIN_CSSMENU -->
<link rel="stylesheet" type="text/css" href="{THEME_PATH}/style/cpgmm.css" />
<!-- ENDIF -->
{CSS_IE}
</head>
<body>
<!-- IF S_ADMIN_CSSMENU -->
{G_LEFTIMAGE}<img src="images/spacer.gif" style="height:18px; float:left;" alt="Admin Menu Spacer" />
<div id="menu">{S_MAIN_MENU}</div><br />
<!-- ELSEIF S_ADMIN_MENU -->
<div id="adminmenu"></div>
<script type="text/javascript">/*<![CDATA[*/
{S_ADMIN_MENU}
cmDraw ('adminmenu', adminMenu, 'hbr', cmThemeOffice, 'ThemeOffice');
/*]]>*/</script>
<!-- ELSE -->
<table class="headtable" border="0" cellpadding="0" cellspacing="0">
<!-- IF PUBLIC_HEADER -->
<tr><td>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" class="header01">
<!-- IF S_IS_USER -->
{U_WELCOME}
<!-- ELSE -->
<a href="{U_MY_ACCOUNT}"><b>{S_MY_ACCOUNT}</b></a>
<!-- ENDIF -->
</td>
<td class="header03"></td>
<td rowspan="2" class="spacertop">
<p style="padding-top:6px; margin:0;">{S_NOWTIME} </p></td>
</tr>
<tr>
<td colspan="3" class="header01a"></td>
</tr>
<tr>
<td class="header02"><span>{G_LEFTIMAGE}</span></td>
<td colspan="2" class="header_b_home">
<!-- IF S_MAIN_MENU and not S_THEMECP -->
<table border="0" cellpadding="0" cellspacing="0"><tr><td>
<div id="menu" style="float:left;">{S_MAIN_MENU}</div>
</td></tr></table>
<!-- ELSE -->
<span class="headmenu1">
<a href="{T_LINK1URL}">{T_LINK1}</a>
<a href="{T_LINK2URL}">{T_LINK2}</a>
<a href="{T_LINK3URL}">{T_LINK3}</a>
<a href="{T_LINK4URL}">{T_LINK4}</a>
<!-- IF T_LINK5URL -->
<a href="{T_LINK5URL}">{T_LINK5}</a>
<!-- ENDIF -->
<!-- IF T_LINK6URL -->
<a href="{T_LINK6URL}">{T_LINK6}</a>
<!-- ENDIF -->
<!-- IF T_LINK7URL -->
<a href="{T_LINK7URL}">{T_LINK7}</a>
<!-- ENDIF -->
<!-- IF T_LINK8URL -->
<a href="{T_LINK8URL}">{T_LINK8}</a>
<!-- ENDIF -->
<!-- IF T_LINK9URL -->
<a href="{T_LINK9URL}">{T_LINK9}</a>
<!-- ENDIF -->
<!-- IF T_LINK10URL -->
<a href="{T_LINK10URL}">{T_LINK10}</a>
<!-- ENDIF -->
</span>
<!-- ENDIF -->
</td>
<td class="spacerbottom">{G_RIGHTIMAGE}</td>
</tr>
<tr>
<td>
<img src="images/spacer.gif" width="30" height="1" alt="" /></td>
<td>
<img src="images/spacer.gif" width="220" height="1" alt="" /></td>
<td>
<img src="images/spacer.gif" width="481" height="1" alt="" /></td>
<td>
<img src="images/spacer.gif" width="49" height="1" alt="" /></td>
</tr>
</table>
<!-- ENDIF -->
</td></tr></table>
<!-- ENDIF -->
<table class="maintable" cellpadding="0" cellspacing="0"><tr>
<!-- IF S_LEFTBLOCKS -->
<td valign="top" class="blockleft" id="pe600" {B_L_VISIBLE}>
<table width="172" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top">
<img src="{THEME_PATH}/images/block_left_top.bmp" alt="" />
</td></tr></table>
<!-- BEGIN leftblock -->
<table width="192" border="0" cellspacing="0" cellpadding="0"><tr><td class="blockleft_header">
<img alt="{L_TOGGLE}" title="{L_TOGGLE}" id="pic{leftblock.S_BID}" src="{leftblock.S_IMAGE}.gif" onclick="blockswitch('{leftblock.S_BID}');" style="cursor:pointer; padding:2px 5px 0 20px; float:left;" />
<span class="block-title"><b>{leftblock.S_TITLE}</b></span></td>
</tr><tr><td><img src="{THEME_PATH}/images/block_left_shaddow.bmp" height="4" alt="" /></td>
</tr><tr><td class="blockleft" id="pe{leftblock.S_BID}" {leftblock.S_VISIBLE}>
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td>
<table width="154" border="0" cellpadding="0" cellspacing="0" style="margin:auto;"><tr><td class="content">{leftblock.S_CONTENT}</td></tr></table>
<br />
</td></tr></table>
</td></tr></table>
<!-- END leftblock -->
</td>
<!-- ENDIF -->
<td class="main">
<!-- IF IMPORTANT_MESSAGE -->
<div style="text-align:center; font-size:18px; color:#FFFFFF;">{IMPORTANT_MESSAGE}</div><br />
<!-- ENDIF -->
<!-- IF PAGE_TITLE -->
<div class="pagetitle">{PAGE_TITLE}</div>
<!-- ENDIF -->
<!-- BEGIN messageblock -->
<div class="opentable1">
<div class="option" align="center">{messageblock.S_TITLE}</div><br />
<div class="content" >{messageblock.S_CONTENT}</div><br /><div align="center">
<!-- IF S_CAN_ADMIN -->
[ {messageblock.S_OUTPUT} - {messageblock.S_REMAIN} - <a href="{messageblock.U_EDITMSG}">{messageblock.S_EDIT}</a> ]
<!-- ELSE -->
{messageblock.S_DATE}
<!-- ENDIF -->
</div>
</div><br/>
<!-- END messageblock -->
<table width="100%" class="opentable1" cellspacing="1" cellpadding="5"><tr><td align="center">{S_BANNER}</td></tr></table><br />
<!-- BEGIN centerblock -->
<div class="opentable1">
<div style="text-align:center;" id="pic{centerblock.S_BID}" onclick="blockslide('{centerblock.S_BID}');" title="{L_TOGGLE}">
<b>{centerblock.S_TITLE}</b>
</div>
<div class="option" id="pe{centerblock.S_BID}" {centerblock.S_VISIBLE}>
{centerblock.S_CONTENT}
</div>
</div><br />
<!-- END centerblock -->
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Mon Jun 22, 2009 11:19 pm |
|
That would be on the other site (xtremist-2.com) correct?
I have the latest ua.inc installed on there.. want me to post up the file from there?
Also.. Thanks, I'll try it out right now (your code)
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Mon Jun 22, 2009 11:22 pm |
|
Nope, doesn't quite work.. now, the advertisements are on the *very* top, ABOVE the header, not IN the header. It's an improvement, tho!
I appreciate your help!
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Tue Jun 23, 2009 4:28 am |
|
Hey, we're getting somewhere!
Now the advertisements are right on top of the logo, though. BUT they are in the header, where I want them.. they just need to be on the right, not on the left (that is where the logo is). Also, the background is the bluish gray, is there a way to make the background for the banner area transparent? That way only the image itself will show, and the back will show through the rest of the banner that's not filled with an image?
Appreciate it! I still don't get it, but when it's done I'm going to compare all of them so I can learn from it.
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Tue Jun 23, 2009 4:51 am |
|
Still over the site logo.. 
All it did was move the advertisement to the right side of the "field" but the "field" is still over the logo.
Also, the background isn't transparent.. how would one do that? Only thing that comes to mind is opacity=100 or alpha something.. been soo long since I hard coded anything, I forget!
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
Post subject: Re: Hardwired theme + Banners in header Posted: Tue Jun 23, 2009 4:56 am |
|
<table align="right" width="100%" class="opentable1" cellspacing="1" cellpadding="5"><tr><td align="right" style="background-color:transparent;">{S_BANNER}</td></tr></table><br />
_________________ www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Tue Jun 23, 2009 5:03 am |
|
Hmmm... I added it but it didn't work.
Also, it's still over the site logo instead of on the right.
I left it sit this time so you could view it.. soda.datsun510.com.. so you know what I'm talking about.
Is there a way to move the banners to the top right corner instead of the top left?
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
|
| Back to top |
|
 |
greenday2k


Joined: Aug 11, 2005 Posts: 484 Location: CO
|
Post subject: Re: Hardwired theme + Banners in header Posted: Tue Jun 23, 2009 5:02 pm |
|
i've messed
in the last code posted find:
back-ground-color:transparent;
and change it to background-color:transparent;
_________________ www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
 |
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Tue Jun 23, 2009 10:40 pm |
|
Ahhh.... okay. The field is now transparent, but it has a border. The border can stay, or can be removed - it doesn't matter as it will be over a black background anyways.
Now that that is taken care of, the banner is still over the site logo. So now we need to move it to the far right.
If we could align it to to bind to the far right edge of the site, that would work - since it's dynamic width.
I updated the header.html so you can see where it is right now.
soda.datsun510.com/
Just need to move the banner to the right side, not the left side.
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
Nismo


Joined: May 21, 2008 Posts: 17 Location: Southern Oregon, USA
|
Post subject: Re: Hardwired theme + Banners in header Posted: Thu Jun 25, 2009 6:04 am |
|
Not to be rude, but *bump*.
Would appreciate some assistance... almost have it done, just need to reposition the banner to the right side of the header not the left.
soda.datsun510.com - as soon as you view it you'll know what I mean!
_________________ Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder
Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1 |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|