Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-rc2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2008 at 20:21 UTC
Updated:
8 Oct 2008 at 22:27 UTC
I am a beginner to drupal and am trying to customize views so that the output is in the format that I want. I set up a view called foo that will display a list of blog entries. I would like to display the teaser and apply a filter that filters out all html tags. I just want plain text.
I set up the views-view-field--foo-teaser.tpl.php file, but have been unable to figure how to apply a filter within this theme file.
Any help would be appreciated.
Comments
Comment #1
merlinofchaos commentedRun the teaser through strip_tags()
Comment #2
zagnutts commentedWorked like a charm. thank you.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.