On Sep 15, 2007, at 9:53 AM, Dave wrote:
On 9/14/07, Matthew Montgomery <[EMAIL PROTECTED]> wrote:
Hi everyone,
We have many people running into the current 255 character limit of
the "About your blog" field without realizing it until after
submission. An RFE was generated to display the current count
dynamically and captured here.
http://opensource.atlassian.com/projects/roller/browse/ROL-1519
I have some simple JavaScript to handle this. It is currently in
housed in the WeblogConfig.jsp and I am happy to submit a patch when
I am done with the rest of ROL-1519, save for the DB change that
would be needed to up the 255 limit. Couple of comments.
1. Is there a way to pull the current character limit from the model?
I have 255 hardcoded in there at the moment.
2. I still need to externalize the strings for the label.
I think 255 characters is too short for an About this blog field.
To up the limit in the schema we will have to figure out how to write
alter table code that will work with the various databases we support
and add that to the 400-to-410 migration script. We'll probably have
to write a macro that generates the appropriate SQL for each database.
Longer would be better in the DB. One concern I know we would have is
that the themes which support this are designed around 255 visible
characters. But, really the display space in the theme should be made
flexible enough to support more.
--
Matthew Montgomery
.Sun Engineering
Sun Microsystems, Inc.