[eluser]mDonchev[/eluser]
Hi all
,
I'm getting deeper and deeper and here comes my next question:
I have a template files for my website.
They are all in the view folder.
Creation of the output is a serious calls to the template parser collecting different html portions and then I'm combining them with the content I need in the controler.
My question is: Where I should put this collecting different html portions of the whole website as a code, since its used on every controler in the website?
Is there a better place like making it into the constructor of a model and then autoload that module? So that I have the template ready to be used everywhere in the application?
THanks
Martin