Page 1 of 1

phpBB- Redirect to homepage

Posted: Wed Jul 14, 2004 2:10 am
by g3ckO
It is possible to add extra menu on top of the phpBB page to redirect to my home page.

If possible, HOW?

Posted: Wed Jul 14, 2004 2:11 am
by feyd
edit the overall_header.tpl file.

Posted: Wed Jul 14, 2004 2:26 am
by g3ckO
can you give me little more info on how to do that.

Posted: Wed Jul 14, 2004 2:37 am
by feyd
a snippet taken from this site's template file:

Code: Select all

<td><a href="&#123;U_PORTAL&#125;"><img src="templates/subSilver/images/logo_phpBB.gif" border="0" alt="&#123;SITENAME&#125;" title="&#123;SITENAME&#125;" vspace="1" /></a></td>
			<td align="center" width="100%" valign="middle">
			<span class="gen"><strong>&#123;SITE_DESCRIPTION&#125;</strong></span> 
			<table cellspacing="0" cellpadding="2" border="0">
<tr> 
	<td align="center" valign="top" nowrap="nowrap">
	<span class="mainmenu">&nbsp;
	<a href="&#123;U_PORTAL&#125;" class="mainmenu">
		<img src="templates/subSilver/images/icon_mini_message.gif" width="12" height="13" border="0" alt="&#123;L_HOME&#125;" hspace="3" />
		&#123;L_HOME&#125;
	</a>
	
	&nbsp;&nbsp;&nbsp;
	
	<a href="&#123;U_FAQ&#125;" class="mainmenu">
		<img src="templates/subSilver/images/icon_mini_faq.gif" width="12" height="13" border="0" alt="&#123;L_FAQ&#125;" hspace="3" />
		&#123;L_FAQ&#125;
	</a>
you'll need to define the template values used, obviously..

Posted: Wed Jul 14, 2004 2:59 am
by g3ckO
TQ feyd.

Posted: Wed Jul 14, 2004 4:21 am
by g3ckO
Still cannot do it.

More help need.

I want to make a link at the top of the page that will redirect to my first (main) page of my portal.

<a href="main.php">HOME</a>

Where exactly should I put this code. Please give some explaination.

Posted: Wed Jul 14, 2004 4:24 am
by feyd
you can just put in normal html if you like..

Posted: Wed Jul 14, 2004 4:28 am
by g3ckO
feyd, please give some explaination.

How to view it at the top at the phpbb forum page to make sure the user can go back to my portal page.

Posted: Wed Jul 14, 2004 4:38 am
by feyd
swap {U_PORTAL} for your main.php or whatever
swap {L_HOME} for "HOME" (without quotes)

everything else should be already parsed by phpBB..