Question regarding CCK & Content Template

NonProfit@drupal.org's picture
public
NonProfit@drupal.org - Mon, 2008-04-07 16:43

Hi, this is, to be sure a simple question for anyone who knows even rudimentary .PHP, but even after most of an entire day, the solution continues to elude me.

I am building a custom content type in Drupal 6 where registered users can submit their events. Fields include event name, time & date, etc., as well as a e-mail field and the sponsoring organization’s URL(s). “field_email,” use the “Text Field” widget. “field_link”, logically uses “Text Fields for Title and URL.” These two are not required and both allow multiple values (unlimited).

However, when e-mail address(es) are entered, “0”s are returned. Filtered HTML should allow this, but even Full returns the null value. What did I do wrong?

I then launched into Content Template (Contemplate). ‘Body Variables’ returns a list of properties, as expected, including $node->field_link[0]['url'] with similar links for title and label. Obviously, the bracketed number increases with every address entered. I know how to call each individually, how do I ask for return all of the ‘link’ fields? Also, how can I make them clickable (as when they are called by $node->body or $node->content['#children']?)

Any input is appreciated, Thanks!

-NP