Page 1 of 1

News module (version 2.2) remove <p> from {eval var=$entry->summary}? SOLVED

Posted: Thu Jun 21, 2007 1:37 pm
by mjoukain
Hi!

Being a newbie, is there is way to remove formatting coming from:


{eval var=$entry->summary}


to avoid additional lines in news page (yes css is also here in the story)? Can this be done with templating or do I need do actual coding?

BR,
-- MJo

Re: News module (version 2.2) remove <p> from {eval var=$entry->summary}?

Posted: Thu Jun 21, 2007 1:41 pm
by calguy1000
use source mode, or disable the wysiwyg.... it puts the tags in there.  I'll bet this is your problem.

Lesson #1, wysiwygs are evil.

Re: News module (version 2.2) remove <p> from {eval var=$entry->summary}?

Posted: Thu Jun 21, 2007 2:01 pm
by mjoukain
Thanks, that was the reason! Have to do some imposition!  ;)

BR,
-- MJo