Plugin

Archived
Forum
(read-only)

AJAX Babble

ExpressionEngine 1.x, ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

Removing the comment removal confirmation

Feature Request

EnergyFreak
EnergyFreak

Hi,

I would like to know how I can remove the “Do you really want to delete this comment” warning that appears when trying to delete a comment. Also If I want to translate this module, what files would I need to change? Is there a way to modify the words by adding conditional variables such as:

{if "{language_code}" != "en"}Tableau de bord{if:else}Dashboard{/if} 

I found the location of those words, but I don’t think I can add conditionals and variables in .php files.

Thanks.

Laisvunas
# 1
Developer
Laisvunas

Hi,

This add-0n outputs only two messages for the users:

1) empty comment alert

2) delete comment confirmation dialog

You can set the text of these messages by defining parameter “empty_comment_message_text” of “exp:ajax_babble:script tag” and defining parameter “alert_text” of “exp:ajax_babble:delete_link” tag.

Currently it is not possible to delete comment without confirmation dialog being shown. But without it the user could delete his comment by accidentaly clicking “Delete” link, and it would be not great, isn’t it?