If mollom is enabled as a module but there's not yet a key present it should not display "Delete post" in node links.
Currently there's no way to remove the link than disabling the module.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 453252-mollom-links.patch | 3.86 KB | dave reid |
Comments
Comment #1
dries commentedWhy would you enable the module but not configure a key?
Comment #2
jeffschulerIt would be nice to be able to choose whether--and on which content types and to which roles (or on a by-user basis)--the "Delete post" link appears.
Comment #3
dave reidAttached patch make some improvements to the mollom_link() implementation:
1. Only displays the links if Mollom is configured (public and private keys are provided)
2. Change the link titles for both comments and nodes to 'Report to Mollom' so users are confused by possible duplicate 'Delete' links on nodes (see Admin links module).
3. Change the menu title for reporting e-mails from 'Report and delete' to just 'Report' since we can't 'delete' e-mails.
4. Prefixes the mollom link key strings with
mollom_to prevent name-space collision.Comment #4
dave reidComment #5
dave reidCommitted to CVS. Please file a new feature request about choosing which node types to allow the 'Report to Mollom' link on.
Comment #6
miro_dietikerThanks dave! Great