In the startpage.tpl the questions for the most recent are referenced as {latestEntriesTitle}
These titles are cut short by phpMyFAQ and the periods added like this ...
My question is, where can I define how long I want the text to be before it is cut short?
Thanks!
How to alter length of titles?
Moderator: Thorsten
Re: How to alter length of titles?
Hi,
which version do you use?
bye
Thorsten
which version do you use?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to alter length of titles?
Hi,
it's defined in inc/Faq.php line 1592:
8 is the number of words. So if you want more words than eight, change the number.
bye
Thorsten
it's defined in inc/Faq.php line 1592:
Code: Select all
$shortTitle = PMF_Utils::makeShorterText($row['thema'], 8);
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: How to alter length of titles?
Hello,
Where can this be edited in V. 2.6.9
Where can this be edited in V. 2.6.9
Re: How to alter length of titles?
Hi,
it's line 1624:
bye
Thorsten
it's line 1624:
Code: Select all
$output['title'][] = PMF_Utils::makeShorterText($row['thema'], 8);
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist