Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 06:21:37 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155464 Posts in 21707 Topics by 7732 Members
Latest Member: DarrellDD
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Maximum characters in post short in news module  (Read 430 times)
Steven

Offline Offline

Posts: 29


« on: November 14, 2008, 02:15:54 PM »

Hi there,

I'm using the "normal" news module (in this case I can't use the news anywhere..) I would like to be able to set the maximum amount of characters users can put in, in the short description field.  Is that possible and if so, where can I modify this?

Best regards,

Steven
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #1 on: November 15, 2008, 09:41:04 PM »

Hi Steven,

you will need to modify the module or the database ... In the form where you enter the news, you could limit the input field length to achieve what you want, or you could limit the database filed, so it would not accept more than x characters.

If you go for it, choose the first version.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Steven

Offline Offline

Posts: 29


« Reply #2 on: November 19, 2008, 11:58:57 AM »

Hi Klaus,

Thanks for your reply. Since I'm quite a newbie: What and where exactly can I change this? In the modify_post.php I've made an input type instead of the  show_wysiwyg_editor("short","short",htmlspecialchars($fetch_content['content_short'] (line 140). That works but I also want to be able to put in images and styles with the short text.

In short: Is it possible to still see and us the editor for the short post but only with a limited amount of characters (250)?

Thanks,

Steven
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!