HR’s Industrial Strength Portal has a great round-up of settings/conditions you can check inside Joomla 1.5 templates in order to dynamically adjust your layout. Outstanding! =)
Thursday, May 21, 2009
Wednesday, May 20, 2009
Out of the box, Joomla 1.5 is a powerhouse of functionality. But as with any stock system, there are a few things that may need to be tweeked in order to get the result you want or expect. Take Joomla menu controls for instance. They’re fine and functional, and 90% of the time no additional work is necessary. But a common practice with menus is to output them as unordered lists (ul) and then style them with CSS instructions. So, say you want to have your menu display on a horizontal line, with pipe separators between each menu item. Easy enough to define a style for this by specifying a right- or left-side border for list items in the menu. But since that rule would apply to all the list items (including first and last), you’ll have an extra pipe (at the end or the beginning). With manually constructed menus you can simply add a special class to the last (or first) list item that will style it differently (to remove the unwanted pipe). But with Joomla menus, each list item is the same, so there’s no ability to tag one with a special class. What to do?
That’s where Joomla 1.5’s new drop-dead simple module override functionality comes into play. Jisse Reitsma explains it very well over at his tutorial on Joomla module overrides at Open Source Network. In his tutorial, he explains how to alter the menu module to automatically tag the first and last list item with “first” and “last” classes. The short version is that Joomla 1.5 allows you to define a module override by simply making a folder named the same as the module you are modifying, copying the output template of the module into this new folder, and adjusting as necessary. So in essence, you’re copying a part of the module into a new location (see tutorial for specifics), modifying it, and Joomla automatically uses your modified version instead of the stock version. This prevents your mod from getting overwritten by Joomla upgrades. Brilliant!
I’ve already got this technique working on a couple of my own installations, and plan to add this mod to every theme from now on. That is, unless the Joomla devs go ahead and just build it into into the core at some point. Hint hint.
Wednesday, May 13, 2009
Well, I must confess that this WordPress plugin for Joomla would rock if it works as described. Comments on the page are hit and miss, so looks like I’ll have to try it out for myself to get a better idea. Groan. =)
Wednesday, May 13, 2009
Great article about Twitter from Snapps’ Rob Novak, a high-profile Lotus consultant/developer and good friend to my colleague Carol Dobies. Over at his Lotus Rock Star blog, he makes the case for Twitter, and likens it to a cocktail party. Money quote:
Just something to consider if you’re squarely in the “why would I care” camp…Twitter and other social media are like going to a cocktail party, like one I went to Thursday at the Mentor Summit in Vegas. I expect to talk to lots of people, care about what some of them have to say, filter a lot of personal stuff that doesn’t affect me while looking interested (how rude!), and come away – if not inebriated – with a few nuggets of great information, some great new contacts, and an idea or two out of the social interaction we have in a group that size. This dynamic – and EVERY networking event you’ve ever attended – is very similar to consistent use of social media in a targeted fashion.
Wednesday, May 6, 2009
Ars Technica is running a great primer on GREP by Ryan Paul. Covers basic usage and then introduces the user to regular expressions. Check it out here.
Tuesday, May 5, 2009
Don’t Make Me Think is suggested reading for darn near everyone in the field of web design and deployment. Susana Bruhn got me thinking about this book again recently when she was asking for good user interface source material and I recommended it. Along these lines, she also passed along 8 Characteristics Of Successful User Interfaces, a great blog entry over at Usability Post.
Friday, May 1, 2009
Q) Can you deep link inside a PDF?
A) Yes, but only by specifying PDF page numbers. Can’t link to Bookmarks. Link would look like this:
http://www.domain.com/test/test.pdf#page=3
Q) Can you specify a link in a PDF to open it’s target in a new window?
A) No, not for URL links. They will open in the same window the PDF was in, thereby replacing the PDF.
Q) Can links in PDFs be specified as relative?
A) Yes, for URL links.
Powered by WordPress