Month: August 2025

Wrap items in h3

User $('#addonsList').html(apiResult.addons.join('')); wrap with h3 each ,ist Assistant To wrap each item in the `apiResult.addons` array with an “ tag before inserting them into the `#addonsList` element, update your code like this: $('#addonsList').html( apiResult.addons.map(function(addon) { return '<h3>' + addon + '</h3>'; }).join('') ); This wraps **each** addon in an “ tag and injects them all […]

App Permission and Event Load

User document.addEventListener('deviceready', function () { if (cordova.platformId === 'android') { var permissions = cordova.plugins.permissions; permissions.checkPermission(permissions.CAMERA, function (status) { if (!status.hasPermission) { // Request permission permissions.requestPermission( permissions.CAMERA, function (status) { if (status.hasPermission) { navigator.splashscreen.hide(); // Hide splash after permission initializeApp(); // Proceed with your app } else { navigator.app.exitApp(); // Exit if denied } }, function […]

Create custom command Concrete CMS

User Create custom command in concrete cms 9 and run via terminal Assistant To create a **custom command in Concrete CMS 9** and run it via terminal, follow these steps: — ### ✅ 1. **Create Package Structure (if not already)** Your custom command should live inside a package. Example package path: packages/my_custom_package/ — ### ✅ […]

Integrating Framework7 with Cordova

User Use Framwework 7 jquery for existing apache cordova bootstrap existing app index.html is below Fossettscircus Scanner Door Staff Check tickets and manage show entry Access Door System Customer Scan tickets or view upcoming events Continue as Customer Staff Login Login ← Back Reload Events Logout Scan result × No scans yet Scan Next or […]

Cordova Android Clean Build

User cordova clean build andorind Assistant To perform a **clean build** for your Apache Cordova Android project, follow these steps in your project root: — ### ✅ 1. Clean the project cordova clean android This removes `platforms/android/build`, `plugins`, and other cached artifacts related to the Android platform. — ### ✅ 2. Rebuild the project cordova […]

Activate Button on Input

User Make framework 7 card like above and activate button when user put price Assistant Here’s how you can create a Framework7 card that replicates the design from the screenshot with the **"Tap to Pay Terminal"**, an amount input, and a button that only activates (turns green and clickable) when the user enters a price […]

JS not working in APK

User when creating build apk of framwork 7 apache cordva app its js not working Assistant If the JavaScript in your Framework7 + Apache Cordova app is **not working after building the APK**, here are the **most common causes and their solutions**: — ### ✅ 1. **Check `deviceready` Event** Cordova JS **only works after the […]

App Update and Payment

User here are updated app with staff section integrated in it Currently I added all sections layouts I'll start working on tap and pay payment section in app from monday Currently I'm using static staff login from API.php in boxoffice COrret above sentecne Assistant Here is the corrected version of your message: — Here is […]

Remove JDK Instructions

User remove one jvm Assistant To remove one JDK from the system (assuming this is a Linux system like Ubuntu based on the path style in the screenshot), follow these steps using the terminal: — ### 🔧 **To Remove a Specific JDK (e.g., Java 11 or Java 17):** First, list installed Java versions: sudo update-alternatives […]

Auto load staff events

User $(document).on('click', '.reload-events-staff', function() { f7App.dialog.preloader('Loading events…'); $.ajax({ url: `${ApiUrl}today`, method: 'POST', data: { token: TOKEN }, success: function(result,status,xhr) { console.log(result); var events = JSON.parse(result); if (events.result) { $('.staff-screen ul.events').html(''); const weekday = ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; $.each(events.data, function(i, val) { var eventDatetime = new Date(val.event_datetime); var dateOptions = { year: '2-digit', month: '2-digit', day: '2-digit' }; var […]