PDA

View Full Version : How do I put this php code in a templeat?


DrewM
08 Feb 2006, 19:55
I want to put the fowling code in a templeat


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


I tried a plugin but it only displays at the top.

harmor19
08 Feb 2006, 20:12
I'm not sure what template you want it in but you put the code in the plugin that is most appropriate and add a variable to it.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Now take the variable "$news" and place it where you want it in the template.

DrewM
08 Feb 2006, 20:48
thanks!