list the users who flagged a content

Hello everybody!

How can i list the users who flagged a content? (I use views and flag modul) i have tried it for two weeks but i haven't got the solution.

How do I display a realname in a view instead of a username?

Right now I am trying to make a view that displays all the users of the site. I am using the profile module to store the users' first and last names, and I have successfully configured the realname module to use the first and last name profile tokens. My realname pattern looks like this right now:

[user:profile-order:field-fn][user:profile-order:field-ln][user:profile-order:field-suffix]

How do I get nid for current node, I need it for query condition in action tied to save new content trigger

I am new to Drupal development, work in the health care IT world, and I am stuck on how to get the nid of the just saved node in an action that I am initiating with the After Saving New Content trigger. I have a query that takes the values of the users nodes and saves some of it to a record of node author zip codes. The query works fine and it was easy to get the value of uid to use as a condition of the query but I need to limit it to the current node, not all nodes the user has created. you can see all my unsuccessful attempts between global $user and the start of the query. I'm stuck and I bet there is an easy way of getting the current nid for my $query->condition('n.nid', $node->nid); constraint.

global $user;
//node_load() $node->nid;
//$node = node_load($nid);
//$node = menu_get_object();
//$node->nid;
//$node = node_entity_info();
//entity keys] => Array ( [id] => nid [revision] => vid [bundle] => type [label] => title )
//$node->id;
//'id' => 'nid'
//$node = node_load($node->nid);
//node_load(array('nid' => $node->nid));
$node = node_load(arg(1));

$query = db_select('node', 'n');
$query->join('users', 'u', 'n.uid = u.uid');
$query->join('field_data_field_zip_author', 'z', 'u.uid = z.entity_id');
$query->addField('n', 'type', 'bundle');
$query->addField('n', 'nid', 'entity_id');
$query->addField('n', 'vid', 'revision_id');

Logging on takes you to user's configuration page

Hi,

After logging on the user is taken to his home page:

Where do I specify it so that he goes to a particular landing page?

Many Thanks.

Selecting only one checkbox? [solved]

I have a form with checkboxes that I created like this:

make a theme to not update (bartik)

I want to edit them bartik but I do not want it to update, if I delete these lines from bartik.info file will this stop it from updating

Lines to delete from bartik.info:

; Information added by drupal.org packaging script on 2011-01-05
version = "7.0"
project = "drupal"
datestamp = "1294208756"

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x