Votingpoints contrib for User Points

User points is module that gives a user points when performing an action. This module has a couple of contributes that give the api the specific desired functionality.
I added a contribute for this module that makes it possible to assign user points when users vote, using the drupal voting api.

Read More      No Comments »

Building a nice slideshow with Drupal views and jQuery

For one of my projects at One-Agency, i had to build a slideshow with images of one of my content types.

I started to make my promotions content type with CCK and make it possible to upload an image and add extra information on the promo.
After that, i could start with the real work.

I made a block-view with the settings to show only promotions that are published, and show the nodes in this view as a node. Once you have this set up, you can start to prepare you’re template file.

Read More      2 Comments »

Drupal quick fixes

Topics:
- Use url arguments to limit views by taxonomy on term pages
- Use url arguments to limit views by taxonomy on node pages
- Hide tabs on node form pages, except for certain roles
- Log next page with google analytics
- Create submenu-items from selected menu-item (1 depth)

Read More      No Comments »

Using flash libraries to import graphical assets in Flex

Ever since i’ve started with Flex, I found it somewhat difficult to import custom graphical assets from Flash into my Flex applications. I had troubles linking my graphics to custom classes that weren’t a Sprite or MovieClip, and always found myself searching solutions for the same problems I had over and over again. Let me [...]

Read More      5 Comments »

Expose database fields to views in a custom drupal module

Developers who wrote a custom node module in drupal will know that you always have to make a couple of choices at the start of a project. Will I write a custom node module or use CCK to generate a content module. Or when using views, you might ask yourself it is better to write your own view. Or could it be wiser to use it all and take the best of all things into your project. Once I have such questions, I hear a little voice in my head “Time to test and compare”.

Read More      4 Comments »