Learning Drupal is the smartest thing you can do.

- Panic 2006

News from the front


1 day 5 hours ago

Trying to give something back to the wonderful Drupal community.

bilde
Morten Nicolay Nielsen - All Rights Reserved. Powered by Drupal, held together by Blueprint Css.

Latest

View context

This feature is really amazing and I thing it will be used a lot, especially as custom front pages. With this feature enabled you can add rows from a view and place it in different panels panes. Usually you could place a view to one pane, but with View Context you can pull out rows, view header or view footer, you can even select fields from the view and place them wherever you want.

Webform and node url

How to show the node url in a webform result? I have always used the webform tokens for this, but since the server request has security issus I had to find another solution.

Multiple Image Upload

Uploading multiple images in Drupal has never been easier. Select all files from within a folder, hit save and it's done. Double click to give them a new name or description, drag and drop to sort, and built in icons for file types. It even works with vertical tabs. The best thing, it's using filefield. This tutorial is about how you install the module and how to create a cck SWFimage field.

"Pane" of death

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.

Views override-button

Hey, almost a month since last post :-/ This feature is really great if you want to create different blocks from one view. I had to create a view that contained recent posts, popular posts and popular posts today. To manage this you have to create 3 different page displays and the displays need different sort criteria and filters. At first I thought this was easy, but when I started to modify page display #2 page display #1 got modified, jeezez.

We must know where we came from to know where we are going.

- Maynard James Keenan

Spoken like a true prodigy.

- The Wolf

I'm not Jesus but I forgive you!

- Craig Campbell

This is not the worst thing that can happen.

- Tyler Durden

Empathy was yesterday. Today, you're wasting my motherf#!"&g time.

- Vincent Hanna

Lets go and look at the sun now!

- Robin Williams

Image menu in Drupal

One of my biggest challenges when I started using Drupal was how to create a menu that used images. I created a support issue at drupal.org, either my english sux or maybe the solution was to obvious. This tutorial is using the same method as the apple menu. It uses one image and background-positioning. You can create very nice menus using this method, the only problem is if you want to remove or add a menu item, most likely you have to edit the menu-image.

Vertical tabs

Last night I updated the Vertical Tabs Module to version 6.x-1.0-beta7. Somehow custom CCK fieldgroups disappeared from the vertical menus after the upgrade. I went to Content management settings to see if I had done something wrong. Adding or telling which fieldgroups that shall be displayed within a vertical tab is no longer an option. Grr #$"!$!!.

Rounded corners with border

The jquery Rounded Corners module is a nice tool if you need rounded corners for divs, classes, blocks etc. I needed rounded corners for a container on my project, I'm using Blueprint 3 framework and this was really easy.

Count nodes by content type

The tutorial "Count all nodes" is a great tool if you need statistics displayed on you're site.

Panel variants

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.

How to use CCK

Content Construction Kit is one of the most downloaded modules at drupal.org. The module is so populare that it's functionality will be buildt into the next Drupal release. If you need extra functionality, a new content type or need to modify existing ones, this module is a must. It's a good trick to know what you want before you install it, there are several cck-addon's and you can be confused at times. Take it easy, start with a simple text field and when you feel comfortable, go further.

Something for the weekend

This is made using Views and Panels 3

Fonts on drupal

Ever needed a unique font on your drupal site? Cufón is a great solution. Cufón is a free javascript which let you use any font you like on your website. If a visitor don't have the font you're using, installed on his computer, Cufón is the trick. I use Cufón on headings and on my menu. Using Cufón on regular text "p" is not something you would do.

Apache Solr Views Tutorial

Finally finished my latest project Qrant.no. and Apache Solr Search from Acquia is one of it`s services. The module is really great, it gives you outstanding search features like faceted search, related items block and sort options.

Imagecache

Instead of using a editor to display images I am using the Imagecache module. The module lets you set up presets for image processing. I created a newspaper site once, where one image had to be displayed in four different sizes. Headline story, thumbnail, archive and recent posts. Imagecache is perfect for this.

Images in Drupal menus

This way is a bit more dynamic. It's using four images for different hover and active effects. When using this technique you can easily add or remover menu items without the need of editing or replacing images. It's a background effect and the example is the menu at this site. If you know photoshop or similar programs you can create various styles and better looking menus then the one at this site.

Profile fields - panel pane

Tutorial is a user reguest. This tutorial is about how you can display the Profile Categories within the User Profile Panel Template. Advanced Profile Kit and the modules that the APK is recommending is activated to add more functionality. Using the Advanced Profile Kit is not required to follow this tutorial.

Home