Wednesday, January 16, 2013

problem with having to press " ' quotation key twice to get it to show up

After having some work done on my Dell laptop I had the problem of problem with having to press " ' quotation key twice to get it to show up. And then sometimes odd foreign symbols would appear instead of quotations or apostrophes.

I found a fix online after enough time of being annoyed by it.


  1. control panel
  2. regional and language settings
  3. language tab
  4. change from us  - international to us
  5. remove the international option down below
  6. click save
  7. restart pc
and bam! problem i have been having for months is gone! thank goodness

Sunday, April 8, 2012

Extra vertical space underneath forms

Often html forms will default to add space below the submit buttons. You must fix this with css. See below:

style='margin-bottom:0;'  add this to your form

ie

<form style='margin-bottom:0;'>dfsdfsddf</form>

Tuesday, March 27, 2012

How to remove index.php from Magento URLs using .htaccess


1) Login to admin section by using the URL http://domain.com/index.php/admin
2) then go to “System >> Configuration >>Web >> Search Engines Optimization”
Use Web Server Rewrites : YES
3) Go to “System >> Configuration >>Web >>Secure”
Use secure URL Frontend: YES (Optional)
4) Then create the .htaccess file under your the magento installed folder.
If the magento installed under document root ( /home/username/public_html) then add follogig rules into .htaccess file
<IfModule mod_rewrite.c>RewriteEngine On
RewriteBase 
/RewriteRule ^index\.php$ - [L]
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
. /index.php [L]</IfModule>
and If the magento installed under /shop or directory then add the following rules into ” /home/username/public_html/shop/.htaccess ” file.
<IfModule mod_rewrite.c>RewriteEngine On
RewriteBase 
/shop/RewriteRule ^index\.php$ - [L]
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
. /shop/index.php [L]</IfModule>


Finally found this solution here:
http://www.magentocommerce.com/boards/viewthread/22199/P15/

Monday, March 26, 2012

How to Remove Orders & Returns Link from Magento

  1. Go To app/design/frontend/default//layout/
  2. Comment Out the fourth line in this snippet




<default>
<reference name="footer_links">
<block name="return_link" type="sales/guest_links">
<action method="addLinkBlock"><blockname>return_link</blockname></action>
</block></reference>
</default></themename>

Thursday, March 22, 2012

How To Remove Breadcrumbs from a Page in Magento

Under custom design add the following code to the layout update:

<remove name="breadcrumbs">

This will work for both category pages and cms

Wednesday, March 21, 2012

How to Add Links to Top Links in Magento Modern Theme

edit header.phtml

where you see this

getWelcome()?> | getChildHtml('topLinks') ?>

edit it to

getWelcome()?> | getChildHtml('topLinks') ?> | putyour link here

for example

getWelcome()?> | getChildHtml('topLinks') ?> | <a href='about.php'>About Us</a>

Thursday, March 15, 2012

PHP Tutorial :: Part 1 :: Intro to PHP

  • How to create a php file
    • name the file xxx.php (xxx being whatever you want)
    • enclose any php coding on the page with <?php to start and ?> to end
  • How to insert text or html in a part of the php file that is enclosed in the <?php and ?> tags
    • echo "putwhateveryouwantinhere";
    • for example:: 
      • echo "<center>Here is some text and <img src='blah.jpg'> that was an image</center>";
  • How to include another php file inside your php file
    • you would want to do this if there is a bit of code you use over and over on different pages
    • you will either use include or require - require will cause it to fail if it cant find it
    • for example
      • include "includes/header.php";
      • require "includes/navigation.php";
  • What is a php variable
    • a php variable is a variable that you apply a value to and use in equations, allowing for dynamic websites
    • a php variable is denoted by the $ sign in front of a word
    • for example
      • $age
      • $name
      • $username
  • How to declare or assign a php variable
    • you will use the equal
    • for example
      • $age = "23";
      • $username = "cooldude23";
  • How to pull information from a database
    • first you have to connect to the database
      • $dbh=mysql_connect ("localhost", "insertdatabaseusername", "insertpassword") or die ('I cannot connect to the database because: ' . mysql_error());
      • mysql_select_db ("insertdatabasename");
    • next you have to throw a query at the database
      • $query = "SELECT * FROM tablename WHERE username='sally'";
        $result = mysql_query($query)
        or die ("Couldn't execute query.");
    • next you have to format the way the query will show up, like in this example with a while loop
      • while ($row = mysql_fetch_array($result))
        {
        extract($row);
    • next you will want to print what you want from this loop
      • echo "<h2>Rows :: $variablefromdb</h2><br><br>";
    • finally you will want to close the while loop
      • }
    • that will print all of the variablefromdb values from that table when the username is sally

Friday, February 10, 2012

Clip It with Clipix!

Have you heard about the new way to organize your internet experience? I just found out about it recently and signed up for it myself. Perhaps I cheated, but what I did was connect with Facebook. Do you know how long it took me to sign up? Less than 3 minutes. And in the end I am left with a pretty cool organizational tool.

You can clip items from the web and save them into your Clipix account for later viewing and for sharing with friends. Personally, my favorite thing to clip is recipes and things that I would like to buy. You, however, can use it for anything from saving funny comics, to books, to restaurants you want to try or movies that you would like to see. It works out like a global wishlist for any website on the net. Below is a screenshot from the last thing I added to my wishlist!

The best part is that they have an iPhone app. So you can be on clipix anytime, even when youre sitting in class or avoiding the word on your desk.

I highly recommend that you go to clipix and sign up for an account. It will only take a moment or two. Go ahead and leave a comment below on what you would use clipix for! 

Promoted Post
Visit Sponsor's Site

Monday, February 6, 2012

Walgreens Pharmacy Savings Club

This is a Sponsored post written by me on behalf of Walgreens for SocialSpark. All opinions are 100% mine.

I recently found out that my local Walgreens Pharmacy has its very own prescription savings plan. The best part is that it is on sale and heavily discounted right now, so it may be something you want to get on board with before the price goes back to normal. The Prescription Savings Club at Walgreens is a program that wil,l discount more than 8,000 brand-name prescriptions and all generic medications. This program also will give you a discount on flu shots, on pet prescriptions, and even on nebulizers and any diabetic supplies. As if that wasn't enough you will get bonuses when you purchase Walgreens brand products and even on the photofinishing services.

You can stay up to date on these and other great sales at Walgreens by following Walgreens on Twitter and by liking Walgreens on Facebook. The current sale they are offering for this savings plan is only $20 per person or $35 for your whole family. If you get the family program you, your spouse, your kids, and even your dog will be covered! If anyone in your family is a diabetic or has even just one recurring prescription, then this plan will pay off for you. Check it out at your local pharmacy!

Visit Sponsor's Site

Related Posts Plugin for WordPress, Blogger...
Web Design & Marketing - Click and get an instant quote on your project