Question About Inclusion In Page Header »  Show posts from    to     

Icy Phoenix


Old Support Topics - Question About Inclusion In Page Header



spydie [ Fri 14 Sep, 2012 22:03 ]
Post subject: Question About Inclusion In Page Header
I´m working on a medal mod plugin, but i need to include/parse something in the page header, a function now i believe.

what is the best way to archieve this .


Mighty Gorgon [ Sat 15 Sep, 2012 11:55 ]
Post subject: Re: Question About Inclusion In Page Header
What do you need to include?

Can you please be more precise?

Anything you add to template var will be parsed in header anyway if you add it before full_page_generation.

For example you can add this on your page wherever you like before full_page_generation:
Code: [Hide] [Select]
$template->assign_vars(array(
'MEDAL_CONTENT' => $medal_content,
)
);


Var {MEDAL_CONTENT} gets then parsed on any template file which is included, being overall_header or any other.


spydie [ Sat 15 Sep, 2012 15:20 ]
Post subject: Re: Question About Inclusion In Page Header
that sortet my probs , thanks


Joshua203 [ Sun 16 Sep, 2012 12:36 ]
Post subject: Re: Question About Inclusion In Page Header
marked solved




Powered by Icy Phoenix