A nice way to view node teasers

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 :-)

AttachmentSize
teaser.view.txt2.59 KB

A nice way to view node teasers

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 ...

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br><pre>
  • Images can be added to this post.
  • Lines and paragraphs break automatically.