By macuhail on
I have created a view for a content type. The problem is that the view includes the labels for the fields. For example, one of the fields is a linked news headline. In the view there is a label before the headline that says "headline:".
How can I prevent this label from showing?
Thanks
Comments
it depends
It depends on the view type. It will either be in the fields section of the View or in the Display settings tab for the content type.
--
Drupal Theme Developer’s Cheat Sheet | 45 Screencasts to Get You Kicking Ass with Drupal
Matt, I thought it would be
Matt,
I thought it would be in one of those places as well. However, I can't seem to find anything that controls this. I am using Link so I don't know if that changes the display settings options for the content type.
Where should I look to change these?
I found it. I just need to
I found it. I just need to add "" to the label field when I add a field to the view.
forgot about the code rules.
forgot about the code rules. If I add
<none>to the field label that gets rid of the labels when I have a list view enabled. I still can get rid of the labels when I am displaying a full node.Any suggestions on how to do this?
Display fields
Check under Administer > Content Management > Content Types > "edit" (for the appropriate content type) > Display fields (tab).
That did the trick. Thanks
That did the trick. Thanks for the help!
I've been trying to use the
I've been trying to use the same technique, with no success. I built a view called faculty_profile, which includes a name and image. I'm trying to remove the "name" and "image" label from the view. There is no option when entering the field into the view editor. When I go into the content type and manage the fields, I set the label to Hidden, it still shows up in the view.
I want to avoid having to do this through theming, if possible. Any suggestions would be great!
_
This thread is over a year old and tagged d5. For d6:
1) If using fields in your view remove the default text views places in the 'label' field on the fields individual configuration box.
2) If using the node style, set the labels to "hidden" at admin/content/types/{contenttype}/display.
If you're still having problems try clearing the views cache (at admin/build/views/tools), but this most definitely does not require theming.
Not following number
Not following number one.
"remove the default text views places in the 'label' field on the fields individual configuration box"
Where exactly is this?
Sorry, newbie here. :)
Never-mind, figured it
Never-mind, figured it out.
Under "Fields" click on one and it will open up the
"Page: Configure field Content"
There you can either make the label blank or check the proper one (None in my case)
Label:
None
Widget label (name)
Custom
this exact solution not working for me
I'm running 6.16 and Views 6.x-3.0-alpha3.
I have a custom data type with some date, text, and decimal fields. In the data type definition, I have the Labels and Teaser listed as hidden AND excluded.
To simplify it, I've tried creating a view with just one field. I haven't added additional displays -- just working with the default display. No special styling, nothing. When I add the field, from the "Label" options, whether I set it to "None" or "Custom", the moment I hit Update, it is reset to "Widget Label".
Anybody else experience this behavior? It seems that it won't let me remove the field label.
What worked for me
Just for anyone else who finds this thread.
Click on the field and the first box is labled 'label'
Remove all the text to make it blank and it won't show up.
Admin >> Views >> Your View >> Field you want to edit >> Label >> Select and delete.
I am trying to do the same
I am trying to do the same thing and I was able to hide many fileds. But "Content: Image product_list image linked to node" has no Label field that I can leave empty in views settings. And ideas? I am using the views module in cck settings it is already hidden.
thank you, this worked. i
thank you, this worked. i found this thread, but was typing things in the box like "" "none" and other random things,but just leaving it blank worked. the confusing part was that the field preview keeps showing it, so i had to actually save it and view the page to see if it worked or not.
Don't forget to click on 'Full content'
Getting rid of labels on full content nodes was driving me nuts, but I was hiding them only on the default tab under content type/manage display, then I realised I needed to click on 'Full Content' and hide them there. Then they disappeared :)
removing field labels
OMG!! thank you, maractive. this was driving me crazy and your entry saved me. i thought i was doing everything right but field labels remained.
so to recap:
DRUPAL 7 to HIDE field labels:
structure->contentType->yourContentType->manageDisplay
- under LABEL column - click on
!!!THEN:
- click on ALL tabs – Default/Full Content/Teaser...
- click on in LABEL column FOR ALL TABS!!!