I would like to display an address field with two different display formats eg 1.address and 2. map only, so I can show then in different places in my node. But I only want to have one field that needs to be filled out.
Is there a way to have one cck field and then under 'manage display' be able to show it as two separate formats?
I am customising a nope.tpl.php so if I can code it in php to call different formats that is also great.

Or could I choose 'address with map' from 'manage display' and display them alongside each other instead of one under the other?

Comments

johnv’s picture

You can enable 'View reference' module, and create a new field as a View reference. Set up a view for this one field.
Alternatives exist, like EVA.

LTech’s picture

Thanks, I tried 'view reference' but it gives me a list of all the locations. How do I only show the address that I input in the location field of that form?

johnv’s picture

Perhaps you can find a module to duplicate a field.
As for view reference: use the argument/contextualfilter. Set content id from url as yourargument. Explore the options, it isvery powerful.

legolasbo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing support tickets that have been inactive for over a year to clean up the issue queue. Please reopen if this is still an issue.