Jump to content

Relations between templates, classes and controllers


Recommended Posts

I can't find which controller "control" the product-list.tpl. Anyone knows?

 

Actually, I want to pass a variable to the product-list.tpl. It doesn't matter where the user came from whether the search form whether the category tab.......whether wherever.

Link to comment
Share on other sites

Some templates, like the one you mentioned, or breadcrumb.tpl, are also loaded within others. Some have direct relations (ProductCOntroller => Product class and product.tpl) but not all of them. It's almost always that obvious in any case, as Richard said

  • Like 1
Link to comment
Share on other sites

  • 6 months later...

Hi, still have the doubt on how is supposed that some newcomer in Prestashop should get a clear view on relations between classes and controllers.

To me it's not so obvious how to introduce some young coder to quickly get the idea on coding modules in Prestashop.

 

In wordpress and drupal, newcomers can dive into coding right away. There's an extense base of knowledge, and multiple charts showing relations between files.

Just a quick example: http://i.stack.imgur.com/RDPZt.png

 

Any ideas or resources to ease the begginings in Prestashop?

Link to comment
Share on other sites

×
×
  • Create New...