By chihuei on
Hi, I'm quite new to Drupal. I wonder how to hide "Published by" and "Tags" (taxonomy) on the front page. Can anybody help? Thanks!
Hi, I'm quite new to Drupal. I wonder how to hide "Published by" and "Tags" (taxonomy) on the front page. Can anybody help? Thanks!
Comments
Remove through specific content type
chihuei,
In Drupal 7 (D7) you can remove the published by through your specific content types:
While logged in as Admin in D7- Go to Admin
- Structure
- Content Types
- Book Page, Article, Basic Pages etc
- Head down to "Display Settings"
- Deselect the checkbox
- Hit Save
With removing your tags in the content you publish to the front page, you need to be careful. You should consider setting your theme(s) to be able to render them as "hidden" so you can render them later depending on your content type(s) and how you plan on rendering them later on and where it should be rendered ( Yes, I know that sounds vague) but you should consider setting up your own
node-content_types.tpl.phpby having it render in specific locations. You can usually take care of this by something like:hide($content['field_tag']);. Set up some type of if statement based on the front page, and you should be ok.I got it, thank you very much!!!
I got it, thank you so much for your help!
I still need help!
Actually, I went "Structure » Content types » Article" and put "Tags" label to "Hidden" and also uncheck "Teaser ". I got what I need, but I want the the content only show summary instead of full text. Can I do it? THANKS!
by default it should show summary
Chihuei,
By default it should only show the summary. I would assume you're speaking of showing summaries in lists(taxonomy)?
Term fields vs Term of taxonomy
I have read. And I think that some people confuse: terms and term fields.
We have 2 different things:
- Terms of taxonomy: view default by Drupal. We can turn them off by use "Term Display" module or edit theme that we want to make change
- Term fields: they are fields of CCK. We can control in "Display fields" on Content type page
If we use term fields in content type, we can choose if they go into taxonomy or not.
My sites: Medicare
I dosn't shows summary by default
I've read this tutorial but I've the same problems as chihuei, I mean I went "Structure » Content types » "Article" and put "Tags" label to "Hidden". I need a "Teaser" form my article or I need a summary of it instead of full text, because the system doesn't shows a summary by default. What am I supposed to do?