[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
augras@80fe87d7
started solved Bugs après maj 2.5 vers 3.02
International Discussions
Simon
started solved 🇫🇷 Choix des langues
Bug reports
2582cb8e
started solved Image Upload Testing
Open Bar
Deno@dde5f88a
started Not really a question, but rather congratulations
General Questions