{Less} is more?

{Less} - I recently read an interesting (and well-reasoned) summary of the workflow for building themes by Pierre-Alain Leboucher on the Prestashop blog that had a reference to {less}. I don't mind admitting that I love reading about new technologies and techniques, and predictably a google search later and I was browsing various sites, and getting more and more hooked on the concept by the minute.

1.4 Plugins Revisited - Part 2

Extending Prestashop Theme Plugins - In this article we look at a mechanism to allow theme developers to include their own smarty plugins seamlessly into their themes, with the code contained within the theme distribution itself.

1.4 Plugins Revisited - Part 1

Plugins Evolved A while ago when I wrote the original article on Prestashop plugins I promised a follow-up to allow it to be used with smarty 3. Unfortunately work has kept me from a proper write-up so I'm only now getting around to publishing the next version. I had intended adding the ability to easily extend the functionality on a per-theme basis, but since the demand for some usable code right now has been so great I've decided to publish this in two parts.


Display module output anywhere

I came across a post on the Prestshop forum recently that was discussing how to display the contents of a single module on a page. The example proposed worked, but it seems to me that it worked only through sheer luck rather than design as all that was being done was to display a smarty .tpl file. The smarty variables required for the module used in the example were all included as global values, so it worked, but most other modules would need to be able to execute their underlying hook code in order to display anything meaningful.

Customising Prestashop Module Templates

Please don't edit those originals! I came across this little gem a while ago on the Prestashop forum, and thought I would draw attention to it in the hopes that it will help someone, somewhere.

Using FirePHP (FireBug) with Prestashop

Debugging can be such a pain sometimes... I've been using FirePHP for some time now on my CodeIgniter projects and recently while I was looking at doing some cool things with the product data returned by the Category::getProducts() function it struck me that it would be nice to be able to easily see exactly what data was returned.