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 [...]
Archive for the ‘Web’ Category
WordPress Plugin – Sidebar Widget for Displaying Zen Cart Categories
By Levi Senft in WebZen Cart and PayPal: 10413 Transaction refused because of an invalid argument. Solved!
By Levi Senft in WebgBeard Forces the Pirate Google to Walk the Plank
By Levi Senft in WebA 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 [...]
Joomla 1.5.x – Unique Page Styles
By Levi Senft in WebIn 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 [...]
JavaScript For Testing Layouts
By Levi Senft in WebHere 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: HTML, JavaScript
Avoid Page Rank Dilution With .htaccess
By Levi Senft in WebIf 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 [...]
WankenBerry 0.1 Released
By Levi Senft in WebWankenBerry 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 [...]
JSON Pretty Printer
By Levi Senft in WebYesterday 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: AJAX, JavaScript, JSON
Adding a Persistent Flash Element to an Ajax Application
By Levi Senft in WebTo 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 [...]
Ajax Anchor Component for Prototype
By Levi Senft in WebThe 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: AJAX, HTML, JavaScript, Prototype