Non-subSilver template question
-----
| Author | Message | |
|---|---|---|
|
nza |
||
| Thu Jul 13, 2006 3:34 am Post subject: Non-subSilver template question | ||
|
I am, or rather would like to continue, using the ArtemisGreen template as the default for my forum but have changed it to subSilver until I get some kind of help with overall_header.tpl file for the Artemis template. I'm a bit of newb with this so even simple changes to the code confuse me...
Here's what I've got, I know where the area of code is that I want to change in the overall_header but I don't know how to apply the change, it looks like this; <td width="25" class="buttons-border"><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/buttons_left2.gif" width="25" height="28" alt="" /></td> <td nowrap="nowrap" class="buttons-buttons"> <!-- BEGIN switch_user_logged_out --> <a href="{U_REGISTER}">{L_REGISTER}</a> | <!-- END switch_user_logged_out --> <a href="{U_FAQ}">{L_FAQ}</a> | <a href="{U_SEARCH}">{L_SEARCH}</a> | <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> | <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> | <!-- BEGIN switch_user_logged_in --> <a href="{U_PROFILE}">{L_PROFILE}</a> | <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}{C_PM}</a> | <a href="{U_IM_LAUNCH}" target="prillian" onClick="javascript:prill_launch('{U_IM_LAUNCH}', '{IM_MAIN_WIDTH}', '{IM_MAIN_HEIGHT}'); return false" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_IM_LAUNCH}" hspace="3" />{L_IM_LAUNCH}</a> <!-- END switch_user_logged_in --> <a href="{U_LOGIN_LOGOUT}">{CA_L_LOGIN_LOGOUT}</a> </td> <td width="25" class="buttons-border"><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/buttons_right2.gif" width="25" height="28" alt="" /></td> And some parts of the above need to be replaced with; <!-- END switch_user_logged_out --> <!-- MOD: Prillian Lite --> <!-- BEGIN switch_user_logged_in --> <a href="{U_IM_LAUNCH}" target="prillian" onClick="javascript:prill_launch('{U_IM_LAUNCH}', '{IM_MAIN_WIDTH}', '{IM_MAIN_HEIGHT}'); return false" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_IM_LAUNCH}" hspace="3" />{L_IM_LAUNCH}</a> <!-- END switch_user_logged_in --> <!-- MOD: -END- --> </td> </tr> <tr> <td height="25" align="center" valign="top" nowrap="nowrap"><span class="mainmenu"> <!-- MOD: Prillian Lite --> <!-- BEGIN switch_user_logged_in --> <a href="{U_IM_WO_LAUNCH}" target="prillian" onClick="javascript:prill_launch('{U_IM_WO_LAUNCH}', '{IM_ONLINE_WIDTH}', '{IM_ONLINE_HEIGHT}'); return false" class="mainmenu"><img src="templates/subSilver/images/icon_mini_register.gif" width="12" height="13" border="0" alt="{L_WHO_IS_ONLINE}" hspace="3" />{L_WHO_IS_ONLINE}</a> <!-- END switch_user_logged_in --> <!-- MOD: -END- --> So I'm really just unsure of where/how to make the necessary changes. Thanks for any help/advice in advance. Cheers ~ nza. |
||
|
Thoul |
||
| Thu Jul 13, 2006 5:03 am Post subject: re: Non-subSilver template question | ||
|
It looks like you were on the right track. Give this a try. It should fit with the template more nicely.
Code: <td width="25" class="buttons-border"><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/buttons_left2.gif" width="25" height="28" alt="" /></td>
<td nowrap="nowrap" class="buttons-buttons"> <!-- BEGIN switch_user_logged_out --> <a href="{U_REGISTER}">{L_REGISTER}</a> | <!-- END switch_user_logged_out --> <a href="{U_FAQ}">{L_FAQ}</a> | <a href="{U_SEARCH}">{L_SEARCH}</a> | <a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a> | <a href="{U_GROUP_CP}">{L_USERGROUPS}</a> | <!-- BEGIN switch_user_logged_in --> <a href="{U_PROFILE}">{L_PROFILE}</a> | <a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}{C_PM}</a> | <a href="{U_IM_LAUNCH}" target="prillian" onClick="javascript:prill_launch('{U_IM_LAUNCH}', '{IM_MAIN_WIDTH}', '{IM_MAIN_HEIGHT}'); return false">{L_IM_LAUNCH}</a> | <a href="{U_IM_WO_LAUNCH}" target="prillian" onClick="javascript:prill_launch('{U_IM_WO_LAUNCH}', '{IM_ONLINE_WIDTH}', '{IM_ONLINE_HEIGHT}'); return false">{L_WHO_IS_ONLINE}</a> <!-- END switch_user_logged_in --> <a href="{U_LOGIN_LOGOUT}">{CA_L_LOGIN_LOGOUT}</a> </td> <td width="25" class="buttons-border"><img src="{T_TEMPLATE_PATH}/images/{TPL_COLOR}/buttons_right2.gif" width="25" height="28" alt="" /></td> |
||
Page 1 of 1