Entries by admin

WordPress issue : Could not create upgrade directory

Today I got strange issue while update wordpress site. This gave me error like this “Could not create upgrade directory”. Firstly I thought this was the issue of directory permission so I did set upgrade directory 777 mode but I was unsuccessful. Then tried to delete upgrade folder and created new one, for me that […]

Increase PHP’s File Upload Limit Using .htaccess file

How do we increase upload file limit through .htaccess file. Here I am giving you quick trick. Create .htaccess file(If you have already .htaccess file on the server then no need to create it just update that file) using your favorite text editor like notepad++ and put below code on that file : php_value memory_limit […]

How to include JQuery on your WordPress theme

WordPress comes with JQuery (It is used in the dashboard) so you don’t need to download a new copy of JQuery to your WordPress server. For accessing JQuery on WordPress site, you need to paste below code on your header.php file within the and tags: When you will add this JQuery automatically will be called […]

Javascript Confirm Delete

How to use a javascript confirm box to ask the user if they want to delete <script> function confirmDelete(deleleteUrl) { if (confirm(“Are you sure you want to delete”)) { document.location = deleleteUrl; } } </script> <a href=”javascript:confirmDelete(‘delete.php?id=1’)”>Delete</a> Another way <a href=”delete.php?id=1″ onclick=”return confirm(‘Are you sure you want to delete?’)”>Delete</a>

How to add .SWF files to the html webpage

Here I am sharing flash code for embedding flash in the website. Hope this will help many more…. <object width=”400″ height=”220″ align=”middle” classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://fpdownload.macromedia.com/pub/shockwave/cabs /flash/swflash.cab#version=7,0,0,0″ id=”player1″> <param value=”your_flash_file.swf” name=”movie”> <param name=”menu” value=”false”> <param name=”quality” value=”high”> <param name=”wmode” value=”transparent”> <param name=”bgcolor” value=”#FFFFFF”> <embed width=”400″ height=”220″ align=”middle” src=”your_flash_file.swf” menu=”false” quality=”high” bgcolor=”#FFFFFF” name=”player” wmode=”transparent” allowtransparency=”true” allowscriptaccess=”always” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”> […]

Web browser css hacks – firefox, IE, chrome, safri, Opera

Inline Hack for IE * (star) can be used as the inline hack for both ie6 and ie7. For Example: Syntax: .selector{*property:value;} .logo{*margin-left:10px;} IE6 browser inline Hack _ (underscore) can be using only for ie6 For Example: Syntax: .selector{_property:value;} .logo{_margin-left:10px;} Firefox inline style content:””/*” can be used for firefox only where IE cannot recognize it. […]

Fascinating problem with .htaccess and addon domain

Recently I got website project from my client and he was interested to do install the site on addon domain. I installed the site successfully but were not to able to update the website content from admin panel. There was an issue of restriction and/or permission in the root domain’s .htaccess. So I thought I […]

Display banners for category page in Magento

Display banners for category page is very easy in magento. This banner will be shown at the top in middle column. It’s very easy functionality provided by magento itself. You just need to know how to do this that all. Lets walk through the set of 2 quick and easy steps. Presuming that you have […]

How to move Magento website to another domain in the same server

There’s a few things you need to do once you have your staging domain name all set up. 1. Copy the database. Export it to a file, create a staging database, Open exported database file with any well know editor(like notepad++) and replace current domain “currentdomain.com” to new domain “newdomain.com” and import this dump file. […]

How to set Google Analytics in Magento Store

Google Analytics is a free Google service which allows the webmasters and web site administrators to monitor their web sites’ traffic and conversion ratio. Magento supports two types of tracking: 1-Page View Tracking: Lists the origin from which your web store visitors linked to your store. 2-E-commerce Tracking: Lists the customers that make purchases and […]