Hi,

Great module.

The site I am working on is linked to campaign monitor, and will contain a subscribe form for each campaign monitor list.

I've got that working already, but I'm wondering how I can configure some custom text (e.g. header and footer) for each block. For now I've created a separate block of HTML to show above the CM block, but would like to avoid having to repeat this for every page I want to let people subscribe from.

Is there a way to do this using the module, or can someone recommend a good way to go about this?

Cheers,
B

Comments

billyroebuck’s picture

Issue summary: View changes

Rephrasing my original question...

enricotersi’s picture

Issue summary: View changes

I put some text before filed email by hook_block_view_alter

function mymodule_block_view_alter(&$data, $block) {
  switch ($block->module) {
    case 'campaignmonitor':
      $data['content']['email']['#prefix'] = t('Add some text');
       break;
  }
}
xtfer’s picture

Status: Active » Closed (fixed)