Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Make rightTitle show up in Mollom field?


Reply


3 Posts   484 Views

Avatar
flipsidenz

Community Member, 49 Posts

6 September 2012 at 10:30pm

I can't seem to get the right title to show up on a Mollom field?

$protector = SpamProtectorManager::update_form($form, null, $fieldMap, null, 'Please enter the value from the image below');

Am I doing something wrong? I thought the fifth expected variable was for the right title? It doesn't appear when using this code.

Any help would be welcome

Avatar
Willr

Forum Moderator, 5513 Posts

7 September 2012 at 9:27pm

That is the correct code, though the mollom module does not add the rightTitle to the HTML (https://github.com/silverstripe/silverstripe-mollom/blob/master/code/MollomField.php#L33).

You could add a LiteralField to your form for your label or patch the module to add rightTitle support.

Avatar
flipsidenz

Community Member, 49 Posts

26 September 2012 at 6:57am

Thanks for this, appreciated.