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?
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:
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.