Drupal is up and running but how do I ...?

Views Argument Handling Code - has someone the final piece of my puzzle

Hi

I have simplified this for the sake of example.

I want to make a view based on a value generated by PHP.

in my administer/views page I have pasted in argument handling code:

$args[0] = 3;

return $args;

And now I want to use that argument to filter the search results, so my filter looks something like this:

Filter: Node: Week_of_the_Year is Equal To $args[0]

but this does not work.

What is the correct way of referring to my generated argument?

Thankyou

drupal_set_message works in Zend studio step through

function blogredirect_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {  
  $nodetype=$node->type;
  
  if ($node->type == 'blog') {
    
    if ($op == 'delete') {	  
      
      $nodeto= variable_get('blogredirect_userid_'.$node->uid,'');
      
      if ($nodeto) {
        drupal_set_message("Blog posting has been deleted.");
        drupal_goto($nodeto);
      }
    }
  }
}

some people post same coment twice or more times

not allways but i see that some people hit the buttom a lot of times and them i hace 7 times the same coment in my website :S

i locking for a hack or something that dont let the user do that "acidental double posting" like other forums have..

sorry for my bad english :/

How to build vocabularies quickly? Adding several taxonomy terms at once?

Is there a quick way to build vocabularies?

Under Home » administer » categories, the page for adding a term to a vocab only lets me add one term.
For setting up a site, this is a bit tedious as I have to save the page for each term. It's slow work.

Is there a way of entering all the terms I want for the vocabulary at once?

Role User List

Hello,

I have a community website with different roles (1,2,3,4).
I would like to display to my users only the users that have the role 1.
Like it is possible to do in the /admin/user/user page.

Do you know how i could do that ?

Thank you.
Matthieu

Has anyone ever got views_fusion to work?

Hi, can anyone tell me how to set up views_fusion so it works? I have read all the documentation and searched the forums, etc. but still no luck.

I want to display fields from 2 CCK-created node types (let's call them basic_details and further_info) in the same view.

further_info has a node reference field to basic_details.

I have added a nodefamily relation where basic_details is the parent and further_info is the child. (Is that right, or should it be the other way round?)

Pages

Subscribe with RSS Subscribe to RSS - Post installation