cercamon Posted January 5, 2015 Share Posted January 5, 2015 Hi, I'm wondering if there is any diagram that shows the relation templates, controllers and classes. Link to comment Share on other sites More sharing options...
Richard S Posted January 6, 2015 Share Posted January 6, 2015 The naming is pretty much obvious and you can separate everything by name. Link to comment Share on other sites More sharing options...
edu.glider Posted January 9, 2015 Share Posted January 9, 2015 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 More sharing options...
Richard S Posted January 9, 2015 Share Posted January 9, 2015 CategoryController and some others which includes it.This file is included in category.tpl and some other such new products etc. where product list is shown. 1 Link to comment Share on other sites More sharing options...
edu.glider Posted January 12, 2015 Share Posted January 12, 2015 Thanks Richard! I'm gonna try it! Link to comment Share on other sites More sharing options...
NemoPS Posted January 12, 2015 Share Posted January 12, 2015 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 1 Link to comment Share on other sites More sharing options...
edu.glider Posted January 12, 2015 Share Posted January 12, 2015 (edited) Thank you Nemo, to clarify it. I'll work on it soon. Edited January 12, 2015 by edu.glider (see edit history) Link to comment Share on other sites More sharing options...
cercamon Posted July 22, 2015 Author Share Posted July 22, 2015 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 More sharing options...
Richard S Posted July 22, 2015 Share Posted July 22, 2015 PrestaShop documention is more than clear to dive into PrestaShop development. http://doc.prestashop.com/ Link to comment Share on other sites More sharing options...
Recommended Posts