How do you render an image field from a node?

So I've been trying to figure out how to properly render an image from the image field I have set up. Basically I've been trying to see how you can render the image, but without any luck (code as seen in #1168804: Port Image Annotate to Drupal 7 ).

D7: Where are the fields you add to User Profiles?

So I've added some fields to the User Profile content type. "About Me" and "Interests," and they aren't showing up on the account creation or under Edit. The fields are visible (default) and the permissions are set.

I am NOT using Profile 2 because I just want to use the fieldable profiles in core D7.

So am I missing something on how to get the fields to show up after you add them?

Possible recursion on hook_node_update

I am trying to run this code:

function yukare_node_update($node) {
  foreach($node->field_end as $lang => $value) {
	$node->field_end[$lang][0]['value'] = drupal_get_path_alias('node/' . $node->nid, $node->language);
  }
  node_save($node);

But it always give a maximun execution time error, maybe because node_save calling hook_node_update again ??
The same code works on hook_node_insert.

WYSIWYG Image upload

I have the wysiwyg module installed, as well as the FCKEditor. I was wondering how I could upload an image onto the page. You can place an image tag and specify the URL, but that's not what I'm looking for. I want the user to be able to upload an image but simply clicking an 'upload image' button, specifying the image from their computer and be able to upload it that way. Any help is really appreciated.

Thanks,

Zee

And The Errors Begin

I uploaded the simple menu module for Drupal 7, and enabled that and devel, then I went to enable all the sub modules in simple menu and got this pair of errors:
Notice: Undefined index: access in menu_tree_output() (line 1006 of /hermes/web09d/b1240/moo.thedailyorbitcom/thedailyorbitcom/drupal-7.2/includes/menu.inc).
Notice: Undefined index: menu_item_link in simplemenu_inactive_parents_theme_registry_alter() (line 29 of /hermes/web09d/b1240/moo.thedailyorbitcom/thedailyorbitcom/drupal-7.2/sites/all/modules/simplemenu/simplemenu_inactive_parents.module).

CCK en views?

Hi,

I created a site for one school to start with. Now it is time to let other schools join the site.
Part of the site is sharing information about the schools, for example adres, number of students etc.
School must fill in these questions (custom content type) themselves.

I want alle the schools be accessable through a drop down list. By selecting the school a user 'jumps' to the specific page/node with information about the school.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x