-
Magento tip: Number of products in category, subcategories of a store
I had need today of counting the total number of products in a category and all its subcategories in one of the magento stores that New Internationalist runs. It took a little while to write the code so I am putting it out there in case anyone else has the same problem. Most probably my future self. …
- On:
-
Tool: Get thumbnail images for youtube videos
Here is a small tool for grabbing the thumbnail image for a youtube video — something I sometimes need to do and always have to DDG or Google. There is a very helpful StackOverflow answer, which it is straightforward to implement in Javascript (have a look at the source code of the page).Upd …
- On:
-
Allow mixed https/http content on Iceweasel/Firefox 23 and above
Since version 23, Firefox has started blocking mixed content — pieces of an HTML page that are delivered over an insecure, unencrypted connection when browsing an SSL-encrypted page. Now this is probably the right thing to do. Most of the time. And there is a subtle little shield thingum …
- On: