Post subject: How to add Portals to your forum on the left
Posted: Thu Apr 03, 2008 4:20 pm
Site Admin
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 ) 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!!!!!
Post subject: Re: How to add Portals to your forum on the left
Posted: Tue Apr 15, 2008 3:08 pm
Site Admin
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:
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
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...