euicho.com

22Mar/070

Euicho.com Updates

I've implemented a couple of small updates to the site today. I had always assumed WordPress had a printing style it defaulted to if you tried to print a post, however if it did/does, it was lost when I converted my old theme to the new version. I got an email from a reader who was disappointed that he couldn't print my tiddlywiki article. I was actually shocked to see how horribly his browser rendered the page for printing. The sidebar was running over the text and it was just illegible.

A quick google search yielded a painless plugin to palliate my printing problem (sorry I couldn't resist the alliteration). The WordPress Plugin Repository offered up the WP-Print plugin, which is available at lesterchan.net.

Installing the plugin was is completely painless. You just put the extracted folder into your /wp-content/plugins directory, enabled it in the admin interface, and put this:
< ?php if(function_exists('wp_print')) { print_link(); } ?>
where you want the print link (in my case, next to the category listing at the end of the post).

Now whenever anyone wants to print one of my posts, they simply click the "print this post" link, and are brought to a version of the post that prints very gracefully. The printable version of the post includes The title at the top, the categories it was posted in, the article URL, and a legend of the URLs referenced in the post.

A big thank you to Lester 'GaMerZ' Chan for this slick little plugin!

The other change to Euicho.com is the addition of a Wiki link (euicho.com/wiki) in the top navigation. Not surprisingly, it takes you to a wiki, TiddlyWiki of course! More precisely, it's a variant of TiddlyWiki that allows server-side saving of tiddlers called PhpTiddlyWiki. I chose this so anyone who wanted to edit it, could!

Why have a wiki? why not? TiddlyWiki is fun, and I really should have an example of one on my site. Also I needed a place to stow little bits of information, hacks, and code snippets that don't warrant a full blog entry, but that I felt others may find useful. I encourage and even beg that others contribute to the wiki with anything they feel useful.

Tags: , ,

About euicho

http://euicho.com/134/
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


Trackbacks are disabled.