Hello,

What do I have to type in my contemplate Template in order to show the location?

Comments

Balefire’s picture

I was wondering the same, the first time I started using contemplate. Answer is staring us in the face - use the 'Body Variables' section. They are listed in that :)

bwv’s picture

I'd like to be able to hide the latitude and longitude form fields. (The only way registered users can successfully generate a marker is to have permissions to set lat and long, but they do not really need to when filling out the form.) There appears to be no way to do this with contemplate, or am I mistaken? thanks

yesct’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +Location theming

I was using contemplate with 6.x-3 and location cck fields and did something like:

 $new_loc_node=location_load_location($new_meeting_node->field_meetingplacelocation[0]['lid']);
    if (0 != strcmp($new_loc_node['name'],"")) {
      print check_plain($new_loc_node['name']); echo "<br> "; }

See if there is something similar for 5.x

Also, I found that using views 2, I can specify just the Location fields I want printed.

Also, be sure you are using the latest version. Post back and let us know if that helps. I'll mark this postponed, needs more info, for now.

And I'll also tag this for location theming.

yesct’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

closing. post back if you have more questions.