Monday, February 24, 2014

joomla 3.2.2 update breaks custom captcha

Joomla 3.2.2 update breaks custom recaptcha components as they need mootools. To fix just add
to the component to force mootools to load
if you're not using a component go old school and add

to your template

Tuesday, February 18, 2014

shopify minimalist theme SOLD circle

add this to product-loop.liquid snippet

    {% if product.available == false %}
    {% if settings.show_sale_circle %}
    {% endif %}
  {% endif %}

Wednesday, February 12, 2014

mysql select values from this month, this year

SELECT * FROM table_name WHERE MONTH(timestamp) = MONTH(CURDATE()) AND YEAR(timestamp) = YEAR(CURDATE())