RSS Feed

Archive for the ‘Others’ Category

Find Out Google Feed’s fields Character Limits

March 21, 2011 by admin 1 Comment »

Here are the limits google expects for your google base feed fields

http://base.google.com/support/bin/answer.py?answer=171410

 

Install Adobe PDF Reader on Ubuntu

March 3, 2011 by admin No Comments »

Here is a command you will need to use to install Adobe PDF reader on command terminal

sudo apt-get install acroread

You can also install the reader as well as the plugin for FireFox like so

sudo apt-get install acroread mozilla-acroread acroread-plugins

You may need to restart your firefox for the plugins to take effect. (If you are using firefox currently that is!)

 

install 7zip compression type

January 7, 2011 by admin No Comments »
 sudo apt-get install p7zip
 

Moving prestashop to local machine

September 9, 2010 by admin No Comments »

Moving prestashop to another host is an easy process but can also make your head spinning especially if your site is using Smarty templates.

To move the site and make it work you only have to follow the following steps

1) Move all the files (use FTP or any other method)
2) Export and import the database to the new server.
3) Navigate to site/config/settings.inc.php and update the database details. Remember to update the __PS_BASE_URI__ as well to reflect your current settings.
4) If you are using Smarty templates, MAKE SURE you enable write permissions for the entire folder.

NOTE:
Be careful with permissions step if you are going live

 

Remove dotted border lines around active links in firefox

September 8, 2010 by admin No Comments »

Got irritated with dotted lines around active links on firefox? I did and if you ever wondered, here is how you can remove them..

a:active, a:focus {
    outline: 0
}
 

Create Official Tweet Buttons

August 26, 2010 by admin No Comments »

You can create your official tweet buttons (including) count button here

http://twitter.com/goodies/tweetbutton

 

Making sharing stuff online easier!

by admin No Comments »

Get your sharing button here!

http://www.addthis.com/

 

Vertical Align on a DIV Element Using CSS

August 25, 2010 by admin 2 Comments »

If you want to get the vertical align to work on div elements here is a nice css solution for you!

display: table-cell;
text-align: center;
vertical-align: middle;

Haven’t tested on all browsers so try it first before implementing it on the production server!

 

Buttons problems on IE browsers.

August 19, 2010 by admin No Comments »

Been having issues with link buttons on IE and found this solution that may help someone too..

Had this link button in one of the projects i have been working on that didn’t work

<a href='someurl.com'><button title='click me'></button></a>

The solution for this, which i think its a bit more clean was to use the JavaScript window.location to get around the problem on IE:

<a href='someurl.com'><button title='click me' onclick='window.location="someurl.com"'></button></a>

this worked fine and solved my issues.

You could also try one of the following options:

<input type="button" onclick="top.window.location='someurl.com'"> ( if in frame)
 
<input type="button" onclick="window.open('someurl.com')"> (To open a new window)
 

Four commands away from installing Less Css on Ubuntu!

August 17, 2010 by admin 2 Comments »

After days of torture trying to get Less CSS to work on my laptop, i then painfully found out you can actually install Less CSS in four beauty commands in less than a two minutes! :( Thanks to my mate for his Ubuntu Knowledge and Search capabilities!

Here is the code… so u don’t get lost in the bush like i did!

sudo apt-get install rubygems1.8
sudo gem install rubygems-update
sudo update_rubygems     
sudo gem install less

After install~: Run lessc styles.less to create your programmed css file!

Beauty