portalogy.myfabforum.org

It is currently Fri Sep 03, 2010 7:35 pm

News Fader
Current Time

Login

Login  •  Register


Top posters
admin 23
test 1

Search
Welcome
Font bb code test
Dual Portal on subSilver2 based themes
Dual Portal on proSilver based themes
cms_latest.tpl
Portalogy Ruling!
cms_login.tpl
cms_fader.tpl *updated*
ProSilver Modules READ ME!
cms_search.tpl

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to add Portals to your forum on the left
PostPosted: Thu Apr 03, 2008 4:20 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jan 27, 2008 2:04 pm
Posts: 23
On slot1 is the vistaX template for phpbb3 and as you can see, I'm currently testing a new structure for forum admins to add what ever portal components they want, the phpbb2 guides code for some reason despite being sound coding(by me :shock: ) wasn't liking phpbb3, so have ran off to the proverbial drawing board and have some code which is undergoing some testing on various templates, so please sit tight, this WILL come!!!!!


Top
 Profile  
 
 Post subject: Re: How to add Portals to your forum on the left
PostPosted: Tue Apr 15, 2008 3:08 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Sun Jan 27, 2008 2:04 pm
Posts: 23
This code is a generic base, if this base doesn't work with a set template, please post the template name here other templates will have their own threads should they need it.

Make sure you've copied the installed template to a template slot to allow you to edit the template.


1-> Template Part
Open overall_header.html and scroll down to the page opening <body> tag:

So you get something similar to this:
Code:
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="wrapheader">

   <div id="logodesc">


Now add this in between <a name="top"></a> and the first <div> block:
Code:
<div id="lh-col"><br />
{MYFF.TOPPOSTERS}
</div>
<!-- end of left column -->
<!-- right column -->
<div id="rh-col">


this should now be something like this:
Code:
<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>

<div id="lh-col"><br />
{MYFF.TOPPOSTERS}
</div>
<!-- end of left column -->
<!-- right column -->
<div id="rh-col">

<div id="wrapheader">

   <div id="logodesc">

Submit to save......

Now open up your overall_footer.html and scroll to the bottom of the file you should now see something like this:
Code:
</body>
</html>


Now between the closing body tag and the last div block add in one div block:
Code:
</div>


So your footer should now be more like this:
Code:
</div>

</body>
</html>

Submit to save......


2-> Style Part
Open up your css file and add the following:
Code:
#lh-col{
   position: absolute;
   top: 10px;
   left: 10px;
   width: 180px;
   border: 2px solid #000000;
   background: #c0c0c0;
   color: #333333;
   margin: 0px;
   padding: 0px;
   height: 400px;
}

#rh-col{
   margin: 20px 20px 20px 220px;
   border: 2px solid #000000;
   background: #ffffff;
   color: #333333;
   padding: 20px;
}

Submit to save......
The borders and background can be removed to allow the template to suit the style.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
Forum Articles
Welcome
http://news.bbc.co.uk/1/hi/world/europe/8375326.stm
Font bb code test
Hello to you all, enjoy the bb code font replacement

Code:
[size=150][comic_sans_ms][color=#0080FF]Hello to you all, enjoy the bb code font replacement[/color][/comic_sans_ms][/size]
Dual Portal on subSilver2 based themes
Open overall_footer.html and find this: <!-- We request you retain the full copyright notice below including the link to www.phpbb.com. This not only gives respect to the large amount of time given freely by the developers but also helps build interest, traffic and use of phpBB3. If you (honestly) c...