Search results

  1. K

    Image size in pdf

    Hi, is there a way to control the size of images output in pdfs? I have tried several php settings files and css styling but either the pdf does not generate at all, or the image remains the same size, which is some cases is too large. Your current DaDaBIK version You are using DaDaBIK version...
  2. K

    Error during upgrade

    Hi, thanks d64b... I changed the permissions, and also updated the config custom with the new $permissions_upgrades_folder. Every time I run the upgrade, it finds a different file that doesn't have permissions, like wordpress wrapper, etc etc. I change the permissions on the file it finds, but...
  3. K

    Error during upgrade

    Hi deep64blue, thanks for the reply - my current permissions on the include folder are: do these need to be changed? thank you
  4. K

    Error during upgrade

    Hi, when I try to upgrade to 12.4, I get this error.. it's not the first time it's happened (had it on 12.3), but I just cancelled it in the past and used the manual upgrade. I'm thinking I'd better get to the bottom of it though before the manual upgrade procedure is deprecated! I have not...
  5. K

    Unexpected error, the data has not been correctly POSTed

    Hi, when trying to update permissions for a table, to toggle off advanced search for a field, I get the error: Unexpected error, the data has not been correctly POSTed ***fixed, it was because my php.ini file had max_input_vars = 1000 and needed to be made higher for a large table*** Your...
  6. K

    js event function missing

    In a form, I have an event onclick:dadabik_copyValuenf dadabik_copyValuenf is in my custom_functions.js file, however the function does not work on the form and opening the console shows the error: dadabik_copyValuenf is not defined nb resolved, typo error! Your current DaDaBIK version You...
  7. K

    calling javascript function for layout hooks

    Hi deep64blue, I wasn't pestering you personally honestly! I appreciate you taking the time to reply. I'll mess around a bit as suggested above and see how it goes. Most other things I figure out eventually.. this one's being a bit of a pain! Thanks again :)
  8. K

    calling javascript function for layout hooks

    (dadabik version info in signature below) Hi, I'm still trying to hide empty fields from the details page, in this regard and some help on this forum from deep64blue, I have come up with this hook: $hooks['units']['details_form_header']['before'] = 'function_dadabik_hideEmptyFields'; I put...
  9. K

    Hiding null items from details page

    ** I noticed the error in the copied code above, and changed the function name to begin with dadabik, but still get the same error. Apart from layout hooks, is there anywhere else we could add/change code to achieve this Eugenio? thanks
  10. K

    Hiding null items from details page

    so I have updated the code to // Custom hook to hide labels for null fields on the details page $hooks['Hoses']['details_form_header']['before'] = function($params) { // Initialize an array to hold non-null fields $filteredData = []; // Check if params is an array and not empty...
  11. K

    Hiding null items from details page

    Argh, I messed about with the code and now all of the detail are hidden and I get a blank page! // Custom hook to hide labels for null fields on the details page $hooks['Hoses']['details_form_header']['before'] = function($data) { // Loop through each field in the data foreach ($data as...
  12. K

    Hiding null items from details page

    Thanks deep64 blue. Do you think something like this would work: // Custom hook to hide labels for null fields on the details page $hooks['units']['details_form_header']['before'] = function($data) { // Loop through each field in the data foreach ($data as $field => $value) {...
  13. K

    Hiding null items from details page

    In my app I have some fields which are conditional, and most of the time will be null, however the fields still show on the records details page. How can I hide them? I found another question on the forum which advised to change some code on the business logic php file, however I don't think...
  14. K

    customise buttons/bootstrap

    Hi is it possible to customise the bootstrap button colours etc? Do I just add to the custom css file? thanks
  15. K

    Charts for dashboard

    I would like to put a couple of charts on a dashboard, but want to hide the option for website users to generate charts. If I create the charts and embed them in the dashboard first, and then disable on custom config, will the embedded charts still work ok? If not, what other option is there...
  16. K

    shared database question

    Hi, quick question re sharing a database - I need to share a database into 2 separate apps, users of both apps will need to be logged in to view. Some users will have access to both apps, others to just one of them. Some tables will be on both apps, others on just one. I plan to make a custom...
  17. K

    flatpickr format

    Thanks Gilles, I'll check if mine is the same.
  18. K

    flatpickr format

    Hi Gilles, thanks for your reply. May I ask what you have in your custom config settings to make it display like this please?
  19. K

    flatpickr format

    Hi Eugenio, thanks for the reply. When I logged in again today, it's showing as yours is above. I can see now from the image that the time selected is in 24 hour format, ie 22:58, but I can see that the AM/PM is still on the datepicker - I understand that this is the part that can't be changed...
  20. K

    flatpickr format

    You are using DaDaBIK version 12.0-Aveto enterprise, installed on 10/05/2024 PHP Version: 8.2.18 mysql version: 10.6.16-MariaDB-0ubuntu0.22.04.1 Web server: Apache Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0 Hi Eugenio, loving v12!! I'm trying out...
Top