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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
mjoukain

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

Post 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
Last edited by mjoukain on Thu Jun 21, 2007 2:02 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

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

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mjoukain

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

Post by mjoukain »

Thanks, that was the reason! Have to do some imposition!  ;)

BR,
-- MJo
Locked

Return to “Modules/Add-Ons”