• Home
  • About
  • Contact
  • Photo Gallery
  • Resume
  • Subscribe         Connect             
Blue Orange Green Pink Purple

Archive for the ‘Code’ Category

You can use the search form below to go through the content and find a specific post or page:

Aug 06

My hResume Plugin

I’ve had a few requests in the past week for a copy of my enhanced hResume plugin, so I decided it was finally time to post it to my site. The hResume plugin you will find below was used to generate my entire resume as seen on the Resume page.

Before I get into the details, much of the credit should go to the Spur Team who built the original hResume plugin.

Background

When I first started thinking of adding my resume online I thought for sure I’d be writing a plugin from scratch. In fact I did start down that path. After some frustration, I went searching for a better solution. When I first found the hResume plugin I was extremely pleased with its ease of use and functionality. However, there were a few bells and whistles I was looking for in my resume.

In particular, I was looking for a more interactive and modern web experience, as that is part of my profession. A tag cloud seemed like perfect model to use for displaying experiences on a personal resume. Each experience is displayed in the typical tag format with higher experience levels indicated by larger font, typical to a tag cloud. Each experience item can be selected and additional deatils are faded in below - nice rich UI.

Next I was tired of constantly updating my resume in numerous places online - first in Word, then copy-paste to my site, etc. I wanted the ability to manage my resume through a web interface, in particular through my personal website admin area. Then after I was done editing, I wanted the application to automatically spit out a Word and PDF document. Unfortunately, I have yet to find a FREE Word PHP library (go figure, it is Microsoft after all), but was able to find a fairly decent PDF library, fpdf. I integrated the library into the plugin so that a PDF document is generated each time the resume is updated.

Setup/Integration

The plugin is your typical WordPress plugin. Copy (ftp) the plugin up to your WordPress plugins directory and proceed as your normally would. The administration is done in the My hResume section within Settings.

I have not spent the time to make the available skillset tags dynamic, so if you’re not a developer, and wish to change the skills options, you’ll need to edit the my-hresume.php file. It’s a simple change and should be able to be made by all. Basically, in the my_hresume.php file you’ll need to change/add/delete the tags (see below). You can search for EDIT - it should be around line 27.

// EDIT
$myresume_options =
    array(
        'tag_title'     => 'Technical Skills',
       
        // Skills for each tag, broken out in details page (can add/remove)
        'skills' => array(
        // Key          => Display Name
        'software'      => 'Software',
        'language'      => 'Language',
        'db'            => 'Database',
        'os'            => 'Operating System'),

Download Now (927.3 K)
my-hresume.zip

Please reach out and leave a comment if you integrate this plugin into your site. Feel free to leave a link.

Mar 10

Color Paper Ajax Tabs Fix

Background

For the most part, I have been very happy with the Color Paper wordpress theme. As with anything free, there are usually a few gotchas. The broken ajax tabs were the only technical problem I’ve had with the theme thus far. Since I haven’t spoken with the author, I wasn’t sure what the initial intentions were for the ajax tabs.

It looks like the tabs can be setup to support true AJAX functionality. However, if you look into the sidebar.php file you’ll notice the theme itself includes the HTML contents directly within the initial response, rather than fetched with client side JavaScript via AJAX calls. For me, the additional overhead of loading all three tabs isn’t that bad, and therefore I have decided not to fully implement a true AJAX tab control.

With that said, the below steps will get your side bar tabs up and working in the Color Paper WordPress theme. Kudos to the author and Smashing Magazine for yet another great theme.

As with any javascript, you can choose to either include it in a separate file or directly within the HTML. For several reasons, I would recommend always including the majority of your javascript in an external, browser cacheable, file and reference it from your HTML.

Recommended Fix (external file)
  1. Download ajax.tabs javascript file.
  2. Upload the javascript file to your theme’s js folder (wp-content/themes/colorpaper/js).
  3. Include a reference to the javascript library in header.php as indicated below, or by other javascript include mechanism if installed, such as wp_js.
<script
     type="text/javascript"
     src="<?php bloginfo('template_directory');?>/js/ajax.tabs.js">
</script>
Quick Fix
  1. Copy the below javascript into header.php.
  2. <script language="JavaScript" type="text/js">
    jQuery(document).ready(function()
    {
            jQuery('ul.tabs a.tab').click(function() {
                   
                    jQuery('div#' + jQuery('ul.tabs a.active').attr('title')).toggle();
                    jQuery('ul.tabs a.active').toggleClass('active');
                                                   
                    jQuery(this).toggleClass('active');
                    jQuery('div#' + this.title).toggle();
                    return false; // cancel event bubble
            });
    });
    </script>
  3. That’s it.

Stay tuned over the next few days for another Color Paper theme enhancement guaranteed to increase page load times and improve the overall user experience of your site.Hint: large images.

Drop me a line if you have any questions or problems implementing the fix.

Personal blog of Simon Wosko
    • Categories
    • Tags
    • Archives
    • Code
    • Gadgets
    • Personal
    • Uncategorized
    • Web Site
    • WordPress
      colorpaper family Gadgets iphone pics plugin site tech theme WordPress
    • May 2010
    • August 2009
    • July 2009
    • March 2009
    • February 2009
  • Artisteer - CMS Template Generator
    GameDuell Inc. - Online Games
     
  • Me Around the Web
    • 7/20/10
    • Awesome Hockey Fight
    • 7/14/10
    • What Code Igniter authentication library is best? - Stack Overflow
    • 7/13/10
    • DocSavage's appengine-search at master - GitHub
    • 7/10/10
    • I'm Yours (Live On Earth Version) by Jason Mraz
    • 7/8/10
    • Watson: Data Management: Databases & Organizations, 5th Edition ...
    • 7/7/10
    • MoneyMutual – Money Mutual & Montel Williams endorsed cash advance loans
    • Elance | Outsource to freelance professionals, experts, and consultants - Get work done on Elance
    • 7/6/10
    • Flash Components - ActiveDen
    • 7/4/10
    • Loving Wings (Live) by Dave Matthews & Tim Reynolds
    • 6/28/10
    • Apperang
    • 6/23/10
    • Online Subscription Management - Billing & Payment Solutions
    • 6/21/10
    • SnowTigerLib -- PHP Freelancer API Wrapper class
    • 6/17/10
    • Pay What You Want For Kiddix and Support Safe and Open Computing For Kids - Through June 30!
    • Hot Potato
    • 6/15/10
    • WordPress - Community Ubuntu Documentation
    • 6/14/10
    • TheFind - Shopped & Found
    • BrightEdge | SEO Platform | Search Engine Optimization
    • 5/24/10
    • swosko: It's flyers time. Bring on da Hawks!
    • 5/14/10
    • swosko: #flyers are inspiration to the entire city. We can all overcome anything if we work hard at it! Let's go Flyers!
    • 5/11/10
    • State Radio – The Diner Song
    • 99 Red Balloons (Live) by 7 Seconds
    • 3/1/10
    • Young Forever by Jay-Z
    • 1/21/10
    • Hostile Gospel, Pt. 1 (Deliver Us) by Talib Kweli
    • 11/11/09
    • Stay by Back Door Slam
    • 7/18/09
    • swosko: Hershey is great, well minus the hour long lines. Still a good time though. Time for some chocolate from the factory.
    • 7/14/09
    • swosko: Found a use for the iPhone 3.0 voice recorder http://bit.ly/P2Gjg
    • 7/9/09
    • swosko: Is enjoying a day without commuting on 76. Now if I could just get around 202.
    • 7/4/09
    • swosko: Successful fourth - big wheel races, carnival games and a healthy dose of fireworks.
    • 6/22/09
    • swosko: not in marketing but come on "now topped with real fruit" - really, "real" fruit, sounds so good (yo quiero taco bell)
    • 5/30/09
    • Boys In The Back Room by Chuck Brodsky
    • 5/15/09
    • swosko: Is excited to see Google Squared in action
    • 5/2/09
    • swosko: Pleasantly suprised by Wegman's sushi. Mm spicy tuna.
    • Simon
    • 4/16/09
    • swosko: 30 days and counting till this Hedge Fund reporting project is over - the beauty of consulting.
    • 4/15/09
    • The Idea Of You (Live 2006) by Dave Matthews Band
    • swosko: Back on the twitter wagon. Let's go Flyers!
    • 4/8/09
    • We're Going To Be Friends by Jack Johnson
    • 3/11/09
    • Sunday Morning Coming Down by Me First &The Gimme Gimmes
    • 3/5/09
    • Kate Is Great by The Bouncing Souls
    • 3/1/09
    • Simon
    • 2/24/09
    • I'm Yours by Jason Mraz
    • Steal My Kisses by Ben Harper
    • Breakdown (feat. Jack Johnson) by Handsome Boy Modeling School
    • 2/13/09
    • Blacklist by The Briggs
    • 1/23/09
    • Simon
    • 1/22/09
    • Simon
    • 1/12/09
    • Recently (Live) by The Dave Matthews Band
    • 1/7/09
    • Old School Rules (feat. Talib Kweli) by Danger Doom
    • 1/6/09
    • Hip Hop by Dead Prez
    • 1/4/09
    • Simon
    • 12/12/08
    • Howie Day – Numbness for Sound
    • Jimmy Eat World – Call It In The Air
    • The Allman Brothers Band – Midnight Rider
    • Maroon 5 – This Love
    • Oasis – Cast No Shadow
    • Death Cab for Cutie – Steadier Footing
    • Radiohead – Bones
    • Muse – Fillip
    • Gorillaz – Monkey Racket (Man Research)
    • 10/9/08
    • I Can by Nas
    • swosko: Preparing to listen to the wise words of one of our certified SCRUM coaches.
    • 10/2/08
    • swosko: Still getting over the high from just watching the phils kick butt at citizen's bank park. Amazing.
    • 9/27/08
    • swosko: Kickin' it with Kieran and the Lil' Kickers
    • 9/24/08
    • swosko: Nice change of pace - migration during normal business hours.
    • 9/15/08
    • swosko: Thoroughly enjoying the game.
    • 9/11/08
    • swosko: Can't believe people still use VBA
    • 9/5/08
    • After Tonight by Justin Nozuka
  • Recent Articles
    • Survivor No More
    • My hResume Plugin
    • iPhone 3.0 Has a Use
    • Springtime 2009 Photos
    • Color Paper Ajax Tabs Fix
    • Wosko.us Launch Party
  • Search


  • Subscribe

    Are you more comfortable receiving updates via email? No problem! Use the below form to receive email updates.

    Enter your email address:

    Delivered by FeedBurner


  • Powered by 1 & 1 Shared Hosting

    Custom built Content Delivery Network Powered by Google App Engine

  • Home
  • About
  • Contact
  • Photo Gallery
  • Resume

© Copyright Wosko.us: Personal blog of Simon Wosko. All rights reserved.
Designed by FTL Wordpress Themes brought to you by Smashing Magazine

Back to Top