A nice way to view node teasers
Added Wed, 28/10/2009 - 16:44
Want to check what your nodes look like as teasers really easily? Fire up the views module and import the attached view. It adds a 'Teaser' tab to nodes alongside the View/Edit/etc. tabs, so you can select it and the node is displayed as a teaser (or you can go to node/<nid>/teaser manually).
Simple but effective :-)
Bookmark/Search this post with:
| Attachment | Size |
|---|---|
| teaser.view.txt | 2.59 KB |

Delicious
Digg
Reddit
Technorati


Great idea! A really useful tool, with such a simple implementation, too. However, it would be greatly improved with access control.
At present, the teaser tab is displayed for all visitors. What's the point of that? A "read more" link makes sense for a teaser, but a "read less" link doesn't have much use with a full node.
Want to check what your nodes look like as teasers really easily?
It sounds like this is being pitched as a tool for content authors, editors, site administrators, etc. So it needs access control.
So, after importing this view, I suggest adding role-based access control (Basic Settings >> Access >> Role). Choose which roles need to see the tab.
Of course, roles differ from site to site, so it's not really feasible to include that in the exported view.
A "read more" link makes sense for a teaser, but a "read less" link doesn't Barbiebebek have much use with a full node.
Have your say ...