Date Addition and Subtraction in PHP
While development, you might need to add or subtract date from other date. It’s very easy via PHP date and strtotime functions. Following are few examples. Add 2 Months in current date. You can...
While development, you might need to add or subtract date from other date. It’s very easy via PHP date and strtotime functions. Following are few examples. Add 2 Months in current date. You can...
Wordpress make it easy to categorize your website content by the use of Custom Post Type UI Plugin. You create your own post types and categorize them by Custom Taxonomy. Download and install Custom...
I like Git a lot. It is very much powerful then SVN. You can’t commit or merge if there are changes on same branch on server, this will prevent files to overwrite. See following...
Negative text-indent isn’t working in IE7 to remove button text but you can apply text-transform: capitalize with text-indent property. Following is code snippet. HTML code: <input class="button" type="button" value="Button Text" /> CSS: input.button {...
Let following text field. <input type=’text’ name="textbox" id="textbox" /> By following statement you can set its default value. $("#textbox").val("Any Value"); Use focus() event to change value when you focus on input field. $("#textbox").focus(function(){ $("#textbox").val("");...
Many of you might use opencart for online store development. Opencart can also be used for multi store with single admin; you can manage both stores with same admin. I am using wamp so...
When I tried to insert widget on cms page then there was error message el is null. This is because of a forward slash is missing in lib/Varien/Data/Form/Element/Editor.php on line number 202. Copy that...
I worked on a magento project on which cms images were not appearing in editor and also on front end. CMS editor was getting image urls like http://your-websitelink.com/media//imagename.ext because of double slashes (//) images...
MS Access Driver in ODBC Drivers List Open your system’s control panel; then find and click on Administrative Tools There will be new window opened. Right click on Data structures (ODBC), open properties. Change...
Open application/config/config.php file. Find following statement in this file. $config[‘index_page’] = ‘index.php’; And remove index.php from above statement, this will look like following. $config[‘index_page’] = ”; Create .htaccess file in application directory and paste...
More