K2: use different images sizes for each category
navigate to administrator/components/com_k2/models/category.php replace the two liens below with :)
Make four columns on grid view instead of three columns
Make four columns on grid view instead of three columns
How to create a Random Featured Product list on home page in Magento?
If you want to show products from a specific category on your home page you can do this simply with on your home page which works fine.. however, if you…
Magento – How to create a special price (sale) page? (with new products first)
I've created a Magento site for a client who wants to have a special price page, wherein she could put products having special price/discounted price.. Requirements: app/code/local/Mage/Catalog/Block/Product/List/Special.php Magento backend -…
Change default directory page
Most probably you have been wondering how the Webserver decides which page from your site to use as a main/default page of your site. There is a directive named DirectoryIndex…
Prevent Script Execution
You can disable scripts being run in the directory of your choice by adding the following code to your .htaccess file in that directory: You can replace the file types…
Magento Cron Job
On your cPanel: Advanced -> Cron Jobs Scroll to "Add New Cron Job" Where "/home/your-directory/public_html/cron.php" is the path for the cron job file ///////////// uncomplete ////////////// php5-cli -f /home/USERNAME/public_html/cron.php Source:…
Magento page Title not showing for some pages
Magento page Title not showing for some pages like contact us, rss feeds add the following code on the xml layout:
Override Inline Styles with CSS
Thank our lucky stars, we CAN override inline styles directly from the stylesheet. Take this example markup: We can fight that with this:
- Go to the previous page
- 1
- …
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- …
- 25
- Go to the next page