Closed (duplicate)
Project:
Addresses
Version:
6.x-1.05
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2009 at 15:48 UTC
Updated:
12 Jan 2010 at 04:29 UTC
I am putting together a view of nodes listing addresses from an specific Content Type.
The addresses include the CCK address field (addresses 6.x-1.05).
In the Content Type settings of Display Field the labels are switched off and do not show up in the node.
But when I put together the Views the labels show up. The Label setting in Views is to "none".
All other fields do not show their labels as set in Views. Just the address field ignores the settings in views and in "Display Fields".
- Any suggestions how to get rid of the labels - or do I have to forget about addresses?
- Or - just noticed - do I need to set each field in Views individually? - It should be easier than this.
Thanks
Comments
Comment #1
chrislabeard commentedsubscribe
Comment #2
tinem commentedI'm new to Drupal and still struggling for learning and understanding but will like to help too. :-)
I think you need to set this for each field and if you do so you don't have the problem - I have just tested it - or maybe you need to update your Modules for CCK and Views.
Comment #3
tryitonce commentedWell tinem,
that is true. You need to set this for each field. The problem is, that the CCK address field (addresses 6.x-1.05) just shows up as on be field and does not show all its "sub"fields. So, you cannot set them individually.
All other fields without "sub"fields do not have that problem.
Actually, I got rid of CCK address field (addresses 6.x-1.05) for other reasons as well and just created one field per data set.
I got rid of CCK address field (addresses 6.x-1.05) because it does not allow you to structure your data collection and presentation as flexible as single field data sets (even if you allow multi-line text boxes or more to the point more than one data set).
CCK address field (addresses 6.x-1.05) is also not really easy for international use and in my case I could do better what I need with "home"made fields. Though, data checking is not as easy - but my users will take care as they want to be sure their names and details are all correct.
So,m good-bye CCK address field (addresses 6.x-1.05) - for now.
Comment #4
chrislabeard commentedIf you want to try something else I recommend the location module - http://drupal.org/project/location
You still can't set each field separately but it just works much better than the Addresses module.
Comment #5
codycraven commentedAs far as views displaying labels for the fields, I feel your pain. There is a new patch in the works, #324331: CCK addresses fields not displayed in views, which aims to solve this issue.
Addresses CCK is currently unwieldy and I am working on it for release in the near future in the #680354: Unify hCard/plain formats to singular format issue. The reason for not having individual CCK fields is that Addresses makes use of the hCard format (although not well at present). Once 2.x is released, with the previously mentioned issue included, you should find it much more usable.