Archive for May, 2008

Pink Simplicity Theme

Simply Pink is a theme designed to be used when a more feminine look is needed.  The background is a light pink with slightly darker accent images.  All text is dark red.

Screen Shots

 

Changing the Font

Several of the headers are graphics built on the fly from a GPL licensed true type font called Penguin Attack.  If you would like to change the font you just need to upload your TTF file to the /font/ folder under the theme directory and name the file font.ttf. 

Be sure that it's allowed to use the font for commercial purposes.  I had a very hard time finding a font that fit the style I was looking for that was free for all uses.

More about the font

There is a script called drawfont.php in the /images/ folder of this theme that handles building the graphic files.  It is something I'm working on as a plugin for a future version of ProofBuddy so it is included in this theme more as a test than anything.  But this theme just wouldn't look right with boring sans serif fonts.

Download

This theme is available in the Theme Browser or you can download it below. 

189.5 KiB - 855 downloads
Categories:Themes
Tags:, , , ,

18% Gray Theme

A new theme is available for download named 18% Gray.  It has a dark gray background with red accents.  It also has an example of a custom page opening in a popup.

Screen Shots

Screen shot of the main image page

Full image page

 

Shopping cart page

 

Editing the custom page

After your client logs in to this theme there will be a link titled About Us across the top right.  You will want to edit the about_us.tpl file that's included in the download so that the page has the information you want it to have.

You can also change the text of the link from About Us by editing the theme language file.

If you don't want the About Us page at all you can just delete the about_us.tpl file from the theme directory and the link will not show.

Thanks

I want to thank Richard May of Richard May Photography for sending me a screen shot of the theme he created.  It was the screen shot below that inspired 18% Gray.

Download

101.3 KiB - 1,181 downloads
Categories:Themes
Tags:,

Daily News version 2

A new version of the Daily News theme is available for download.  It includes several changes that have been requested by users, and rather than overwriting the current version I decided to have both available for download.

Changes

  • Each item in the add to cart section is now wrapped in CSS classes to make it easier to customize.
  • An example custom page is included. The example is for a list of package contents, but it can be easily edited to display whatever you would like.
  • The color, grayscale, and sepia links; which were left out of the previous version; are included.

99.1 KiB - 894 downloads
Categories:Themes
Tags:, ,

Opening PayPal in a new window

A couple of users have asked how to have the PayPal button open a new window instead of opening in the same one.  It's fairly easy with a little bit of JavaScript.

Open the thanks.tpl file from whatever theme you're using.  Look for a line with <!--paypalbutton--> in it.  Below that line add the following.

 

<script type="text/javascript">
for (var i=0; i<document.forms.length; i++)
    {
    if (document.forms[i].action.match(/paypal\.com/))
        {
        document.forms[i].target = "_blank";
        }
    }
</script>

 

What this does is loop through any forms (the PayPal link is an HTML form with several hidden fields and one graphic submit button) on the page and if they are submitting to paypal.com the target is changed to _blank which makes the link open a new page.  Any other forms (search boxes, email subscription fields, etc) will not be affected.

Why?

So, why do you need this?  The user that first asked was running ProofBuddy inside a frameset on their site.  For some reason PayPal has issues with this and throws a very nondescript error when you try to access from a framed page.  She needed a way to break out of the frameset.

Some people also just like the idea of opening PayPal in a separate window so that their site is still open.

Categories:Development Blog
Tags:, , ,

About sepia threshold

If you're using ImageMagick for your conversions you have an option titled Sepia Threshold.  If you're unhappy with the sepia conversions in ProofBuddy changing this setting may give you the look you're after, but it can be a little confusing so we've added a page to the FAQ with more information on the sepia threshold setting.

Categories:Development Blog
Tags:, , ,