Your Portal Version: 2.0.2
Your phpBB Type: Premodded phpBB
MODs installed: Yes
Your knowledge: Beginner
PHP Version: 3.0.13
What have you done before the problem was there?
N/A
What have you already tryed to solve the problem?
N/A
Description and Message
Hey all.. curious as if I could add some links that would fit inbetween the header, and the middle part of the portal..
I want the links only to show up when someones at the portal, and when users go to the forum itself index.php you won't see the link, that will be written out.
please see picture
Click on view image.. text got cut off cause it's so huge!
Now, I had the link to the forum in the header, but when at the forum itself, the link was on ever header which I don't want.
Thanks
Adding Links To Portal Page In Between Header (Hard Coding)
-
Topic author - Valued Contributor
- Posts: 66
- Joined: 10. December 2015 03:03
Re: Adding Links To Portal Page In Between Header (Hard Codi
Set it so in the overall_header.html:
Code: Select all
<!-- IF SCRIPT_NAME == "portal" -->your links<!-- ENDIF -->
Gruß Udo
-
Topic author - Valued Contributor
- Posts: 66
- Joined: 10. December 2015 03:03
Re: Adding Links To Portal Page In Between Header (Hard Codi
I was actually there last night.. I added a donate button and such.. I don't want those links to be followed through out the website.
/forum/portal.php if i'm there I'd like to see links in between the header, and middle box.
Now, when I'm not there... and I'm here: forum/index.php I don't want to see those links in the middle of the page the white part.
So, pretty much I might have to just edit portal.php?
/forum/portal.php if i'm there I'd like to see links in between the header, and middle box.
Now, when I'm not there... and I'm here: forum/index.php I don't want to see those links in the middle of the page the white part.
So, pretty much I might have to just edit portal.php?
Re: Adding Links To Portal Page In Between Header (Hard Codi
if your using board3 2.1 maybe a custom block with html code it in would do. it will only show on portal and can be set as a "top" block so it is above all portal blocks AND below overall header.
Creating board3 website? check the sites out below for board3 compatible extensions
Talonos: Pretereo stormrage EU OFFLINE!
Talonos: Pretereo stormrage EU OFFLINE!
-
Topic author - Valued Contributor
- Posts: 66
- Joined: 10. December 2015 03:03
Re: Adding Links To Portal Page In Between Header (Hard Codi
Thanks for the help guys I got help from the phpbb forums here's the coding if you want to add some to your site
using your ftp program, download:
prosilver/template/portal/portal_body.html
using a good text program, open the file and find:
Code: Select all
<table id="portal-body" cellpadding="0" cellspacing="0" border="0" width="100%">
right above that on new line, add this:
Code: Select all
<div style="width: 100%;">
<div style="text-align:center; font-size:12px;">
<a href="http://link1.com" >Link 1</a> <strong>‹</strong><a href="http://link2.com" >Link 2</a> <strong>‹</strong><a href="http://link3.com" >Link 3</a> <strong>‹</strong><a href="http://link4.com" >Link 4</a>
</div>
</div>
using your ftp program, download:
prosilver/template/portal/portal_body.html
using a good text program, open the file and find:
Code: Select all
<table id="portal-body" cellpadding="0" cellspacing="0" border="0" width="100%">
right above that on new line, add this:
Code: Select all
<div style="width: 100%;">
<div style="text-align:center; font-size:12px;">
<a href="http://link1.com" >Link 1</a> <strong>‹</strong><a href="http://link2.com" >Link 2</a> <strong>‹</strong><a href="http://link3.com" >Link 3</a> <strong>‹</strong><a href="http://link4.com" >Link 4</a>
</div>
</div>