Links on header

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
taimurkazmi
Registered User
Posts: 45
Joined: Fri Feb 20, 2009 6:45 am

Links on header

Post by taimurkazmi »

I wish to place my other directories and websites links on header of the forum, is there any MOd or manual change ?

User avatar
COD3M4ST3R-X
Registered User
Posts: 2269
Joined: Sat Aug 02, 2008 5:47 am
Location: Lahore,Pakistan

Re: Links on header

Post by COD3M4ST3R-X »

“Need and struggle are what excite and inspire us.”

User avatar
Lumpy Burgertushie
Registered User
Posts: 67046
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Links on header

Post by Lumpy Burgertushie »

all of that is just not necessary.

simply add your html links to the menu bar in the overall_header.html file

find this:

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
copy it and paste it right under the original like this:

Code: Select all

<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
now, edit one of them to have your new link like this:

Code: Select all

<li class="icon-faq"><a href="http://yourlinkhere.com" title="yourlink">Your Link</a></li>
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
If you want a different icon, then find the one you want, upload it to the server and remove the class="icon-faq" and put in a link to your icon image in the normal way.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

LaetusAtheos
Registered User
Posts: 58
Joined: Tue May 23, 2006 11:31 am

Re: Links on header

Post by LaetusAtheos »

I'm getting an error while trying to make the edit in common.php per the last step:
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3730: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3732: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3733: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3734: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
here's the part of the code i'm editing...it seems to be what I should have done in the last step:

Code: Select all

	'default_dateformat'	=> 'D M d, Y g:i a', // Mon Jan 01, 2007 1:37 pm

'NAME'                  => 'Name',
'NAME_EXPLAIN'          => 'View the name page',));

?>
It also did not work this way:

Code: Select all

	'default_dateformat'	=> 'D M d, Y g:i a', // Mon Jan 01, 2007 1:37 pm

'NAME'                  => 'Name',
'NAME_EXPLAIN'          => 'View the name page',
));

?>
Other than that, it works and my image shows. What did I do wrong?

Edit:

I figured out that i need to get something that will do file encoding UTF8 without BOM. However, the topic where i found that information linked to content that no longer exists. So, what do I use to save my file?

Edit: found the info through a google search. Here's the solution if anyone has this issue http://www.ktuk.net/phpBB3/viewtopic.php?f=32&t=3835 Apparently I've never had to edit a language file before otherwise I would have already known this.
Last edited by LaetusAtheos on Wed Apr 15, 2009 1:46 am, edited 1 time in total.

narqelion
I've Been Banned!
Posts: 7235
Joined: Sat Dec 13, 2008 5:00 pm
Contact:

Re: Links on header

Post by narqelion »


Locked

Return to “[3.0.x] Support Forum”

cron