Archive for the ‘Web’ Category

November 19, 2009 0

WordPress Plugin – Sidebar Widget for Displaying Zen Cart Categories

By Levi Senft in Web

If you have ever tried to add a page to Zen Cart it is a total pain in the ass. To give my clients’ Zen Cart sites a boost in SEO and usability I have been moving their non-catalog information over to WordPress. I have been hosting WordPress in a sub folder of [...]

Tags: , , ,

September 5, 2009 0

Zen Cart and PayPal: 10413 Transaction refused because of an invalid argument. Solved!

By Levi Senft in Web

I recently started a new job where I maintain 5 shopping carts all built off of Zen Cart 1.3.8a.  I’ve had brushes with Zen Cart in the past so I knew I was in for a lot of work.  The thing about Zen Cart is that there are lots of problems that never seem to [...]

Tags: , ,

August 23, 2009 0

gBeard Forces the Pirate Google to Walk the Plank

By Levi Senft in Web

A while back I was reading an article on Arstechnica about The Pirate Google.  The Pirate Google was created as a response to the verdict in the Pirate Bay Trial.  The argument was that Google indexes torrents as does the pirate bay – why isn’t anyone prosecuting Google?  The Pirate Google works by appending filetype:torrent to the end [...]

Tags: , , , , ,

November 19, 2008 0

Joomla 1.5.x – Unique Page Styles

By Levi Senft in Web

In the past couple months I’ve worked on several Joomla 1.5.x sites. I’m starting to develop a bag of tricks. This trick will allow you to assign a unique css class or id for each page. I’ve used this technique to assign different header graphics to individual pages. I’m far from calling [...]

Tags: , ,

September 30, 2008 0

JavaScript For Testing Layouts

By Levi Senft in Web

Here is a little script I wrote for testing layouts. It injects random lorem ipsum texts, lists and headings into a documents content area. To start using it include the script at the bottom of your HTML page and give your content container an the id stretchme. An absolutely positioned div with [...]

Tags: ,

July 19, 2008 1

Avoid Page Rank Dilution With .htaccess

By Levi Senft in Web

If your website is accessible with and without the www subdomain Google will see your site as two different sites. When your home page, http://mydomain.com/ and http://www.mydomain.com/, get indexed as two separate pages their page rank gets diluted because their content is duplicated.
For usability reasons you sill want people to be able to type [...]

Tags: , , ,

November 19, 2007 0

WankenBerry 0.1 Released

By Levi Senft in Web

 WankenBerry is a PHP script I wrote to minify and concatenate JavaScript and CSS files on the fly.  This way you can work on several small files that are formatted nicely and have the server optimize them for you.  When you hit the server with your browser it checks for the cache file and if [...]

November 14, 2007 1

JSON Pretty Printer

By Levi Senft in Web

Yesterday I was trying to deserialize a JSON object in flash. The object was delivered from a JSP app that I didn’t have access to. The object was written out on a single line with no spaces. Which is as it should be for optimization reasons, but it was very hard to [...]

Tags: , ,

November 5, 2007 2

Adding a Persistent Flash Element to an Ajax Application

By Levi Senft in Web

To illustrate adding statefulness to our application I’m going to add a flash music player to our application. Using web 1.0 techniques getting our player to remain static would require either a pop-up or some sort of frames setup. We’re going to add the player to the masthead of our page and let [...]

Tags: , , , , ,

November 5, 2007 1

Ajax Anchor Component for Prototype

By Levi Senft in Web

The Ajax Anchor Component allows you to quickly create ajax applications with a minimal amount of code. When the component is initialized it looks for anchor elements with rel attributes starting with a hash. Like this:

Tags: , , ,