Pagina 1 van 1
kleur van importal balk
Geplaatst: 28 apr 2005, 17:28
door richard m

ik wil de kleur van de balken zoals de user block de oranje kleur geven van mijn forum stijl hoe kan ik dat precies doen, want zoals je ziet zijn de andere balken in de forum zelf oranje maar bij de portal zijn ze anders
alvast bedankt
Geplaatst: 28 apr 2005, 17:56
door Luuk
Moet je eerst in index_body.tpl opzoeken weke class die balk heeft, staat denk ik iets van {L_VIEW_ONLINE} in.
Dan moet je in overall_header.tpl ?? dat block dezlefde class geven.
Geplaatst: 28 apr 2005, 22:52
door richard m
in index body staat dit:
{TPL_HDR1}<span class="cattitle"> <a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a>&
maar in overall header kan ik niet iets van class vinden
wat moet ik hier in de overal header precies veranderen
Code: Selecteer alles
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="Author" content="http://www.trushkin.net" />
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<link rel="stylesheet" href="{T_TEMPLATE_PATH}/style.css" type="text/css">
<style type="text/css">
<!--
th, td.th, td.spacerow { background-image: url({T_TEMPLATE_PATH}/images/cell1.gif); }
td.th2 { background-image: url({T_TEMPLATE_PATH}/images/cell1.gif); }
td.cat, td.catHead, td.catSides, td.catLeft, td.catRight { background-image: url({T_TEMPLATE_PATH}/images/cell2.gif); }
td.catBottom { background-image: url({T_TEMPLATE_PATH}/images/cell3.gif); }
td.profile { background-image: url({T_TEMPLATE_PATH}/images/post_bg2.gif); }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("{T_TEMPLATE_PATH}/formIE.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script language="javascript" type="text/javascript">
<!--
function changeImages()
{
if (document.images)
{
for (var i=0; i<changeImages.arguments.length; i+=2)
{
document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
}
}
}
var PreloadFlag = false;
function newImage(arg)
{
if (document.images)
{
rslt = new Image();
rslt.src = arg;
return rslt;
}
}
function PreloadImages()
{
if (document.images)
{
// preload all rollover images
<!-- BEGIN switch_user_logged_out -->
img0 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif');
img1 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif');
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
img2 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif');
img3 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif');
img4 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif');
img5 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif');
<!-- END switch_user_logged_in -->
img6 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif');
img7 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif');
img8 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif');
img9 = newImage('{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif');
PreloadFlag = true;
}
return true;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0053A2" vlink="#00468C" alink="#FF6633" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" onload="PreloadImages();"><a name="top"></a><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr>
<td bgcolor="#0053A2" width="100%" align="left" valign="middle"><img src="http://www.punjabibadboy.net/call%20it%20what%20u%20want.png" alt="" height="200" width="416" align="left" border="0"><table border="0" cellspacing="0" cellpadding="5"><tr><td><a href="{U_INDEX}"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="200" width="200" align="left">
<param name="movie" value="http://www.punjabibadboy.net/9999.swf">
<param name="quality" value="best">
<param name="play" value="true">
<embed align="left" height="200" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.punjabibadboy.net/9999.swf" type="application/x-shockwave-flash" width="200" quality="best" play="true">
<a href="http://webcenter.lycos.nl/?affiliatelogin=punjabibadboy&affiliatecode=ec81343b4a" target="_blank"><img src="http://syndication.webcenter.lycos.nl/resources/img/affiliate/rectangles/3stappenbutton.gif" alt="" height="60" width="120" align="right"></a>
</object></a></td></tr></table></td>
</tr>
<tr height="20">
<td height="20" background="{T_TEMPLATE_PATH}/images/btn_bg.gif" align="center" valign="top"><table border="0" cellspacing="0" cellpadding="0">
<!-- BEGIN switch_user_logged_out -->
<td><a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" onmouseover="changeImages('btn_top_login', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login_on.gif'); return true;" onmouseout="changeImages('btn_top_login', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif'); return true;"><img name="btn_top_login" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_login.gif" height="20" border="0" alt="{L_LOGIN_LOGOT}" /></a></td>
<td><a title="{L_REGISTER}" href="{U_REGISTER}" onmouseover="changeImages('btn_top_register', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register_on.gif'); return true;" onmouseout="changeImages('btn_top_register', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif'); return true;"><img name="btn_top_register" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_register.gif" height="20" border="0" alt="{L_REGISTER}" /></a></td>
<!-- END switch_user_logged_out -->
<!-- BEGIN switch_user_logged_in -->
<td><a title="{L_PROFILE}" href="{U_PROFILE}" onmouseover="changeImages('btn_top_profile', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile_on.gif'); return true;" onmouseout="changeImages('btn_top_profile', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif'); return true;"><img name="btn_top_profile" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_profile.gif" height="20" border="0" alt="{L_PROFILE}" /></a></td>
<td><a title="{PRIVATE_MESSAGE_INFO}" href="{U_PRIVATEMSGS}" onmouseover="changeImages('btn_top_pm', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm_on.gif'); return true;" onmouseout="changeImages('btn_top_pm', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif'); return true;"><img name="btn_top_pm" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_pm.gif" height="20" border="0" alt="{PRIVATE_MESSAGE_INFO}" /></a></td>
<!-- END switch_user_logged_in -->
<td><a title="{L_FAQ}" href="{U_FAQ}" onmouseover="changeImages('btn_top_faq', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq_on.gif'); return true;" onmouseout="changeImages('btn_top_faq', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif'); return true;"><img name="btn_top_faq" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_faq.gif" height="20" border="0" alt="{L_FAQ}" /></a></td>
<td><a title="{L_MEMBERLIST}" href="{U_MEMBERLIST}" onmouseover="changeImages('btn_top_users', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users_on.gif'); return true;" onmouseout="changeImages('btn_top_users', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif'); return true;"><img name="btn_top_users" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_users.gif" height="20" border="0" alt="{L_MEMBERLIST}" /></a></td>
<td><a title="{L_SEARCH}" href="{U_SEARCH}" onmouseover="changeImages('btn_top_search', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search_on.gif'); return true;" onmouseout="changeImages('btn_top_search', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif'); return true;"><img name="btn_top_search" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_search.gif" height="20" border="0" alt="{L_SEARCH}" /></a></td>
<!-- BEGIN switch_user_logged_in -->
<td><a title="{L_USERGROUPS}" href="{U_GROUP_CP}" onmouseover="changeImages('btn_top_groups', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups_on.gif'); return true;" onmouseout="changeImages('btn_top_groups', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif'); return true;"><img name="btn_top_groups" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_groups.gif" height="20" border="0" alt="{L_USERGROUPS}" /></a></td>
<td><a title="{L_LOGIN_LOGOUT}" href="{U_LOGIN_LOGOUT}" onmouseover="changeImages('btn_top_logout', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout_on.gif'); return true;" onmouseout="changeImages('btn_top_logout', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif'); return true;"><img name="btn_top_logout" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_logout.gif" height="20" border="0" alt="{L_LOGIN_LOGOT}" /></a></td>
<!-- END switch_user_logged_in -->
<td><a title="{L_INDEX}" href="{U_INDEX}" onmouseover="changeImages('btn_top_index', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index_on.gif'); return true;" onmouseout="changeImages('btn_top_index', '{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index.gif'); return true;"><img name="btn_top_index" src="{T_TEMPLATE_PATH}/images/lang_{LANG}/btn_index.gif" height="20" border="0" alt="{L_INDEX}" /></a></td>
</table></td>
</tr>
<tr height="100%">
<td align="center" valign="top" height="100%">
<br />
<table border="0" cellspacing="0" cellpadding="10" width="100%">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
{PORTAL_HEADER}
<td width="10"><img src="images/spacer.gif" alt="" width="10" height="30" /></td>
<td valign="top">
Geplaatst: 29 apr 2005, 08:50
door Paul
je moet portal_body.tpl veranderen

Geplaatst: 29 apr 2005, 17:01
door richard m
dit staat in de portal body, wat zou ik precies moeten veranderen?
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<!-- BEGIN center_blocks_row -->
<table width="100%" cellpadding="5" cellspacing="0" border="0"
<!-- BEGIN border -->
class="forumline"
<!-- END border -->
>
<!-- BEGIN title -->
<tr>
<th>{center_blocks_row.title.TITLE}</th>
</tr>
<!-- END title -->
<tr>
<td
<!-- BEGIN background -->
class="row1"
<!-- END background -->
>{center_blocks_row.OUTPUT}</td>
</tr>
</table>
<br />
<!-- END center_blocks_row -->
</td>
<td width="10"><img src="images/spacer.gif" alt="" width="10" height="30" /></td>
<td width="150" valign="top">
<!-- BEGIN right_blocks_row -->
<table width="100%" cellpadding="5" cellspacing="0" border="0" class="forumline">
<!-- BEGIN title -->
<tr>
<th>{right_blocks_row.title.TITLE}</th>
</tr>
<!-- END title -->
<tr>
<td class="row1">{right_blocks_row.OUTPUT}</td>
</tr>
</table>
<br />
<!-- END right_blocks_row -->
</td>
</tr>
</table>
Geplaatst: 30 apr 2005, 22:54
door richard m
Geplaatst: 02 mei 2005, 22:32
door richard m
kan niemand mij verder meer helpen?
Geplaatst: 03 mei 2005, 09:22
door Leipo
Zoals eerder aangegeven, de classes vervangen.
"row1" in portal_body.tpl geeft die kleur aan.
Naar alle waarschijnlijkheid moet je die vervangen voor "{TPL_HDR1}".