How to add related items by category in K2 (Joomla)

Oct 19, 11 How to add related items by category in K2 (Joomla)

Posted by in Joomla, Tips & Tricks

The latest version of K2 has a built in option to allow you to display related items by tag at the bottom of your K2 item. In my experience, most customers don’t want to bother with tags, and would rather have an automated list of related items by category. I’m sure this would be a simple update to K2, but until this...

read more

Redirect users on first login using Rules and User Stats

Oct 17, 11 Redirect users on first login using Rules and User Stats

Posted by in Drupal, Tips & Tricks

This tutorial will utilize the Rules and the User Stats module in order to redirect the user based on the number of logins. This could be the first login, the tenth, first ten, etc. With a slight variable tweak, this will also allow you to redirect a user based on the number of posts, days since last post, join date, and...

read more

How to Create Square Thumbnails in K2 for Joomla! 1.5

Apr 23, 11 How to Create Square Thumbnails in K2 for Joomla! 1.5

Posted by in Tips & Tricks

K2 is definitely one of my favorite Joomla! components. It does everything so well that I rarely need to make edits to anything other than template files. The one exception is creating square thumbnails. Most of my customers incapable of creating square thumbnails, so we need the system to be as user friendly as possible. This is a...

read more

How to style default Joomla! 1.5 Pagination with CSS

Apr 23, 11 How to style default Joomla! 1.5 Pagination with CSS

Posted by in Tips & Tricks

Most of the sites we design have plenty of fancy elements, but we always end up with a simple or unstyled page navigation list. The PSD always looks unique, but the web version falls short of the designers’ expectations. This is because there are no CSS selectors on the arrows, start, prev, next, end or numbers. I probably looked...

read more

How to Set Body CSS Class as Page Class Suffix in Your Joomla! Template

Nov 22, 10 How to Set Body CSS Class as Page Class Suffix in Your Joomla! Template

Posted by in Tips & Tricks

In a previous post, I showed you how to set the menu alias as the body CSS class in Joomla!. This works best for me because it is easy to remember (just look at the url), and does not require any extra steps, but there is a better way to do this. For example, you write 50 lines of CSS code to modify the style of a page based on its...

read more

Sorting K2 Attachments

Nov 22, 10 Sorting K2 Attachments

Posted by in Tips & Tricks

I recently ran into an issue where I needed to upload a large number of attachments to a post. Simple enough right? With K2, of course! The only problem was, the attachments needed to be sorted by name. I tried altering the order of the attachments by adding number prefixes (01_file.jpg) to the filename, but this did not work. For...

read more