Quote:
Originally Posted by RLShare
You would have to create a plug-in that fetches the first template data and stores it in a variable and then place a reference to that variable in the second template
But if the template is just a template, why not just copy the code over in place of the variable
|
The information is added to each week and I want one place where I can add the winners so I don't have to enter it several times when I want to use that information.
It is used in 4 other templates.
I'll look up how to create that template data to store in a variable. Thankyou.
--------------- Added [DATE]1216764708[/DATE] at [TIME]1216764708[/TIME] ---------------
I've found that I need to include something like this:
$includedhtml = implode('', file('path/to/this/file/myfile.html'));
What do I do to create an array from a template?