Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Tuesday, August 25, 2009

Paypal troubleshooting: Add to cart button


Secure Shopping Cart
© Photographer: Ptoone | Agency: Dreamstime.com





Paypal offers web masters a fast, secure and free service to add a full e-commerce shopping cart to your site. Sometimes when you implement a paypal add to cart button on your online store the link takes you directly to the home page of paypal and not to your online shopping cart where it should be.

For a solution you do not need to change the button, just slightly change the source code. This is a common problem with Dreamweaver CS3 and involves taking away the number next to the "cmd values" and the "hosted_botton_id." Once you have located the words "cmd" and "hosted_button_id" in your code editor, look to see if there is a numeric number directly after each word. It could be a 2, 3 or 5. If you see a number next to both words - simply delete and refresh/save the html.

By doing this you will not be editing the paypal code which is not recommended by paypal, you are simply deleted two numeric characters that shouldn't be there. For some reason Dreamweaver seems to add the digits when the html code is pasted in to the site.

Read this article on Associated Content.


Adobe Education Store

Tuesday, June 30, 2009

How to install a Favicon on your website


A favicon is the little icon that appears on the left of the domain on your browser window. All well known websites have one and here are four quick and easy steps to ensure you can have one too. You can see ptoone.com uses a black and white "pto one" icon. 

1. Make an image that is 16 pixels by 16 pixels exactly.

2. Save it as or rename it favicon.ico.

3. Upload it to your server in the same directory as your main index page.

4. Edit the code of your index page, somewhere between the and tags, insert the line , and remember to put your own domain name in.

Done! you may have to refresh or clear your cache and then your little icon will appera next to your domain. It will also be saved whenever someone bookmarks your site.

I assume the name 'favicon' come from putting 'favorite' and icon together. Some other names for the favicon include; website icon, shortcut icon, url icon, or bookmark icon.