Please help figure out how to best structure this...

I have a content type named: Intervention, which is a request for a computer problem fix.
I want to add actions to be executed in a certain order for the problem to be fixed.
Those actions are standard (ie "install anti virus" or "run check disk") and I want to be able to quickly pick them from a pre-existing list or create them on the fly.
I want the user who will fix the problem to be able to check off the actions as in a checklist; optionally, it would be nice if he could also add some actions of his own.

CCK: Disabling checkboxes based on user-group

I've setup two node's, group and story.
Group-nodes are referenced per user in the user profile, can only changed by the admin (using field_permissions)
In the story-node I've also added a group-node reference.
The goal is that group-members (users) can tick-off (using check boxes) the story they have read, but only for the groups they are selected to. The best thing would be disabling the checkboxes for non selected groups.
I've tried to use de dependency module without succes.

Could somebody point me the right direction?

I hope my issue is clear.

Theming CCK field

Problem in cck field theming :

I have a cck field and select list "key|value"
01|text1
02|text2
03|text3
etc

In the node theme I can only display «key», but not «value»
For example
<?php print $node->field_myfield['fr'][0]['value'];?>
Will display «02» while I had like «text2»

When I display the full node content with
<?php print_r($node);?>
I can find «02», but nowhere «text2».

Thanks in advance for your help

Can't get hook_views_pre_build to be called - FIXED

Hello,
I've created a custom module called "test" which is implementing hook_form_alter, and that works fine.
I'm trying to add hook_views_pre_build but it seems the function is never called.

What i'm trying to do is to change the default value of an exposed date filter among other thing.

Do i need to specifiy something related to views in my module?

Thanks in advance

PS: i'm using Views 7.x-3.0-alpha1

EDIT: Found out i'd to clear the cache and it worked.

Replacement pattern for image field in Views output is blank

I've got a View which displays several fields from a Custom Content Type. I want to make a smaller image (Project Photo1 small) link to the larger image (Project Photo1 large). Both display fine directly as fields. I hide the large image from display, and go to REWRITE RESULTS for the small image. I check 'Output this field as a link' and add sites/default/files/[field_projphoto1lg] as the link path where [field_projphoto1lg] is the Replacement Pattern for Project Photo1 large.

Local Host

Hey guys!

I installed Acquia Drupal 7 and started a site on my local DAMP server. I put in the site name and everything and have fully created my site on my local server. However, the local url of my site is

"sitename.localhost:8082"

even though my domain/site name is correct in the administration. I already have a domain name registered and I'm getting ready to upload my site to that domain.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x