Page 1 of 1

Include .tpl inside of .tpl

Posted: Tue Oct 18, 2011 8:28 pm
by exactweb
I have tried using the basic PHP include methods although this does not work. How would I include a file inside of a template.tpl file.
E.g I have separated the breadcrumbs into breadcrumbs.tpl that I can then include inside of each .tpl containing duplicate code, my breadcrumb layout is the same on each page.

Re: Include .tpl inside of .tpl

Posted: Tue Oct 18, 2011 10:34 pm
by JAY6390
I've actually answered this already on your stack overflow question...
http://stackoverflow.com/questions/7807 ... ide-of-tpl

Re: Include .tpl inside of .tpl

Posted: Tue Oct 18, 2011 10:58 pm
by exactweb
Thank you Jay, sorry for double posting. Reply at stackoverflow.
JAY6390 wrote:I've actually answered this already on your stack overflow question...
http://stackoverflow.com/questions/7807 ... ide-of-tpl