By Brian Peat on Wednesday, 07 January 2015
Posted in Technical Issues
Replies 9
Likes 0
Views 0.9K
Votes 0
I noticed today that the Latest Blogs module is stripping all paragraph breaks (and most likely all html) from the output. I have set "Remove HTML Codes" to NO, but it makes no difference. At first I thought it might be the html override I made for the module, but I disabled that and it still strips the html.

I'm wondering if this is a glitch in the actual module, or if it's something on my site that's causing it.
Hi Brian,

I am sorry for the late reply.
I believe your assumption is correct. EasyBlog latest module will not have HTML in the content displayed if you truncated the content. This is because it will truncating the HTML as well.

Hope I explained this well. If you have anymore question, please don't hesitate to ask us.
Thanks.
·
Wednesday, 07 January 2015 13:03
·
0 Likes
·
0 Votes
·
0 Comments
·
hello Brian Peat,

If you want your blog post truncation in Easyblog blog post module, so it will display non-html format blog post, because those content already get truncated.

If you set "Total character" to 0, so that it will show proper html format in your blog module. Hope this help.
·
Wednesday, 07 January 2015 02:07
·
0 Likes
·
0 Votes
·
0 Comments
·
We're not using intro text. Bummer. I assume it can't truncate WITH the html intact, so that's why it's stripping it when I use the truncate function?
·
Wednesday, 07 January 2015 02:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Wooohooo! This works. I inserted a readmore break in the blog post, and set the module to Intro and that did it.

thanks!
·
Wednesday, 07 January 2015 23:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Brian, glad that your issues are resolved now
·
Thursday, 08 January 2015 00:12
·
0 Likes
·
0 Votes
·
0 Comments
·
As a follow up, the way I set this blog up, hitting the menu item pulls up just one post, and we really want it to be the FULL post, not just the intro. When I flipped the module to intro and added that read-more break, it made the post then only show the intro unless you specifically click on that post. That's fine if you get there from the module, but if you browse the site and click on the blog link, you end up with the intro only for the newest post.

I don't mind hacking the blog template (which I'll try my hand at today), but I'd love some guidance on what to modify to make the post always show the full thing and not the intro, even if there's a read-more in the post.

Update: I realized I could use the Single post-latest entry menu item, but the problem with that is that it doesn't show the pagination below the post, it simply has a left arrow taking you back one post. I can live with that if there's no other solution, but it would be nice to find a way to make the home page layout display the entire article.

Thanks!
·
Thursday, 08 January 2015 02:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Brian,

I am sorry for the late reply.
If I understand you correctly, you want your latest blog post module to shows all content without striping HTML. Here I have attached to you a file, please download it and put it in your site here: ...\modules\mod_latestblogs\helper.php . Also, please remove the readmore in your blogpost in order for this to work.
If this hack doesn't work, can you kindly provide us with backend access and FTP access so that we can apply the necessary fix on your site.

Please advise.
Thanks.
·
Thursday, 08 January 2015 15:15
·
0 Likes
·
0 Votes
·
0 Comments
·
I think you misunderstood me.

What I want is to be able to use the read more (which I realize now allows me for more control over what appears in the module), so that's great...but once I used that, the articles on the frontpage layout in easyblog only show the intro. As a result, I switched the menu item to a single view set to the latest post. But doing that removes all of the paging options below (since it's no longer the home view) and displays all the sharing options and comment fields). It's not that big of a deal, but I just wondered if there was a way to force the "frontpage" menu view to ignore the read more function and display the entire article.
·
Thursday, 08 January 2015 22:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Brian,

I am sorry for the misunderstanding.
If you're using readmore, the blogpost in the frontpage layout will only shows the intro. However, if you want to force the "frontpage" menu view to ignore the read more function and display the entire article, here I have attached to you a file, can you try download it and put it in your site here: ...\components\com_easyblog\helpers\helper.php . Please give it a try and see if this resolves your issue.

Hope this will work.
Thanks.
·
Friday, 09 January 2015 11:29
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post