I'm not sure I understand what you mean. If you pasted it in the SHOWTHREAD template and it works, why not just paste it where you want it? If you mean that you want it to be inserted by your plugin code so that you don't have to edit the template manually, then it can be done but it gets a little tricky. You basically need to do a str_replace() on the cached template before it's used. Also you can't put in template "curly brace" tags that way, you would need to insert a string.
|