Blog

Open bootstrap 5 modal

User open bootstrap 5 modal using js Assistant In **Bootstrap 5**, you can open a modal using JavaScript with the built-in `Modal` class. Here’s a simple example: ### HTML <!– Button to trigger –> <button id="openModalBtn" class="btn btn-primary">Open Modal</button> <!– Modal –> <div class="modal fade" id="myModal" tabindex="-1"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title">Bootstrap […]

3D Secure transaction block

User we are using this https://pay.sandbox.realexpayments.com/pay but wen test card we get Transaction blocked by merchant's 3D Secure configuration Assistant That error means your sandbox merchant is set to **block any transaction that isn’t 3-D Secure–authenticated** (for example: card not enrolled, auth unavailable, or failed challenge). Your HPP post is fine—the sandbox HPP URL `https://pay.sandbox.realexpayments.com/pay` […]

Git clone with app password

User git clone by app password Assistant Got it 👍 — you want to clone a Git repo using an **app password** (commonly used with Bitbucket or GitHub when 2FA is enabled). Here’s the format you should use: ### 1. For HTTPS clone with **username + app password** git clone https://<username>@bitbucket.org/<workspace>/<repo>.git 👉 When it asks […]

Gravity Forms custom field

User — Assistant You’re seeing only the hidden value saved because Gravity Forms only stores inputs whose names follow its expected pattern: `input_.`. Your current HTML uses plain inputs (no GF-style names), so GF ignores them. Below are the **minimal changes** to make your custom field a proper **multi-input** field so that GF saves every […]

Multistep Bootstrap modal form

User create multistep bootstrap 5 modal foerm Assistant I’ve put a ready-to-use Bootstrap 5 multi-step modal form in the canvas. It includes: – 3 steps with a visual stepper and progress lines – Built-in Bootstrap validation (Next is blocked until current step is valid) – “Back / Next / Submit” controls with a review step […]

Best EC2 instance for Angular Laravel

User Best ec2 instance for task manage and real time app in angular front and laravel backend Assistant Short answer: pick a **modern general-purpose or compute-optimized instance from the 7th gen families** (x86 “i” or ARM “g”), size it by concurrency, and keep WebSocket workers separate from the PHP queue workers. Here’s a practical menu […]

Health analysis and control

User Do all the analysis and let me know whats higher and what we need to control Assistant I’ve gone through the full report for **Mr. Alok Kumar Gupta (51 Y/M)** and here’s a clear analysis of what’s normal, what’s high/low, and where attention/control is needed: — ## ✅ Normal / Within Range – **CBC […]

Manage add/edit form

User manage add/edit form same controller and open same page like feed.php in concrete cms Assistant Got it. Here’s a clean pattern for **one Single Page (feed.php)** that handles both **Add** and **Edit** in the same controller in Concrete CMS 9+. — # 1) Single Page + Controller structure /application /single_pages feed.php <– one page […]

PHP code fixes

User Assistant Here are the **minimal fixes** you need: — ### 1) Imports (add at the top) use PagerfantaPagerfanta; use PagerfantaAdapterFixedAdapter; use ConcreteCoreSearchPaginationPagination; — ### 2) Fix the wrong helper call in `tracklog()` Replace: ['page' => $page, 'perPage' => $perPage, 'offset' => $offset] = $this->getPagination(); with: ['page' => $page, 'perPage' => $perPage, 'offset' => $offset] […]

Fix WooCommerce fatal error

User <script> jQuery(document).ready(function ($) { //Check for an entry cookie in the product's category <?php $product_cat = false; $product_id = $product->get_id(); $product_cats = get_the_terms( $product->get_id(), 'product_cat' ); if ( $product_cats ) { $product_cat = $product_cats[0]->term_id; } if ( $product_cat && !get_post_meta( $product_id, '_pmm_consultation_form_id', true ) ): ?> var categoryId = '<?php echo absint($product_cat); ?>'; if […]