Post by rsimoesr » Sun Nov 02, 2008 7:20 pm

Hi Guys

Can you help me.

I need to know if Smarty (.tpl) is the php template engine of opencart ???

I don't understand very much, how this is work.

Thanks

Newbie

Posts

Joined
Tue Oct 21, 2008 9:31 pm

Post by david.gilbert » Sun Nov 02, 2008 8:01 pm

Templates are utilized based on a universal layout file (layout.tpl) then customized modules and content template files.

Have a play with the default template to learn more :)

Professional Website Services - http://www.davidmgilbert.com/


Active Member

Posts

Joined
Sun Jan 06, 2008 5:02 pm
Location - Mount Compass, South Australia

Post by Qphoria » Sun Nov 02, 2008 11:29 pm

To answer the question, opencart doesn't use Smarty, but the design is just to call php variables set from the code within the surrounding html.

Controller - Sets the variable to the view
View - gets the variable for display

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 19 guests