• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Pulling Template Into A Variable

Brent W

Well-known member
I have a template I want to manipulate in someways. Lets call it template_one. How can I grab the contents of that template and put it into a variable?

Brent W

Well-known member
I am not sure my question was worded right or even what I need.

What I am trying to do is send the contents of a template, after all the code has been parsed within the template, through an api and then hold the result in a variable that I will then send on to be passed on into another template.

This is to make it so that the end user can easily edit the template to fit their needs and then have it processed by the api and get the results on a page.

Thoughts on this? Am I looking at it the wrong way?