Author: websourceblog

Add menu item programmatically in WordPress 0

Change wordpress admin language.

WordPress is in U.S. English by default. WordPress has already been translated into many languages and all are available on wordpress site for free. WordPress also providing support for translating it in different languages....

Install imagick php extension 3

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...

Git commands 0

Git commands

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...

How to remove button text in IE7? 0

How to remove button text in IE7?

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 {...

0

How to change textbox value on blur() and focus() events in jquery?

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("");...

3

How to configure multi store in OpenCart?

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...

0

“El is null” alert message in magento 1.5.1

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...

3

Images are not appearing in magento cms editor

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...