The service options field ( $form['options']['sharethis_service_option'] ) doesn't specify a #maxlength, and was limited to 128 characters in our system.
Adding #maxlength => 255 to the form field (sharethis.module around line 130) enables adding more services to the ShareThis widget.

Still, a textfield might be too small a field to store lots of sharing service options.


ShareThis Support’s picture

Hi mropanen,
You can update the drupal settings in file /modules/system/system.module


$types['textfield'] = array(
'#input' => TRUE,
'#size' => 60,
'#maxlength' => 1024,
'#autocomplete_path' => FALSE,
'#process' => array('ajax_process_form'),
'#theme' => 'textfield',
'#theme_wrappers' => array('form_element'),

This will allow you to store more Sharing services.

smitty’s picture

You really want to patch the core for this?

I think this must be handled by the module!

RobLoach’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.