In this board you can talk about general questions about phpMyFAQ
Moderator: Thorsten
-
UncleSteve2
- Posts: 21
- Joined: Fri May 13, 2011 5:36 pm
Post
by UncleSteve2 »
I suspect this has been asked before, but my searches have failed, sorry.
The field size for new questions seems to be set at 255 characters, where can I increase this size please? Relates to this page -
http://www.faq.mydomain.net/admin/index ... =editentry
I've looked in the database, and change a few likely fields, but I still can't add more than 255 characters in the question field.
Thanks in advance for any help

-
UncleSteve2
- Posts: 21
- Joined: Fri May 13, 2011 5:36 pm
Post
by UncleSteve2 »
Found it
File mydomain.net/faq/admin/record.edit.php
around line 221
Code: Select all
<input name="thema" id="thema" style="width: 720px; height: 30px; font-size: 24px;" value="<?php if (isset($faqData['title'])) { print PMF_String::htmlspecialchars($faqData['title']); } ?>" maxlength="255" /><br />
-
UncleSteve2
- Posts: 21
- Joined: Fri May 13, 2011 5:36 pm
Post
by UncleSteve2 »
Is there a way to format the question field to display the text as html rather than one line of text please?
Thanks in advance

-
Thorsten
- Posts: 15749
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
-
Contact:
Post
by Thorsten »
Hi,
if you want to save HTML in the question field, it will be stripped. What kind of HTML do you want to add there?
bye
Thorsten
-
UncleSteve2
- Posts: 21
- Joined: Fri May 13, 2011 5:36 pm
Post
by UncleSteve2 »
At present, if I enter my question as....
Line 1
Line 2
Line 3
It will show as...
Line 1 Line 2 Line 3
I would really like to retain the formatting, so that the question prints/shows as...
Line 1
Line 2
Line 3
How can I achieve this please?
Thanks
Steve
-
Thorsten
- Posts: 15749
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
-
Contact:
Post
by Thorsten »
Hi,
I'll check how to do this easily.
bye
Thorsten
-
Thorsten
- Posts: 15749
- Joined: Tue Sep 25, 2001 11:14 am
- Location: #phpmyfaq
-
Contact:
Post
by Thorsten »