Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi all
I would like to ask you if anyone know how to change a maxlength description of each slideshow? Now it is set to 128, i tried to look everywhere for it but for now with no results .
I would be grateful for an answer
Best regards, Tomasz
Comments
Comment #1
zerocool22 CreditAttribution: zerocool22 commentedYes would also like to know if this is possible or not?
Thanks!
Comment #2
zooyorkpl CreditAttribution: zooyorkpl commentedI've found working solution (not sure if this is 100% right)
Description of each slide is a textform.
You can change settings of a textform in module/system/system.module file
Near line #357 you can find :
$types['textfield'] = array(
'#input' => TRUE,
'#size' => 60,
'#maxlength' => 128,
'#autocomplete_path' => FALSE,
'#process' => array('ajax_process_form'),
'#theme' => 'textfield',
'#theme_wrappers' => array('form_element'),
Just need to change #maxlength to the length you currently need.
Comment #3
zerocool22 CreditAttribution: zerocool22 commentedthanks that worked!
However is it also possible to expand the slider downwards, as I set the max length to 1500 characters. The slider itself can show up to 250 characters or something, I can make the slider vertically bigger I can create bigger texts in the slider?
Thanks!