Create a text area for teaser
donkasok - February 16, 2009 - 07:39
Hi,
I am very new to cck . I am trying to create a text area called teaser where i can enter the teaser ( or summary) of my articles. I nee to create a view which shows these teser text with readmore which links to the articles. i am categorised my contents using taxonomy. Did any one knows how to do this. please help me.
with regards,
Don

CCK
To create a teaser, you have to edit the content type and to add a new text field named "teaser" under "Manage fields". Fairly straightforward.
Then create a new view of type "Node", choose the row style "Fields" and in the box Fields add "Content: teaser - (field_teaser)", which is the name of the CCK field you've just created, and "Node: Link". Remove the label and enter "Read more" as text to display.
Additionnally you can use CCK Teaser Field to restrict the teaser to the cck field. In this case you can use the "Node: Teaser" field instead of the "Content: teaser - (field_teaser)" one.
Thanks
Thanks a lot. It helped me to solve a great head ache...
DoN
How can i hide the text area in page view.
Hi,
I create a node type with field_teaser.and using views i manage to get a view showing data from field_teaser with read more. But i need to hide the field_teaser in page view . when ever a user click on read more it will go to full page which have field_teaser content and body content. How to hide that in page view.
DoN
Edit the content type
To hide the field in page view, edit the content type and go to the tab "Display fields". For your teaser field, under the column "Full node", set the choice to "<Hidden>". The field will then not be shown when viewing the full page.
thanks a lot
thanks a lot
Don K Asok
http://drupalyogi.blogspot.com/
Read more missing
Hi mdupont!
You're a life saver. I was wondering how to make the "read more >>" show up though? I followed your instructions to the letter, but couldn't get the "read more" to show up after the teaser.
Hi, Make sure you configured
Hi,
Make sure you configured your view this way :
- under Basic Settings : "Row style: Fields"
- under Fields : "Content: Teaser" and "Node: Link"
-- in Node: Link configuration : "Label" field empty (default "Link"), "Text to display" field filled with "Read more" (default empty)
You might also consider
You might also consider looking at the Read More module: http://drupal.org/project/ed_readmore