Blog

Barcode scanner troubleshooting

User document.addEventListener('deviceready', function () { window.f7App = new Framework7({ el: '#app', name: 'FossettsCircusApp', theme: 'auto', routes: [ { path: '/', url: 'pages/home.html' }, { path: '/staff-tickets/', url: 'pages/staff-tickets.html' }, { path: '/staff-pay-terminal/', url: 'pages/staff-pay-terminal.html' }, { path: '/staff-check-orders/', url: 'pages/staff-check-orders.html' }, { path: '/event/:id/:dateId/', url: 'pages/event-details.html' } ] }); // Create main view with default […]

API Implementation Review

User Currently I've implemented this in new staff app, for this added seated_status column in order table and created an api for this Api.php, please review and let me know Correct above sentence Assistant Here is the corrected version of your sentence: **"I’ve implemented this in the new staff app by adding a `seated_status` column […]

Scan Issue Fix

User document.addEventListener('deviceready', function () { // Initialize Framework7 window.f7App = new Framework7({ el: '#app', name: 'FossettsCircusApp', theme: 'auto', routes: [ { path: '/', url: 'pages/home.html' }, { path: '/event/:id/:dateId/', url: 'pages/event-details.html' } ] }); // Create main view window.f7App.views.create('.view-main'); // Start the app after permissions function startApp() { navigator.splashscreen.hide(); initializeApp(); } // Handle camera permissions […]

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 […]