Page 1 of 2

Portal Tag

Posted: 17 Oct 2011, 17:20
by Kaycee
Let me thank you for the simple portal. Everything was fine except this tag that is appearing around {Portal}. What can i do to remove it?
I also want to remove Forum Name Portal on top welcome message.

Portal Tag

Posted: 17 Oct 2011, 18:43
by Stoker
you need to do the language edit for the language you use.

Portal Tag

Posted: 18 Oct 2011, 16:06
by Kaycee
Kindly help me take a look. Can i post my link for you to assist?

Portal Tag

Posted: 18 Oct 2011, 16:12
by Stoker
Sure, you can post a link. But its not necessary.
According to the instructions you need to ad some code to the language/en/common.php
You need to ad the same to your language common.php
If you are danish it would be: language/da/common.php

Portal Tag

Posted: 18 Oct 2011, 17:33
by Kaycee
Fine. What code? my link: www.naijamarriage.com

Portal Tag

Posted: 18 Oct 2011, 17:35
by Stoker
Read the install instructions. Its all there.
You need to add some code to language/en/common.php

Portal Tag

Posted: 19 Oct 2011, 20:01
by Kaycee
I have added this to common.php with no change on portal page header.// Portal
$lang = array_merge($lang, array(
'PORTAL' => 'Portal',
'VIEW_PORTAL' => 'Viewing Portal Page',
));


I just want this bracket {portal} go away on the page header.

Portal Tag

Posted: 19 Oct 2011, 20:21
by Stoker
Yes, and if you add that code to language/your language/common.php it will output Portal instead of { PORTAL }.
Remember you need to do this for all the languages you have installed.

Portal Tag

Posted: 19 Oct 2011, 21:16
by Kaycee
The tag was remove when added it to en-us. But that was with a bug.
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4591: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4592: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4593: Cannot modify header information - headers already sent by (output started at /language/en_us/common.php:1)

Portal Tag

Posted: 19 Oct 2011, 21:21
by Stoker
Sounds like you have added it AFTER this ?> instead of before.