Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14325 reviews 1707 hosting providers

Questions & Answers

How to disable the teaser mode for a single article in Drupal?

Jun 16, 2012 by DruNew
Hi there
On my subthem’s page, I have all the articles in teaser mode, however there is one article that I want to display it’s content fully and disable the teaser mode for it. Can someone tell me how can I do this?
Thanks in advanced

1 Answer

0 votes
Jun 16, 2012 by Ali
1.Using  Views module create a new front page like the default one. You can  do this  by enabling or cloning the sample ‘frontpage’ view.
2. on the page display add a filter for ‘ content Sticky = ‘No’ (select ‘This page (override)’)
3. Add new "Attachment" display and change the attachment settings to (position:before)
4. From Format, change Content from ‘Teaser’ to ‘Full Content’ (select ‘This attachment (override)’)
4. On page display add a filter to  for Content Sticky = ‘Yes’ (select ‘This attachment (override)’)
5.save your view
Then browse to’ admin/config/system/site-information’ and  set the Front Page to  the path you set the view path to