How to create a confirm popup when delete item with field collection?

I have configured a field collection field (unlimited items) for a content type and I want create a confirm popup when user delete an item. For this, i found that i can directly go and modify 2 functions in the field_collection.pages.inc file. They are:

1. field_collection_item_delete_confirm

2. field_collection_item_delete_confirm_submit

I’m a newbie in drupal so I don’t know how to use these function from the field_collection.pages.inc file, I tried to hook these function in template.tpl file but it’s didn’t work. Can someone help me ? Sorry about my English.

Important – Confirm to Amazon Your Websites are not Targeted at Children

Amazon are requiring that you confirm your websites are not targeted primarily at children under 13. If they are, you are not allowed to advertise Amazon for that website.

This is currently for amazon.com only.

Please read this email and follow the instructions. It is easy to do, should take 2 minutes:

Hello,

Thank you for being part of the Amazon Associates program. We’re reaching out to remind you that sites targeted at children under 13 are not eligible to display links and…

Important – Confirm to Amazon Your Websites are not Targeted at Children

How to Handle User Email Confirmation After User Becomes a Paying Customer And Doesn’t Confirm Email

I’m rebuilding my “confirm email” system when a user signs up or changes their email. Websites like Facebook require an email be confirmed each time it is changed, so I have implemented the same. However, if a user does not confirm their email after becoming a paying customer, there is seemingly no way to contact them should something happen with their account…

Scenario:

  1. User signs up for the website
  2. Website sends email confirmation
  3. User confirms email
  4. User signs up for paid subscription on website
  5. User changes email
  6. Website sends email confirmation
  7. User does NOT confirm email
  8. Website is unable to communicate with user…

I realize that it’s the user’s onus to confirm their email, but I could easily see this slipping through the cracks… and by them not confirming their email, it could result in a cancelled subscription or them missing password reset emails.

Is there a general way to go about solving for this scenario?

How to use ConfirmFormBase to confirm the action of another form?

I have a form that allows users to upload a CSV file. Upon submit, I would like to show a confirmation form (“Are you sure you want to import this file?”).

However, the Drupal 8 examples for ConfirmFormBase seem to only focus on building the confirmation form without actually showing how one gets to that form from another form.

Can someone provide an example of a regular form that then works in conjunction with a confirmation form?

Magento 2 Confirmation widget confirm action

I’m trying to execute a function on confirm widget confirmation, but the confirm action is firing on load page always.

Here is the HTML:

<a class="action accept" id="accept_user" href="#">     <span>         <?php /* @escapeNotVerified */ echo __('Accept'); ?>     </span> </a> 

And Here the JS:

<script> require([         'jquery',         'Magento_Ui/js/modal/confirm'     ],     function($  , confirmation) {         $  ('#accept_user').on('click', function (e){             e.preventDefault();             confirmation({                 title: 'Accept user',                 content: 'Do you want to accept this user?',                 actions: {                      confirm: function () {                         <?php /* @escapeNotVerified */ echo $  block->activateUser('$  userId'); ?>                     },                      cancel: function () {                         return false;                     }                 }             });         });     }); </script> 

How to execute the confirm action only when user click on Accept button from confirmation modal?

It’s for frontend area.

Thank you!!

How can one confirm that reported transactions on the exchange actually occur and are not due to wash-trading?

For instance, if I’m subscribed to binance’s websocket trade stream.. and it is reporting trades.. how can one be assured that the trades are actually occuring and not just the exchange trading with itself or generating false data to pump up their volume numbers?