-
AuthorPosts
-
October 4, 2016 at 3:20 pm #973463
Is there a way to prevent slideshow from stripping the html tags out of an article? I need to include some styling like bold and unordered lists.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 4, 2016 at 3:25 pm #973467Hi
Try to disable your default editor from global configuration , in this way you can add your html code directly , after saved you can enable it again.
October 4, 2016 at 3:29 pm #973469Thanks but I have already tried that. It’s not the editor that is stripping the tags, it’s slideshow.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 4, 2016 at 3:32 pm #973470could you share your website url and a temp super access to it ? you can answer as private reply to this post.
October 4, 2016 at 3:40 pm #973477This reply has been marked as private.October 4, 2016 at 3:56 pm #973486This reply has been marked as private.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 6, 2016 at 3:46 pm #974187Hi
at this url http://www.copierconsultants.net/v3x/ there is an empty folder, maybe is it wrong ?
October 6, 2016 at 3:57 pm #974192I have moved v3 to root
http://www.copierconsultants.netpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 6, 2016 at 4:03 pm #974193Account provided is wrong
October 6, 2016 at 4:42 pm #974194fixed
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 6, 2016 at 5:49 pm #974201Hi
Your ja slideshow is taking content from articles , style for slides is defined into this file
/templates/ja_rasite/css/mod_jaslideshow.css.You can set your desired customizations changing values inside that file or use the style inside the article itself
<p style="font-weight:700;">
I added it at the article with id 96 and as you can see it is reflected correctly in the slideshow
-
October 6, 2016 at 6:56 pm #974219
Right, but it still strips the tags out. How do you include unordered lists?
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
October 6, 2016 at 7:32 pm #974226How do you include unordered lists?
You should apply css code to/templates/ja_rasite/css/mod_jaslideshow.css if you want to have custom styles for your ja slideshow styles.
October 6, 2016 at 7:44 pm #974229I can’t apply a style to list tags if it strips the list tags from the article. How can I prevent the tags from being stripped?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 10, 2016 at 8:12 am #974944Hi @mkraus61:
Try to apply my solution on your siteOpen modules/mod_jaslideshow/tmpl/default_articles.php file find and change
<?php echo $helper->trimString( strip_tags($item->introtext), $navDescmaxlength ); ?>
to
<?php echo $helper->trimString($item->introtext, $navDescmaxlength ); ?>
Let me know if it helps .
-
AuthorPosts
Viewing 15 posts - 1 through 15 (of 15 total)This topic contains 14 replies, has 3 voices, and was last updated by Ninja Lead 8 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum