By Paul Murray on Tuesday, 04 July 2017
Posted in Technical Issues
Likes 0
Views 1.3K
Votes 0
Hi SI Team

here: setting stream>activity stream>layout>truncate content = 1000
(I believe this is broken any way: https://stackideas.com/forums/simple-trick-to-navigate-from-previous-to-next-video)

Seems like the truncation for the description was hardcoded in the videos page (with value 120 character), where caused the description(consist html code) was not rendered correctly 
But your description consist 592 character https://www.screencast.com/t/nx71Pd3aE8H
Perhaps you can go to this file:
JoomlaFolder/components/com_easysocial/themes/wireframe/videos/default/item.php
and search for the code below:



<?php echo $this->html('string.truncate', $video->getDescription(), 120);?>


Which I did and entered 300 and this worked perfectly for a number of months.

Today truncation for videos seems to work according to some random principle that I do not understand:

https://www.finalbug.net/groups-learn-post-production-socially-fcpx-and-more/groups/26-fcpx-not-pro/videos

Full description of the first video (Edit NOT Like a Pro 01) is ( 37 words 236 characters):


Lets face it there is no better way of knowing if an application is active by clicking on it. If you are unsure if a given application is active... Give it a little shake! {source}[[a href="http://bit.ly/2m6iA9m"]]Next ▶[[/a]]{/source}


The description is truncated to this:

Lets face it there is no better way of knowing if an application is active by clicking on it. If you are unsure if a...


Full description of the second video (Edit NOT Like a Pro 02) is (39 words 284 characters):
{source}[[a href="http://bit.ly/2n9Wwfd"]]◀ Previous [[/a]]{/source} There are a lot of things that are taken care of you from the moment you open Final Cut Pro X. Libraries & Events are all there for you, ready to go. {source}[[a href="http://bit.ly/2n35LRF"]]Next ▶[[/a]]{/source}


The description is truncated to this:

◀ Previous There are a lot of things that are taken care...


Any ideas what is going on?

thanks

Paul

ps Please note I am using this here to count my words:

https://wordcounter.net/
Hi Paul,

It seems that there template override on that particular files as you can see here http://take.ms/nXwFu. I have renamed it and it should works fine now. Or Maybe you can applied those fixes you made on original path into your template override files. Please give it a try and see how it goes
·
Tuesday, 04 July 2017 10:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul

That is great that the text works.
Problem is that the overwrite file was there for a reason.
https://stackideas.com/forums/posting-vimeo-only-on-sites-i-choose
I am guessing here but I guess what needs to be done is.
a) Reactivate the overwrite file.
b) Apply the truncation fix to the overwrite file.

Can you help me with this?

Please see the screen shots for the current problem.

thanks

Paul

ps to access this group:

https://www.finalbug.net/groups-learn-post-production-socially-fcpx-and-more/34-fcpx-foundations-videos

you need to enter: ***********
·
Tuesday, 04 July 2017 13:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I have applied them for you and it should works as it should now. Please give it a check and see how it goes
·
Tuesday, 04 July 2017 13:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul

Thank you

Perfect as always

Paul
·
Tuesday, 04 July 2017 13:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Tuesday, 04 July 2017 13:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post