Quote:
Originally Posted by simonhind
now i need the data to appear below that so i need the data from $whattoecho to appear below that
|
You need to calculate $whattoecho in a plugin that's called when the forumhome page is being displayed. It doesn't do any good to have it in an admincp script - you can't register it to a template from there. If you can build $whattoecho in the forumhome_complete plugin, then that's what you want to do. If there's no way to do it from there, then you'd have to figure out a way to save it in the database and read it back in when you need it.
If you do have the value in the forumhome_complete plugin, if you're using a template hook thenyou don't need to register the variable.