215 Posts
iliil
11 years ago
3
Topic

Hello everybody

I really appreciate the ability of frontend content deletion. It just would be great if there was  a sort of confirm dialog box before the article is actualy deleted.

In the delete link configuration there is an option "confirm" but it has no effect. Does anybody know if the confirm box is bossible and what is the confirm option for?

Thank you very much

Michal


Get a VIP membership
11 years ago
2
Level 1

Hi michalmarianek,

If you don't have a confirm box before that your article will be delete, that's means you have a javascript error in your page. Please, check (for example with firebug).

Regards,
Mehdi.

215 Posts
iliil
11 years ago
0
Level 2

Hello Mehdi. Thanks for your answer.

Unfortunatelly, the firebug console doesn't show any JS  errors or conficts.

This is the configuration of the field:

I'm showing the link in my custom seblod template in bootstrap dropdown :


The deletion works but doesn't show the confirm box. Would you have other ideas?

thanks so much
Michal

10 years ago
0
Level 2
Hi mehdi.
Me, I have a javascript error. This is a french translation problem :
The problem is in this files :
\language\fr-FR\fr-FR.com_cck.ini
\administrator\language\fr-FR\fr-FR.com_cck_core.ini

replace the line :
COM_CCK_CONFIRM_DELETE="Êtes-vous sûr de vouloir supprimer l'élément sélectionné ?"
by
COM_CCK_CONFIRM_DELETE="Êtes-vous sûr de vouloir supprimer l\'élément sélectionné ?"

it worked for me.
(i'm in the release 3.1.3. please correct this in the next release). Thx!
Get a VIP membership