Browsers give events different execution priority. Here’s our take at using Vue’s custom events on input components. tldr: Here’s a fiddle. That sounds trivial, but trying to catch the native event in an app execution can be a pain, especially when dealing with user interaction on input fields. Here’s how we used Vue.js reactivity handle the change […]
Normally the JQuery Mobile Widget Panel re-positions the header and footer of the page relatively. Here is how to leave fixed the header and footer of a JQuery Mobile Application and move just the content when displaying a panel. A solution is to overwrite a method of the panel widget object in a separate js file, like […]
Magento prototype validation fix for decimal numbers.
Closures are one of the fundamental building blocks of functional programming techniques. A Closure is a construct that permits to bind the definition of a function together a particular scope, normally implemented via anonymous functions. They are particularly important, for example in the implementation of event callbacks. Let’s see how they work in three different […]
How to setup a page showing the “special price products” in Magento. First step: Create a new page named “Specials” (or whatever you want) in Admin->CMS->Pages and insert into “Custom Layout XML” field this code: <reference name=”content”> <block after=”-” type=”catalog/product_list” name=”offerte.new” alias=”offerte” template=”catalog/product/specials.phtml”> <action method=”setProductsCount”><count>15</count></action> </block> </reference> select your layout (2, 3 columns ) […]
This wordpress website is powered by the amazing bootstrap responsive wordpress theme from 320press, that I personally thank for the great work. Our goal was to render a professional-like website with wordpress and at the same time achieve to have a responsive layout on phones and tablets, so we installed the theme and all works […]
In Magento 1.7 and earlier versions, when you enable the “Add Store Code to Urls” feature in Configuration->Web panel there are two minor bugs that affect your web store. Changing language (store view) in frontend produce a 404 error Download links of product options file in backend does not work: redirect you to […]
In the last days we digged into deeps of Tripadvisor API adding a wordpress widget to our Koh Samui directory project: samui.samuiweb.net Until now did not have time to package the function as a wordpress plugin, besides can share the work done. First of all: exists already a good plugin for wordpress. But it lacks […]