.htaccess resource
October 21, 2011 at 9:17 pm | Blog, Web | No comment
.htaccess can be a very powerful tool, but it’s hard to remember all that can be done. This site has a lot of info
October 21, 2011 at 9:17 pm | Blog, Web | No comment
.htaccess can be a very powerful tool, but it’s hard to remember all that can be done. This site has a lot of info
August 14, 2011 at 7:43 am | Blog | No comment
So my friends and I took a trip to the river today to jump from rocks and swing off rope swings and like the photographer I am, I brought my camera. I always find it fun to capture the moment of exciting activities and today was no exception. My friends and I are all “go-getters” so there was plenty to photograph. Here are a few shots I thought turned out good.




February 15, 2011 at 6:24 pm | Blog, CMS, Code, Wordpress | No comment
As I continue to build Web sites for people I find myself using WordPress for all of the content management. I’ve grown so accustomed to it, that I can’t believe I used to code every Web site from scratch.
WordPress is slick. Not only does it give the client more power to update content on their own, but it also makes developing easier and more robust on my end. I recently learned about shortcodes and how to implement them in my themes. Shortcodes make styling content in the WYSIWYG really easy without the user having to know about complex code and syntax.
I just built a new Web site for Revista Caminos, a local Latino publication, and in the process I had need for a way to let the client change things about the site theme. One way I know to do that would be to create a page/post, call it “Theme Options”, and add a bunch of custom fields. But that would be messy and not very good design.
I knew it was possible to have a theme options link in the WordPress menu as I have seen it done on other people’s templates. This lead me to do some research on the Web. After a little bit of searching, reading, and some trial and error, I stumbled upon a great blog post that wrapped everything up in a download.
I plopped the files in my theme directory, included a link in my Functions.php file and I was done! Very easy to implement after that. I just created the checkboxes and input fields I needed and I was ready to go.
Using the options in your theme design is really simple. Just pull out the options using:
$options = get_option(‘my_options’);
Then use an option:
$bgd_url = $options['bgd_url'];
Custom Theme Options Screenshot:

January 22, 2011 at 4:11 am | Blog, Javascript, jQuery, Plugins | No comment
I’ve been writing a lot of HTML forms and jQuery validation routines lately at work. I have found that writing validation routines are pretty easy and since forms often vary in content I end up writing new routines each time. However, I have noticed that, no matter the contents of the form, I always need a way to alert the user when a form field is invalid.

A simple red border around the input field or text area can often do the trick, but what happens when the error needs a little bit more explaining?
Javascirpt alert() messages are FAR from the answer; those things are just plain annoying, so usually I head for a hidden <div> after each input that I can then fill with an error message and change the div to visible.
The problem with this is it requires a lot of extra html elements and ID’s that one has to take care of. To solve this problem, I created a simple error tip as a jQuery plugin. It’s really simple to implement and can be easily styled in CSS.
<button onclick="showError()">Show Error</button>
<input type="text" id="my_form_field" />
<script>
function showError(){
$('#my_form_field').errortip('My error message here');
}
</script>
I plan to continue adding to the plugin overtime and will update this post when necessary. For now, have fun displaying error messages with ease!
Don’t forget, if you have any ideas for the plugin or find bugs, please post them in the comments below.
Happy coding!
December 17, 2010 at 9:07 pm | Blog | No comment
Found a great resource for finding HTML entities: http://www.danshort.com/HTMLentities/

December 5, 2010 at 11:49 pm | Blog | 2 comments
gvTooltip has been created to add complete control over the very limited default tooltip provided in Google visualization charts. gvTooltip replaces the default tooltip with one that is completly customizable, letting you define what each tooltip says and how it looks.
For downloads and more documentation, please head over to Google code:gvtooltip.googlecode.com
November 28, 2010 at 5:48 am | Blog | No comment
For the past three years I have been blessed with the opportunity to photograph Steens Mountain Running Camp and each year the camp founder, Harland, displays a Steens booth at the Oregon state cross country championships meet. At this booth, Harland hangs large posters for the two camp sessions. I got to design this years posters.


November 27, 2010 at 8:01 pm | Blog | No comment
Well, it’s been over a year and half since my last re-design of KevinJantzer.com so I figured it was about time to change it up. I also wanted to incorporate a CMS to make updating the site easier.