Global variables from "page_header.php" and confir

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
User avatar
DanielWolf
Registered User
Posts: 8
Joined: Fri Jul 05, 2002 11:51 am
Location: Hamburg, Germany
Contact:

Global variables from "page_header.php" and confir

Post by DanielWolf » Sun Jul 07, 2002 4:01 pm

Hello,

i've declared some new variables in "page_haeder.php", one of them is pointing to my site's logo (i uses this variable in "overall_header.tpl"). In nine out of ten cases it works fine - but when displaying a message like "do you really want to delete...." the variables from the header are not available, so my logo is displayed as a broken link. what can i do? where do i have to declare theese variables?


thanks for reading all this,
Daniel

numerical25
Registered User
Posts: 23
Joined: Sat Jul 05, 2008 5:52 am

Re: Global variables from "page_header.php" and confir

Post by numerical25 » Mon Jul 07, 2008 3:23 am

Yea i got the same kind of situation. Im trying to declare varibles just to display text but no matter where i declare them, it doesnt appear on the site. i declared it in global_data.php, common.php, and even on index.php. doesnt want to work

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

Re: Global variables from "page_header.php" and confir

Post by Lumpy Burgertushie » Mon Jul 07, 2008 6:38 am

DanielWolf wrote:Hello,

i've declared some new variables in "page_haeder.php", one of them is pointing to my site's logo (i uses this variable in "overall_header.tpl"). In nine out of ten cases it works fine - but when displaying a message like "do you really want to delete...." the variables from the header are not available, so my logo is displayed as a broken link. what can i do? where do i have to declare theese variables?


thanks for reading all this,
Daniel
can you please give us exact details of what you have done and where.

with links to pages if needed, etc.

thanks,
robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

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

Re: Global variables from "page_header.php" and confir

Post by Lumpy Burgertushie » Mon Jul 07, 2008 6:42 am

numerical25 wrote:Yea i got the same kind of situation. Im trying to declare varibles just to display text but no matter where i declare them, it doesnt appear on the site. i declared it in global_data.php, common.php, and even on index.php. doesnt want to work
can you also give us details.

there is no global_data.php file in phpbb2 or phpbb3 that I can find.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.
Premium phpBB 3.2 Styles by PlanetStyles.net

New phpbb 3.0 support site

Post Reply

Return to “[2.0.x] MOD Writers Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests

cron