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.
This is a brilliant module. Is it possible to increase the size of the "Title" field in the edit form, some of our captions run very long and the small text field is a problem. I think in current version it allows 500 characters for the "Title"
Comment | File | Size | Author |
---|---|---|---|
#2 | 2012-03-25_1827.png | 52.69 KB | tommann |
Comments
Comment #1
acke CreditAttribution: acke commentedThanks for kind words! Hm, I don't think it's easy for this module to change the width of the title field in the node edit page or WYSIWYG-editior - if thats what you mean? Please attach a screen shot with what title field you want, then I can try to figure out if it's possible. I mark this with a wont fix for the moment - because I think the solution is more of a configuration of Drupal or another module... :)
Comment #2
tommann CreditAttribution: tommann commentedThe maximum length of the title is 1024 characters, which is a Drupal setting, but I want to also display it so that when we add long captions they are visible in the form, so 750 or so. I tried to do something with the template but could not figure it out, using this:
function bic_zen_preprocess_html(&$variables, $hook) {
$variables['sample_variable'] = t('Lorem ipsum.');
In code it looks like :
input id="edit-field-mphoto-und-0-title" name="field_mphoto[und][0][title]" value="" size="60" maxlength="1024" class="form-text" type="text"
I want to change size to 750. I guess it really is not part of your module, but it could be!