By Peter McLeland on Monday, 21 November 2016
Posted in Technical Issues
Likes 0
Views 540
Votes 0
I'm not sure if these two issues are connected but as they both relate to EasySocial information within article display I thought you might be able to advise.

1 At some stage recently, presumably after an update, my articles are not displaying correctly when in category blog view. That is when coming from a menu item the list of articles intros no longer show an intro image and also show EasySocial author info where they shouldn't - see screenshot.

2 When looking at a user's article history within EasySocial by having the 'Article' App enabled there is and additional intro image displayed and visible code that is within {} brackets.

In both cases the articles display properly when in normal view.

Any ideas please?

Thanks.
I am sorry for the delay of this reply,

1 At some stage recently, presumably after an update, my articles are not displaying correctly when in category blog view. That is when coming from a menu item the list of articles intros no longer show an intro image and also show EasySocial author info where they shouldn't - see screenshot.

I've temporary disable the Easysocial author info option from backend > Plugins > content - Easysocial plugin.
It shouldn't display those author info on that page now.

2 When looking at a user's article history within EasySocial by having the 'Article' App enabled there is and additional intro image displayed and visible code that is within {} brackets.

It seems like it render 2 times image on the article app, I've applied some temporary fix in this file /httpdocs/components/com_easysocial/themes/wireframe/articles/default.php , it should display 1 image now.
And the {} code, I will report this to our developer regarding this and see whether we can do not display these code on the article app.
·
Tuesday, 22 November 2016 16:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex that is looking better.

Although I would like to get back to showing 'Author Info' properly at some stage
·
Tuesday, 22 November 2016 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You're welcome Peter

I've check further from your site, it seems like your current template have template override Joomla single category page php file ()/httpdocs/templates/rt_ambrosia/html/com_content/category/blog_item.php added these following strip_tags code to display properly on your page.

<?php echo strip_tags($this->item->introtext); ?>

But because of this, it strip all the html code to become a few character on the page, causing the Easysocial Author info appear on the content which you reported in earlier.

If I remove this strip_tags code from that code file, it did show correctly the author info but your article content is not show properly. You can check my attached screenshot below.

What my suggest is only show the Easysocial author info from your Joomla article entry page, and it will not show on your Joomla single category page, is it okay for you?

By the way, I did modified on this file -> JomlaFolder/plugins/content/easysocial/easysocial.php


Can you give it a check?
·
Wednesday, 23 November 2016 13:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Yes thank you, that looks fine now.

Do you know whether your developers can do anything with the curly brackets {} code yet?

Thanks for your help.

Neil
·
Wednesday, 23 November 2016 17:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey peter.

You're welcome.

You have to replace this file JomlaFolder/plugins/content/easysocial/easysocial.php for the future update, I already attached the file at above reply.

Do you know whether your developers can do anything with the curly brackets {} code yet?

I already consult with our developer regarding this, we will decide skip those {} brackets code from the user profile view and we still working on.
·
Wednesday, 23 November 2016 22:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Curly brackets fixed in 2.0.6 - thank you very much!

And, re-uploading the modified file still works too.

Top job!
·
Sunday, 27 November 2016 00:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Peter, glad that your issues are resolved now
·
Sunday, 27 November 2016 01:17
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post