PayPal integraion for Zenphoto - zenPayPal

zenphoto, resources, How-To — Ebrahim @ 12:39 pm

zenPayPal - A Zenphoto plugin that allows selling custom size/color prints using PayPal.

Features:

  • Sizes/Prices easily customizable.
  • Prices auto-update based on selection (sizes / color).
  • Picture Title + Size + Color becomes the Item/Product name during checkout.

Just update your PayPal UserID in paypal.php, Line 2. Thats all!

Demo:
Demo 1 (Basic) - Demo 2 (customized)

Download:
zenPayPal.zip 2 KB (1,764 bytes) - Installation instructions Included

If this helps, great! Let me know in the comments. :-)

———

UPDATE: zenPayPal.v0.15 replaces the plain “Buy Now” button with an “Add to cart” feature.

Move Word Back/Forward in Firefox (OS X)

Mac, OS X, How-To — Ebrahim @ 1:20 pm

UPDATE: Get the keyfixed firefox 3 final here.

StarryHope’s excellent KeyFixer for Firefox 2 (and here’s a patch for Firefox 3) fixes your Home/End keys.

However, to make your text navigation more “Windows” like, you might want to also change your default modifier keys (Alt) for Move/Select a Word Left/Right to ‘Ctrl‘.

Here’s how to do it:

1. Get the KeyFixer.

2. Load the dmg and save “keyfixer_firefox” to Desktop.

3. Right-Click “keyfixer_firefox” (on your desktop) and choose “Show Package Contents”.

4. Naviagate to Content > Resources.

5. Replace platformHTMLBindings.xml with this one.

Done!

Home/End KeyFixer for Firefox 3

Mac, OS X, How-To — Ebrahim @ 5:48 pm

UPDATE: Get the keyfixed firefox 3 final here.

Here’s how to patch Firefox 3 to make the “home” and “end” keys work like they work in other OS.

1. Close Firefox (If open).
2. Browse to Applications > Firefox
3. Right Click > Show Package Contents
4. Browse to Contents > MacOS > Chrome
5. Rename/Remove toolkit.jar and replace it with this (toolkit.jar) one.

Done! :-)

Tested on Firefox 3.0b2

All Credits to StarryHope for making the original version.

Custom Image for Reset button, without Javascript

How-To, CSS, Design — Ebrahim @ 2:24 am

Several solutions for applying a custom image to a ‘RESET’ button already exist, but there is better (and easier) way to do it I believe, without Javascript and only a few lines of CSS.

UPDATE: “text-indent” doesn’t seem to work in IE. Check the updated code below.

Button Image:
Reset Button Dimensions: 62 x 22 pixels

HTML Markup:

1
<input class="reset_button" type="reset" value="" />

CSS:

1
2
3
4
5
.reset_button {background:url(../img/reset_button.gif) no-repeat; /* Define Image Path */border:0;width:62px; /* Define Image Width */
 
height:22px; /* Define Image Height */
 
}

Now, lets see it in action:

Hope it helps!

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2008 EzzyEnough