Panels

Taxonomy will be sorted as soon as possible. Dinner first.


Wednesday, December 16, 2009 - 20:42

I had to hide a panel pane for certain users on my latest project. Babybrukt is a site where people can create their own ads. Buy, sell or give away used baby "stuff". The advertiser needs to know how many times his or her ad has been viewed. I created a view that gives me the data and went to the panels dashboard.

Panels visibility rules is the place you want to go. Create a new rule and give it these settings.

Visibility rule: user:Compare - First user = node author - second user = Logged in user
Grant access if user context are: Equal.

Saturday, November 7, 2009 - 11:07

This tutorial is about the Panels module, and how you can use the Node Template to create different layouts for you're content types. For the ad-site I made, I had 7 different content types. Different fields and different field groups created with CCK had to be displayed differently when users viewed an ad. Panels 3 was just released and it's the first time I use this module for a production site.

Friday, October 23, 2009 - 09:36

Organic groups is a well used drupal module. I have been a fan of it for a long time and I am currently working with the module on one of my biggest projects so far.

The panels module is also a very popular module. Panels 3 is a stable version that you may use on production sites. Organic groups and panels together is a powerful combination. There is a dev-version of a module that gives you the oppertunity to tell a group that is shall have a default panel layout (withe predefined content set up by admin), a great feature that I think will be popular.