Do you like typography? Are you tired of ragged right text? Do you have a WordPress blog? Go here now! wp-Typography is the merger of wp-Typogrify and, more importantly, wp-Hyphenate. I do LaTeX typesetting, and as a result, I’ve acquired an appreciation for properly formatted text. If you ever tried using the CSS property text-align, you inevitably are disappointed with the results because it resembles nothing like what LaTeX can produce. You often have to make your text eye-jarringly wide to make it useable, and that doesn’t always work. This is because the browser lacks built-in support for hyphenation. This plugin makes up for this browser deficiency by inserting hyphenation hints, known as soft-hyphens, which the browser does understand. The algorithm is based on the one used in TeX to boot! Brilliant!
Posts Tagged ‘PHP’
How To Simultaneously Add Multiple Products To A Magento Shopping Cart
Posted September 27th, 2009 in Programming / 9 CommentsTags: JavaScript, Magento, PHP, Programming
This post is a bit overdue considering the project for which I did this was completed months ago. I finally got around to documenting it. Magento’s product list view lets customers add products to the shopping cart one at a time. The client wanted customers to be able to add multiple products to the shopping cart simultaneously. Given the time constraints for the projects, I created an ad hoc AJAX method to accomplish this feature request.
MyGoogleCal is now RESTYLEgc
Posted July 6th, 2009 in Programming / 4 CommentsTags: CSS, Google, Hacking, JavaScript, PHP, RESTYLEgc
I finally got around to spinning off MyGoogleCal as a separate website. I opted to rename the script to RESTYLEgc to avoid stepping on Google’s toes. It was something that’s been gestating over the past year. I completed the site over the holiday weekend since I had the time available. The new site is at www.restylegc.com. I’m also hosting the script at Google Code, and I even added a Google Group to facilitate discussions. After seeing the comments top 100, I realize a blog really isn’t suitable for lengthy discussions. Hopefully, the forum and wiki features will be better for the end-user.
I updated MyGoogleCal4 with a small bugfix this weekend as well. That will be the last update. Future development will continue with RESTYLEgc. Since the code was originally public domain, I opted to go with an MIT open source license. I also got the code in a Subversion repository which I should’ve done a long time ago. With the Issues tab at Google Code, I can better track and encourage bug reports and feature requests.
The code is still free, but paid support is available. I’ve also got some other ideas of where I want to take the site. So stay tuned!
How To Fake a Magento Subpage
Posted April 21st, 2009 in Programming / 9 CommentsTags: Magento, PHP
Magento, an open-source PHP ecommerce solution, has a very comprehensive feature list. However, its built-in CMS doesn’t support hierarchical pages. You can fake it, though.