Come2Daddy
03-25-2009, 05:28 PM
Hello every one,
Actually I tried to make an HTML table, & I succeeded :D
so I paste the table code at the end of the header, and it shows wonderfull
but I want it to be extractable so I can distribute it as a plugin/product alone,
hence I created a new template, as I called this template: my_template
then I created a plugin, & choosed the hook location to be: parse_template
this plugin contains this fragment of code:
eval('$my_template = "' . fetch_template('my_template') . '";');
but my template didn't appeare, I added this variable at the end of the header: $my_template
but still didn't work.
So can any one help me by telling me, how to let this template be shown???
Actually I tried to make an HTML table, & I succeeded :D
so I paste the table code at the end of the header, and it shows wonderfull
but I want it to be extractable so I can distribute it as a plugin/product alone,
hence I created a new template, as I called this template: my_template
then I created a plugin, & choosed the hook location to be: parse_template
this plugin contains this fragment of code:
eval('$my_template = "' . fetch_template('my_template') . '";');
but my template didn't appeare, I added this variable at the end of the header: $my_template
but still didn't work.
So can any one help me by telling me, how to let this template be shown???