Author Topic: AJAX Scroller stips tags from article content.  (Read 929 times)

sonservant

  • Newbie
  • *
  • Posts: 6
    • View Profile
AJAX Scroller stips tags from article content.
« on: 28 September 2011, 16:11 »
Hi,
I have two instances of the AJAX Scroller module on my home page. One I have configured as a news ticker based on your configuration and CSS on the demo page and it's working great.
The other I want to use as a slider for articles in a category and this is the one I'm having issues with.
You can see the site at http://www.transformingit.org (obviously under construction  ;) ).
I'm testing 3 modules and I like yours but I can't get the article formatting I need for the description text since the html tags are stripped. I need to at least get the <p> and ideally the ul, li, h2 tags as well.
I've configured the module to not strip tags, but I see from the forum, dating back a few years, that <div> and <p> are stripped regardless unless no character limit is imposed which won't work for my application.
Not being able to format the text is a deal breaker for using this otherwise very capable module extensively so I hope there is a solution available.
Thanks,
Herb

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,495
    • View Profile
    • Sakic.Net
Re: AJAX Scroller stips tags from article content.
« Reply #1 on: 28 September 2011, 23:29 »
Stripping tags must occur if you configure a character limit. Otherwise it would be cut in the middle of a tag and break HTML.
So set the limit to 0 (no limit) and you will get full HTML. You can always limit by displaying intro only and not full article.

sonservant

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: AJAX Scroller stips tags from article content.
« Reply #2 on: 09 October 2011, 20:12 »
Sorry for the tardy reply, I didn't realize I needed to configure my profile to receive notifications (which I've now done ;) ).
The 0 limit option isn't so good since that requires duplicate articles. Much nicer solution is to truncate and close the tag like some other modules I use do.
Any chance of an update to do this?