jesus likes pie
07-07-2008, 05:22 AM
Alright so I have some code which outputs data from a database. It's in the member_start hook.
To test it I tried echoing the result and infact it does come out as expected at the top of the page. However, if I try and include the variable in a template so that it's outputted in the correct part of the page... it comes out blank.
How can I get templates to work with custom variables that are set from a plugin?
To test it I tried echoing the result and infact it does come out as expected at the top of the page. However, if I try and include the variable in a template so that it's outputted in the correct part of the page... it comes out blank.
How can I get templates to work with custom variables that are set from a plugin?