guarda lo appena fatta sul mio jommla 2.5.4 che non avevo ancora fatto "neppure ci avevo pensato"
http://www.contiwebsolution.com/
il limite lo impostato a 30 nel modulo
Mmmhhh....avrò sicuramente sbagliato qualcosa io allora, a me non funzionava
Correggimi se sbaglio, le uniche modifiche da fare al mod_search.php erano da così
$upper_limit = $lang->getUpperLimitSearchWord();
$button = $params->get('button', '');
$imagebutton = $params->get('imagebutton', '');
$button_pos = $params->get('button_pos', 'left');
$button_text = htmlspecialchars($params->get('button_text', JText::_('MOD_SEARCH_SEARCHBUTTON_TEXT')));
$width = intval($params->get('width', 20));
$maxlength = $upper_limit;
$text = htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')));
$label = htmlspecialchars($params->get('label', JText::_('MOD_SEARCH_LABEL_TEXT')));
$set_Itemid = intval($params->get('set_itemid', 0));
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'
a così, in pratica vengono due $maxlength ?
$upper_limit = $lang->getUpperLimitSearchWord();
$button = $params->get('button', '');
$imagebutton = $params->get('imagebutton', '');
$button_pos = $params->get('button_pos', 'left');
$button_text = htmlspecialchars($params->get('button_text', JText::_('MOD_SEARCH_SEARCHBUTTON_TEXT')));
$width = intval($params->get('width', 20));
$maxlength = $upper_limit;
$maxlength = $width; // aumentare limite caratteri del search dal mudulo
$text = htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')));
$label = htmlspecialchars($params->get('label', JText::_('MOD_SEARCH_LABEL_TEXT')));
$set_Itemid = intval($params->get('set_itemid', 0));
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
e poi, nell'admin, sistemare nel modulo il limite di caratteri per il search.
Il mio mod_search.php dopo le modifiche era così, era corretto?
$button = $params->get('button', '');
$imagebutton = $params->get('imagebutton', '');
$button_pos = $params->get('button_pos', 'left');
$button_text = htmlspecialchars($params->get('button_text', JText::_('MOD_SEARCH_SEARCHBUTTON_TEXT')));
$width = intval($params->get('width', 30));
$maxlength = $upper_limit;
$maxlength = $width;
$text = htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')));
$label = htmlspecialchars($params->get('label', JText::_('MOD_SEARCH_LABEL_TEXT')));
$set_Itemid = intval($params->get('set_itemid', 0));
$moduleclass_sfx = htmlspecialchars($params->get
('moduleclass_sfx'));
E avevo messo nel modulo il limite a 30 dall'admin.
Se è così a me non andava...boh, bizzarri 'sti codici