Show Online Users

Hi,

Is there a way to show what users are currently logged in.

Thanks

Knowing the parents nid, how do I get other values of a node?

I have 2 content types - parent and child
Child has a reference to the parent "Fields: field_Xparent - nid"
Knowing the parents nid, how do I get the title value of the parent in a PHP argument code in views?

How to create content programatically in module?

Hello everyone,

I am writing a small module to import some content in drupal 7. I have created a content type in the system, and want to use drupal_form_submit to create the content. The example in the document works perfectly but it was for user creation. After a few times of trial, I found that the code could now create any content for my content type.

My content type named spot(machine name) has many optional field. For example, field_name_chinese(machine name) and field_name_english(machine name). I thought I can create a content for spot with below code:

Lightbox / Shadowbox in Drupal 7

Hi all,

I'm a bit surprised that, despite the pledges, there is no Lightbox or Shadowbox module available for Drupal 7. I can't seem to find any information about forthcoming versions of these modules. I have noticed Colorbox, but I would prefer to keep working with Shadowbox on my websites.

Where can I find more information about all this?

M.

Frontpage error message?

Fatal error: Call to undefined function user_access() in /home/efortun1/public_html/h/includes/menu.inc on line 617

could anybody tell me what's happened and how can i solve this? Thank you!

Fatal error when hiding field in D7?

I am getting the following error message

"Fatal error: Function name must be a string in /home/content/75/7032375/html/modules/field_ui/field_ui.admin.inc on line 143"

whenever I try to move a new node field into the hide section in the display fields section.

Does anybody know how to fix this because it won't let me hide anymore fields for some reason.

I recently installed the Field Permissions module so perhaps that is interfering with the Field UI but I don't know.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x