|
Text
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



Joined: 11 Jun 2006
Posts: 909
Location: Hampshire,England

Add Comment
Show Comments
|
Posted: Sat Sep 15, 2007 12:19 pm |
 |
|
Please remember to use the Editor account before making any template changes, If you have not made an editor account yet please read HERE
Secondly you must have all ready made a template you can edit.
If you have not done this please read HOWTODOIT
PLEASE read this post before you do any editing for this code.
http://howtodoit.myfreeforum.org/...component=content&topicid=673
Ok all that done now goto
admin panel -- 3. Styles -- Edit Templates/Logos
Now open up your template using the drop box marked Choose Template to Edit for example myff_howtodoit1 and using the top drop box called Choose Forum template/javascript/css File to Edit find
viewtopic_body.tpl
1. Ok you now need to find the second
And place this code straight afterwards.
| Code: | <!-- BEGIN postrow -->
<!-- IF S_BLOGVIEW == 1 && postrow.POST_NUMBER == 1 -->
<div class="forumbg forumbg-table">
<div class="inner"><span class="corners-top"><span></span></span>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr>
<td width="150" align="left" valign="top" ><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<td width="100%" height="28" valign="top" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
</tr>
<tr><td><h2><a name="{postrow.U_POST_ID}"></a>A Blog by - {postrow.POSTER_NAME}</h2><br />{postrow.POSTER_AVATAR}</td></tr>
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table>
<span class="corners-bottom"><span></span></span>
</div></div>
<!-- ENDIF -->
<!-- END postrow --> |
2. You should now see a block of code something like this.
| Code: | <tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> </span></td>
</tr> |
You need to replace that with
| Code: | <!-- IF S_BLOGVIEW != 1 -->
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> </span></td>
</tr>
<!-- ENDIF --> |
3. Now look for the SECOND | Code: | | <!-- BEGIN postrow --> | and after it place
| Code: | | <!-- IF S_BLOGVIEW != 1 || postrow.POST_NUMBER > 1 --> |
4. Find the last | Code: | | <!-- END postrow --> | and place afterwards
You should now see a difference once you have clicked on the view comments link like below.
Before edit
After Edit
And That Is HOWTODOIT
|
|
| |
|
 |
|
|
|
 |
|
 |
|
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
|
HOWTODOIT was designed and built by Symon Field Creator Of ☆ ☆ FunnyWorld ☆
HOWTODOIT© Symon Field 2006,2007,2008 Powered by phpBB Group © 2001,2005.
|
|
|
|