Programming
Alternating html table colors, in javascript!
by Lonnie on Feb.05, 2009, under Programming
Recently I was working on an e-com project where I was given a database that contained the customer’s product catalog, but the catalog contained tons and tons of html tables that contained no id’s or classes whatsoever .. they were just vanilla tables that made use of the “TH” tag for the header row, so at least i could style that without hassle.
I could easily do some styling to all the tables, but what I really wanted to do was alternate the row’s colors so that everything didn’t run together, but without a class for each row (odd/even for example) .. I couldn’t do it in CSS.
That is where Javascript comes in! read on for more..
Download Dynamic Header Images 1.5.1
by Lonnie on Jan.22, 2009, under Joomla, Programming
The Dynamic Header Images module has beem moved to it’s own page which can be found right here
The module has also been converted to donationware, and there are two upcoming releases!
Roadmap
1. Support fort Virtuemart (custom header images per department) (1.5.2)
2. A re-write of the logic, this will allow you to have a default image by section and category rather than having to have an image for every article. (1.6)
Force Joomla to use SSL/HTTPS
by Lonnie on Jan.15, 2009, under Joomla
Have you ever needed to make Joomla use https?
If you use Joomla 1.0.x you could just simply changed $mosConfig_livesite to your https URL, but this won’t solve the issue of someone coming in on a non https link from a search engine or bookmark, yes it will change to https if they click a link, but that landing page will be insecure, what can we do about this? read on!
Joomla Tips: Dynamic header images (1.5)
by Lonnie on Jan.14, 2009, under Joomla
When Joomla 1.5 came out, not many components existed for this task … I wanted to be able to specify an image for the header based on whether it was the front page, a specific article, or a specific component .. I also wanted it to be able to fall back to a default image if none existed.
This article covers how to do that right in your template!
Multiple domain names in Joomla 1.0.x
by Lonnie on Jan.14, 2009, under Joomla, Programming
If you’re running Joomla 1.0.x and you’ve tried to get more than one domain name pointing to it, then you’ve no doubt realized that it doesn’t really work out that well. I mean, the site will come up but the moment you click a link you will be sent directly to the original site url.
Well this aims to give you a quick, easy solution!