By Ulysses Gonzalez on Tuesday, 23 June 2020
Posted in Technical Issues
Likes 0
Views 804
Votes 0
Curious, as it seems that when a post is created, the meta-description used is from the post; which is amazin..
What I like to know, is there any way to limit the number of characters?

For instance;


https://kissielts.com/forum/2020-06-07-03-48-53



<meta name="description" content="In many countries, the traditional customs are being lost. What you think why this happens? What schools and parents need to do to keep the traditional customs alive? Keywords: traditional customs, lost, why, schools and parents, solutions 技能一 Body1:传统习俗消失的原因 Body2:学校和家长如何让传统习俗保持活力 技能二: Body1:原因类 Body2:solution类 技能三: Body1 传统习俗消失的原因在于人们生活方式改变了,人们不再..." />


Can see in the setting, where I can set, min and max title; so I thought perhaps there is something that can be done about this semi-issue...

Perhaps, there is something that can be done on the backend?
Regarding the setting you shown us that screenshot, it only handle for the ask creation form area instead of meta description on the page.

You have to revert back the original setting if you already updated because I afraid the system will force your site user must put the minimum discussion title and the minimum content length.

Regarding with your current question, unfortunately currently we do not have setting for this to allow admin to set how many character you would like to show into the meta description data.

By the way, we only set display 160 character under this meta description.

If you would like to modify this, you have to modify this file - JoomlaFolder/components/com_easydiscuss/views/post/view.html.php

Look at LINE 358


$pageContent = JString::substr($pageContent, 0, 160);



Change the 160 to another number you want.
·
Tuesday, 23 June 2020 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
160 is great... I guess I didn't see that..
But glad to know what file we may need to change, if it comes to that..
Thanks so much!
·
Wednesday, 24 June 2020 16:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Wednesday, 24 June 2020 16:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post