[TYPO3] alias input limited to 20 characters

hartmut achtmalvier at googlemail.com
Tue Oct 2 16:45:18 CEST 2007


Patrick Gaumond schrieb:
> hartmut wrote:
>> Hi,
>>
>> I'm having a problem with the input field for the page alias in the 
>> backend (Typo3 4.1.2).
>> The input is limited to 20 characters. But looking at the database, in 
>> table pages the alias field is set to varchar 32.
>>
>> How can I fix that?
> 
> I suppose it's not a brand new (never updated) installation.
> 
> The limit is 32 since at least 4.1 and maybe 4.0.
> 
> Before that, my extra-hot-and-complicated-3-lines extension alias32 was 
> a cure for that length.  :)
> 
> http://typo3.org/extensions/repository/view/alias32/0.1.0/
> 
> My BE form for pages has this (maxlength="32") in the source:
> 
> <input type="text" 
> onchange="typo3form.fieldGet('data[pages][32][alias]','nospace,alphanum_x,lower,unique','',0,'');TBE_EDITOR.fieldChanged('pages','32','alias','data[pages][32][alias]');" 
> maxlength="32" class="formField2" style="width: 96px;" value="" 
> name="data[pages][32][alias]_hr">
> 
> Patrick
> 
Hi Patrick,

No, my installation at least WAS brand new. Maybe I already messed too 
much around with it.

I also tried your extension already with no success. Otherwise I really 
like it. Its so simple, I am really able to read it and see what it does!

What I also tried is putting:
$GLOBALS['TCA']['pages']['columns']['alias']['config']['size'] = 32;
in typo3conf/ext_tables.php

But the only effect is that the input field is now double the size but 
still not allowing more characters.

Where can I find that BE form you were talking about?

cheers
hartmut


More information about the TYPO3-english mailing list