AJAX Scroller stips tags from article content.
- sonservant
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
13 years 1 month ago #6305
by sonservant
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
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
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
13 years 1 month ago #6306
by Saka
Emir Sakic
www.sakic.net
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.
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.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- sonservant
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
13 years 1 month ago #6326
by sonservant
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?
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?
Please Log in or Create an account to join the conversation.