[SOLVED] Increase the number of topic characters
solved Increase the number of topic characters
Alexander Liebrecht Sunday 2nd April 2017, 01:45:55Hello Developers,
I wanted to know how to increase the number of possible characters in the Topic and the Markdown Editor. I had yesterday a page with privacy policy with more than 2000 words create what was then linked in the forum in navigation.
But unfortunately the system shows me that the text in the editor is too long.
How can I change the default values for the text length?
Thanks in advance.
I wanted to know how to increase the number of possible characters in the Topic and the Markdown Editor. I had yesterday a page with privacy policy with more than 2000 words create what was then linked in the forum in navigation.
But unfortunately the system shows me that the text in the editor is too long.
How can I change the default values for the text length?
Thanks in advance.
Alexander Liebrecht locked the discussion.
Replies 2
Hi **Alexender**,
To do this you need to modify the **add.php** file and search the function on
And search and modify the number lenght (4000):
The same for **edit.php**, and search the function on
And search and modify the number lenght (4000):
To do this you need to modify the **add.php** file and search the function on
if(Util::isGETValidEntry('forum', 'topic'))
And search and modify the number lenght (4000):
HTMLForm::check('content', 1, 4000)
The same for **edit.php**, and search the function on
if(Util::isGETValidEntry('topic', 'topic') && (User::isWorker() || User::isAuthor($_GET['topic'])))
And search and modify the number lenght (4000):
HTMLForm::check('content', 1, 4000)
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Suggested Topics
SurveyBuilder-Admin
started plugin Backup Admin Key
Resources
Zero@f6d6fa1b
started Un coucou-merci
International Discussions
ben@1e3fad14
started Easy way to change user names?
Bug reports
http://cmstips.com
started search HTTP 404
General Questions