Quote:
Originally Posted by memobug
I will click install so I don't forget to install this VERY USEFUL hack. Now I need to let my mind wander to wrap around the potential.
Q1 - will it (can it) overwrite an existing template?
|
I don't *think* so (I haven't tried). EDIT: It does over-write itself (each time it runs it "updates" the template it points to.
Quote:
Q2 - does it put the template in ALL styles?
|
Yes.
Quote:
Q3 - You say "load a php file" does that mean it could execute the file and load its output, or will it just load in the raw php code?
|
I'm fairly sure you could evaluate it from the phpinclude_start template with
PHP Code:
eval(fetch_template('TEMPLATE NAME', -1, 0));
Where TEMPLATE_NAME is the template you loaded in.
Quote:
Q4 - Screenshots? (of course I am just pulling your leg!)
|
http://www.enworld.org/forums/news.php executes code pulled in this way - specifically the ENWorld store on the right.