By xtiansimon on
I'm using a node reference in a content type. The menu actually displays to whatever is the top item in the menu. I'd like to change this text to something like "SELECT A NODE TO REFERENCE". The node reference field in the content type allows for PHP snip and the expected example is,
return array (
0 => array ('nid' => value for nid)
);
Comments
The default value should be a
The default value should be a valid nid.
But I don't want an "actual"
But I don't want an "actual" default node reference, I want a custom default "text" in the menu display.
Get it?
Not the purpose of that
Not the purpose of that field.
Maybe Hint module could be
Maybe Hint module could be useful for this purpose. That's just an API though, you'll probably still need to do some custom code.
[oi]. This module already
[oi]. This module already does what its supposed to do and I want what it does. If you don't know how what why or cant be bothered to understand what what, don't post just to argue with me. Its rude.[/oi]
If this was just an HTML menu the first item would be selected,
_
See http://drupal.org/node/789116#comment-3365604 for one possible solution.