[SOLVED] Increase the number of topic characters
![](https://flatboard.org/uploads/avatars/generates/a0445595ex50dot.png)
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
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
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 😫.
![](https://flatboard.org/uploads/avatars/generates/a0445595ex50dot.png)
Suggested Topics
![Ben](https://flatboard.org/uploads/avatars/generates/6cb01ce90x50dot.png)
Ben@84171e7c
started Is the Image Upload button working?
General Questions
![Yhellothar](https://flatboard.org/uploads/avatars/generates/f9c150a47x50dot.png)
Yhellothar@84618b92
started Hiya everyone
Open Bar
![Ben](https://flatboard.org/uploads/avatars/generates/05affe662x50dot.png)
Ben@e45e27cd
started Need help figuring out how to add dynamic image from data/topic posts
General Questions
![](https://flatboard.org/uploads/avatars/generates/2c5a5cc60x50dot.png)
Tasy#5e2c578c
started solved Small mistake in the french version - v.1.0RC2
Bug reports