Log in to check your private messages 
Username: Password:   
  howtodoit.myfastforum.org
  Walkthough guides for myfreeforum phpbb 2 forums
Index  FAQ  Search  Memberlist  Usergroups  Profile

Text
Text
Friends
MYFF Support Forum
HOWTODOIT (PHPbb3)
portalogy
CGArts
ANNOUNCEMENTS
Complete List of templates Available
Please Read First Before Editing your template
Permissions
Admin Index
Sticky Articles
Latest Posts
Friends

Start | Stop
Latest Articles
Jump to:  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks
Author Message
Symon
Guide Legend
Guide Legend



Joined: 11 Jun 2006
Posts: 911


Location: Berkshire,England
FLAGS
Add Comment
Show Comments
PostPosted: Wed Jul 05, 2006 9:08 pm  Reply with quote

Please remember to use the Editor account before making any template changes

Second you must have all ready a template you can edit.

If you have not done this please read HOWTODOIT

Ok all that done you now goto Your admin panel --- 3. Styles --- Portal Settings

You will now see a screen that looks like this




If you do not already see a portal named LATEST then (if you do then goto Step 6)

1.Click on the Blank box icon that looks like this

Now you see a screen like this





2.Add LATEST to the name

3.And then what you want in the Title.

4. Click Create New Portal

5. Now goto admin panel --- 3. Styles --- Edit Templates/Logos -- the template you wish to edit (EG myff_howtodoit1)--- Submit

Now look at the bottom in the area marked Choose Portal template File to Edit use the drop down bar and find

cms_latest.tpl

And add the following code

Code:
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline" align="center">
<!-- BEGIN switch_latest_title -->
  <tr>
   <th colspan="1" width="150" height="25" class="thTop" nowrap="nowrap">{L_COMPONENT_LATEST}</th>
  </tr>
<!-- END switch_latest_title -->

<!-- BEGIN topics_latest -->
  <tr>
   <td class="row1" colspan="1" height="28"><span class="topictitle"><a href="{topics_latest.U_LINK}" class="topictitle">{topics_latest.TOPIC_TITLE}</a></span></td>
  </tr>
<!-- END topics_latest -->
<!-- BEGIN posts_latest -->
  <tr>
   <td class="row1" colspan="1" height="28"><span class="topictitle"><a href="{posts_latest.U_LINK}" class="topictitle">{posts_latest.TOPIC_TITLE}</a></span></td>
  </tr>
  <tr>
   <td valign="top" ><span class="postbody">{posts_latest.MESSAGE}</span></td>
  </tr>
<!-- END posts_latest -->


</table>



6.You Can Change The bit below in bold in admin panel --- 3. Styles --- Portal Settings --- LATEST

Code:
[LATEST]
title=Latest Articles
count=10
return_chars=200
show_title=1


title= the name you wish to see as the header
count= This is how many you wish to see in the list

return_chars= this is the number of letters that will appear in the boxes anything over this number will be replaced by ---

Now you have done that you have to add


Code:
{MYFF.LATEST}



Into cms_index_body.tpl or where ever you wish it to appear

View user's profile Send private message Visit poster's website FACEBOOKSTEAM
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    howtodoit.myfastforum.org Forum Index » Portal Hacks


 
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.
 
Create your own free forum | Buy a domain to use with your forum