Portal Home > Knowledgebase > Articles Database > Calling template at once
Calling template at once
Posted by AimyThomas, 10-24-2012, 02:24 AM |
Hello Again,
I am just wanted to know if we can call the Template using "require_once" at PHP?
Any views around happy to discuss.
Thanks in Advance
|
Posted by SPINIKR-RO, 10-24-2012, 03:16 AM |
What is "the Template" that you are referring to?
|
Posted by hdeshev, 10-24-2012, 04:36 AM |
You can certainly do that, but you should be careful. If that template file has been required before, require_once will do nothing and your template won't get rendered. That's a recipe for bugs that are really hard to find.
|
Add to Favourites Print this Article
Also Read