As we all know Multiple Select in HTML is a Select box where we can choose multiple values. While define multiple select by adding multiple=”multiple” like the example below – One Two Three But when we will submit data, even after choosing multiple values, $_POST will show only one entry. To get all the values… Continue reading How To Get Values Of Multiple Select In PHP
Category: Uncategorized
How To Get The Selected Theme Path In Zen Cart
To get the currently set theme’s path in Zen Cart use the following code – echo DIR_WS_TEMPLATE; This will return value – includes/templates/{your_theme_path}/
How To Create Pages In WordPress With Custom Coding
Objective Create a page in WordPress which will show the header, footer, sidebars like the rest of the site, but will allow custom coding in the main body section. So how to create this WordPress page which will allow custom coding ? 1. Go to the theme folder in wp-content\themes\{your_theme_folder} 2. Create a page with… Continue reading How To Create Pages In WordPress With Custom Coding
How To Download Magento Extensions Manually Without Magento Connect
We all know that the Magento extensions can be downloaded from Magento Connect and they have a huge collection of extensions. But the problem with this system is that the user have no control over what files are downloaded and where. Sure Magento itself is a great product. But they don’t check each and every… Continue reading How To Download Magento Extensions Manually Without Magento Connect
Zen Cart Slide Out Vertical Category Sub Category Menu Sidebox Plugin Download
Download Please download the plugin from here, hosted in the official Zen-Cart site. Plugin Description This Zen-Cart plugin creates a new side-box which shows all the active categories as well as the sub categories. At any time all the active sub categories are also loaded recursively and not only when a parent category is visited… Continue reading Zen Cart Slide Out Vertical Category Sub Category Menu Sidebox Plugin Download
How to get recent comments in WordPress explained with all the parameters
Get all the values for all the comments Suppose you want to show the recent comments for a WordPress blog. There is a ready made WordPress function for that. It is – get_comments() This function will return all the comments posted till date as an array of objects. Each object contains the following fields- [comment_ID]… Continue reading How to get recent comments in WordPress explained with all the parameters
Nested CSS
We sometimes need to give the same class different visual. Also sometimes a certain element can have different style depending on its placement. These can be achieved by using nested CSS. Lets clear it with a few example – .abc{ float:left; } .xyz .abc{ float:none;} In the above example class abc will have float:left. But… Continue reading Nested CSS
Zen Cart Blank Page Error Before Or After Installation
The problem – 1. After uploading the files and pointing the browser to the Zen Cart folder blank page is shown. 2. After installation is complete by going to the zc_install folder manually, the store front end is blank 3. Following error is shown – Warning: include(includes/configure.php) [function.include]: failed to open stream: No such file… Continue reading Zen Cart Blank Page Error Before Or After Installation
Magento – Get Product Stock Quantity
To get the quantity in stock for a particular product in Magento use the following code – $qtyStock = Mage::getModel(‘cataloginventory/stock_item’)->loadByProduct($_product)->getQty();
Magento – Show Error Report On Browser
The new versions of Magento do not show the error report on browser. Instead they are stored on separate files and the file name is shown on browser. This is a great feature which is done for safety. However while developing it becomes a little irritating to open the error files every time. So, if… Continue reading Magento – Show Error Report On Browser