CodeIgniter
Codeigniter: Set Default Controller
Navigate to application/config/routes.php you will find a line like set your controller name whatever you want like:
Navigate to application/config/routes.php you will find a line like set your controller name whatever you want like:
By default, the index.php file will be included in your URLs: First Enable Your Apache server rewrite_module enable, And Create a .htacces file in your root folder with the following code:
Suppose you hav a url like this: and you need the color_id use the following code :
Suppose you have an array like this: If you need to insert above data into 3 different tables named product_door_type, product_door_design , product_door_color : in your controller:
Sometimes we need to validate an array of input elements: For example – Now we will use jquery validation plugin jquery.validate.js for validating the form. The condition will be that user will have to choose field_name from each dropdown. The Read more…
Way 1 : Using Admin panal To remove the toolbar from frontend, Navigate to Users > Your Profile. Scroll down to “Toolbar” and Uncheck “Show Toolbar when viewing site.” Save the setting by clicking update profile button at the bottom. Read more…
Autocomplete Controller Autocomplete Model Autocomplete View Autocomplete Custom.js
Create a small module to save mata details automatically: 1.app/etc/modules/Sushant_Meta.xml 2. app/code/local/Sushant/Meta/etc/config.xml 3.app/code/local/Sushant/Meta/Model/Observer.php
Go to downloader/lib/Mage/Archive/Helper/File/ in your Magento directory and edit the Gz.php file. You need to replace: with and also: with