Blog

Work-around to fix Django 1.6 urls.defaults compatibility with thrid-party app

Posted: 7 years ago in  Python Django


Since Django 1.6, running third-party django application, you will get error "ImportError: No module named defaults" View more


Add custom attribute to customer address then use it when creating order in Magento

Posted: 7 years ago in  Magento MySQL PHP


In Magento, one customer has 2 default address, one for billing and one for shipping address. The information seem to fit most general address over the world. However, in some countries, the address structure is more complicated View more


Change media upload folder of attachment based on post type/custom post type in Wordpress

Posted: 7 years ago in  Wordpress PHP


In Wordpress, media files as images will be stored in wp-content/uploads. For website with many posts (create custom post type) / image size (create custom image size), number of images will grow up quickly and it will slow down the page load due to file lookup. View more


Customize the design of PDF invoice in Magento

Posted: 7 years ago in  PHP Magento


Generate PDF Invoice is one magento's feature. It use Zend PDF library to generate invoice. As email template, we can customize it for our purposes like adding in more informatio / redesign color and text style or logo View more


Allow normal user input specific HTML tags in BBPress forum

Posted: 7 years ago in  Wordpress BBPress PHP


When it comes to bbPress, it is popular plugin to make Wordpress site a powerful forum. View more