Closed (fixed)
Project:
Mailchimp
Version:
7.x-2.9
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2012 at 16:42 UTC
Updated:
17 Jul 2013 at 19:09 UTC
Versions 7.x-2.6 and 7.x-2.6+2-dev
When I try to override the Mailchimp Block title for a list in the blocks admin UI, the value entered in the Title field is saved but NOT displayed. I've tried with ''. I've tried flushing all caches & restarting the server. No change. Broken.
Edit - Tried every version from 7.x-2.6+2-dev down to 7.x-2.0-Rc2. Same problem. In the end, I installed 2.5 - I prefer the 'Subscribe' label to the more generic 'Save'.
Comments
Comment #1
bleedev commentedSteps taken (using Mailchimp 7.x-2.x-dev):
Block title entered is shown as the title on the MailChimp block.
Comment #2
bisonbleu commentedHum... Looking back at this, I think that I might have been thinking about the subtitle of this block.
I'm definitely able to change the block's name as suggested in #1. But what I really wanted was to be able to change the 'Sign up for [title_of_list]' that appears just underneath.
AFAIK, the only way to do this is by 'hacking' the mailchimp_lists.module or writing a custom module that overrides this string.
Comment #3
bensey commentedI agree,
I think the 'Sign up for [title_of_list]' text should not be hard-coded in the block description.
It kind of defeats the purpose of allowing people to customise the block message at all, when you have no control over that first line.
Maybe a better solution would be to display that hard-coded message if the description was left empty?
Comment #4
codesmithJust upgraded and this is still an issue. Is there really no way to remove that text in the UI?
I did it with an override in template.php
In my case NEWSLETTER-LABEL is 'newsletter_sign_up'
Comment #5
bensey commentedI've been doing the same thing, but with a
hook_form_FORM_ID_alterimplemented in a custom module.Just thought I'd share another solution that's not theme specific.
It would be good to not have to do this for every site and Mail Chimp list however.
Comment #6
mibfire commentedComment #7
roborracle commentedPerfect solution in #5 - but for the sake of clarity using the list's machine name instead of label is what did the trick for me.
Comment #8
sophiekovalevsky commentedI don't know yet how access to the fields of the module.
It was a problem try to find out the id of the form that I need to change.
For those who need it, download the get form id module http://drupal.org/project/get_form_id
function CUSTOM-MODULE_form_mailchimp-form-id_alter(&$form, &$form_state){
$form['mailchimp_lists']['mailchimp_id-of-the-list']['title']['#markup'] = '';
}
Comment #9
dagomar commentedDrop in fix at #6, works for me.
/* edit
Not a fix, but a workaround.
/edit
Comment #10
gcbFixed in latest Dev release, rolling a new stable release soon.
Comment #10.0
gcbadded infos.