Undoubtedly, this is the easiest way to add a red asterisk (*) sign to a required field label in a form. Here’s HTML part of the form. <div class=”required”><label for=”FirstName”>First Name</label> <input name=”first_name” maxlength=”50″ type=”text” id=”FirstName”></div> <div class=”required”><label for=”LastName”>Last Name</label> <input…
Database date between query build file in CodeIgnitor administrator
Here’s the path to DB file in CodeIgnitor admin end which contains query related stuff. Like building order, qhere and select blocks. One may want to do some debugging in this file. In this file i need to make no…
jEdit showing Connect to FTP Server window on start error fix
Does your jEdit file editor show you “Connect to FTP Server” window every-time you start it? And then if you cancel it and then try to load your bookmarks window or try to connect to a FTP connection through FTP…
Changing Currency Symbol in Wp E-commerce
There are two possible ways to do this. You have access to database. For example through phpMyAdmin. Find the table wpsc_currency_list (with or without prefix) and edit the desired country row. You need to edit symbol and/or symbol_html entries accordingly
The container2 edit thing in Magento catalog product view page
I can see that many asked the same question at magentoforums but i don’t think this is satisfactorily answered there. I am not sure where could i find the solution and then tried to find out for myself. Here’s the…
Moving Magento installation from one server to another
In my case i had to configure an “installed & working” copy of Magento in my development server (localhost) for development purpose. As a new comer in Magento, i had to do some r&d in order to make it working…
Creating a random string in PHP
Here’s a very useful function to generate a random string in php. I use this function quite often especially while working in core php projects.
Creating new virtual host while using Xampp in Ubuntu (Linux)
I need this stuff quite often. Every time i need to create a new virtual host in Ubuntu i have to google/search to find this solution as i cannot remember these paths properly. I am posting it here for quick…
Working on ANZ-egate payment method for WP-Commerce Plugin
Working on ANZ-egate payment method for WP-E-commerce plugin (which is completed and here is the link to download). Helpful resources: http://getshopped.org/resources/docs/get-involved/writing-a-new-payment-gateway/ Looking at Paypal Express Checkout and Google Checkout merchant class There are certain issues so i strongly discourage using…
Hiding page title only on product pages of WP-ecommerce plugin while showing in others
Here’s a small tip on how to hide (not display) page titles of WP-ecommerce product pages while showing normal pages titles as usual. In fact i wanted to not display titles, i.e. 1. Products Page and 2. Product Details page.