Parallax MaxLength

magicprophecy's picture
magicprophecy
Sat, 07/26/2014 - 22:26
#1
Parallax MaxLength

Trying to change Max Length of characters for Title and Description for all Parallax sections!

From theme-settings-design.inc I increased the maxlength from 1000 to 2000 but there is no change! Which file do I need?

$form['md_alpine_settings']['design']['design_parallax']['parallax_'.$i.'']['pr_'.$i.'_title'] = array(
'#type' => 'textfield',
'#title' => 'Parallax '.$i.' Title',
'#default_value' => theme_get_setting('pr_'.$i.'_title') ? theme_get_setting('pr_'.$i.'_title') : '',
'#max_length' => 2000,
);
$form['md_alpine_settings']['design']['design_parallax']['parallax_'.$i.'']['pr_'.$i.'_des'] = array(
'#type' => 'textfield',
'#title' => 'Parallax '.$i.' Description',
'#max_length' => 2000,
'#default_value' => theme_get_setting('pr_'.$i.'_des') ? theme_get_setting('pr_'.$i.'_des') : ''

magicprophecy's picture
magicprophecy
Sun, 07/27/2014 - 02:41

Fixed by removing the _ between max and length!

cindy's picture
cindy
Sun, 07/27/2014 - 22:32

Hi Magicprophecy,
Thank you very much for your contributive feedback

Regards,
Megadrupal Team

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.