Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.4
Component:
block displays
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2009 at 01:19 UTC
Updated:
17 Apr 2013 at 08:53 UTC
Hi there, i am trying to output a list of teasers (or any fields for that matter) as plain text in a block or page display. ie stripped of all images/links/style tags. i am currently attempting to do this with preg_replace() in my page.tpl.php but its a bit hazardous, and am hoping there is some way to do it in the views i am creating.
thanks!
Comments
Comment #1
merlinofchaos commentedThe easiest thing to do would be to theme the field and in you theme function run it through strip_tags.
Comment #3
lolandese commentedhttp://drupal.org/node/659458