7 posts by 5 authors in: Forums > CMS BuilderLast Post: November 29, 2011 (RSS)
By jtedescojam - January 12, 2011
<?php if ($record['content']): ?> <?php echo $record['content'] ?> <?php endif ?>
Re: [jtedescojam] displaying content without images
By Jason - January 12, 2011
<?php if ($record['content']): ?> <?php echo strip_tags($record['content']); ?> <?php endif ?>
Re: [Jason] displaying content without images
By Mikey - November 28, 2011
Hi,You could use the php function strip_tags() to remove all the HTML tags from the content field:<?php if ($record['content']): ?> <?php echo strip_tags($record['content']); ?> <?php endif ?>Hope this helps.
Re: [zick] displaying content without images
By robin - November 29, 2011
echo preg_replace("/<img[^>]+\>/i", "", $record['content']);
Re: [robin] displaying content without images
By Mikey - November 29, 2011
By InHouse - November 29, 2011
.myArticle img {display: none; visibility: hidden;}