Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
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!