Search found 972 matches

by jsetzer
2021-03-07 08:50
Forum: Advanced Customizations > Others
Topic: Count of child table records in the parent table view
Replies: 6
Views: 132

Re: Count of child table records in the parent table view

Hi, without having checked this, I think you are right, thanks a lot for pointing this out and thank you for all your contributions! Reason: when answering the request, in first step I was only displaying count and so integer was perfect. In a follow up step I have added that UI badge using concat a...
by jsetzer
2021-03-04 08:39
Forum: Advanced Customizations > Others
Topic: Count of child table records in the parent table view
Replies: 6
Views: 132

Re: Count of child table records in the parent table view

If you mean something like this ... chrome_PE4zRlnhbu.png ... then ... Create a new calculated field in your master-table, integer, readonly On “Calculated field” tab, check "[X] Automatically calculate the value…" Place the following code into the textarea: SELECT concat('<span class="badge">', cou...
by jsetzer
2021-03-01 09:58
Forum: Getting Started
Topic: What is datasource for detailview and print ($options->????)
Replies: 4
Views: 159

Re: What is datasource for detailview and print ($options->????)

Custom pages I forgot to mention: We can also create cutstom pages and in there we are completely free what to display and how. I sometimes read posts here where developers would like to change table view or detail view completely for solving very specific requirements or UI-wishes. Sometimes those...
by jsetzer
2021-03-01 09:08
Forum: Getting Started
Topic: What is datasource for detailview and print ($options->????)
Replies: 4
Views: 159

Re: What is datasource for detailview and print ($options->????)

Hi Olaf, honestly speaking, when I read your post, I did not really understand your question: The datasource for DV is defined by your table-model based on the master table, optionally joined with lookup-tables, filtered by primary key, limit 1. I don't understand why you would like to modify the sh...
by jsetzer
2021-02-24 11:57
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: move/sort/order children in detailview?
Replies: 2
Views: 62

Re: move/sort/order children in detailview?

Hi, I don't remember such a feature but I am going to have a look soon
by jsetzer
2021-02-23 14:19
Forum: Feature Suggestions
Topic: Radio Button Layout
Replies: 4
Views: 245

Re: Radio Button Layout

Using such a Bootstrap-grid-system-based solution the result would be like this: XS-Device One radio per row on extra-small devices chrome_Yv95kNsBxS.png SM-Device Two radios on small devices chrome_rzUx5VTwB2.png MD-Device Three radios per row on medium devices chrome_WmeGw4vI8u.png LG-Device Four ...
by jsetzer
2021-02-23 13:40
Forum: Feature Suggestions
Topic: Radio Button Layout
Replies: 4
Views: 245

Re: Radio Button Layout

The idea is good, but there is a problem: Due to necessary compatibility with different screen sizes on different devices (Desktop, Tablet, Smartphone) in landscape or portrait mode, you will have to calculate a "correct" width per radio and adjust the css-width of the controls. But that strongly de...
by jsetzer
2021-02-21 08:14
Forum: Getting Started
Topic: does AG function makeSafe clean an array?
Replies: 8
Views: 158

Re: does AG function makeSafe clean an array?

If you cannot use typed arguments but need some validation of input parameters, do some validation first: function makeSafe_custom($data, $is_gpc = true) { if (is_null($data)) throw new \Exception("Argument null", 1); if (!(is_array($data) || is_string($data))) throw new \Exception("Invalid argument...
by jsetzer
2021-02-21 07:46
Forum: Getting Started
Topic: does AG function makeSafe clean an array?
Replies: 8
Views: 158

Re: does AG function makeSafe clean an array?

If you prefer a "smart" (but untyped) function which automatically detects the type of the input parameter and returns an array OR a string, try the folllowing code: function makeSafe_custom($data, $is_gpc = true) { return is_array($data) ? array_map(function ($entry) use ($is_gpc) { return makeSafe...
by jsetzer
2021-02-21 07:29
Forum: Getting Started
Topic: does AG function makeSafe clean an array?
Replies: 8
Views: 158

Re: does AG function makeSafe clean an array?

Did you test your function? Your code throws syntax errors (at least in my IDE). You will have to use array_map instead of array_walk if you want to return a modified array. Personally, I try to avoid untyped function- or method- parameters (AKA "mixed"). Sometimes you cannot avoid them, but I got u...
by jsetzer
2021-02-20 13:02
Forum: Getting Started
Topic: does AG function makeSafe clean an array?
Replies: 8
Views: 158

Re: does AG function makeSafe clean an array?

PHP function array_walk() will do the job. I'm using it almost every day for applying changes to all or certain items of an array: array_walk() https://www.php.net/manual/de/function.array-walk.php Other useful "every-day" array-functions in PHP: array_filter() https://www.php.net/manual/de/function...
by jsetzer
2021-02-15 16:11
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: join() function in helper library?
Replies: 7
Views: 193

Re: join() function in helper library?

After you have put the .log command before the line with the join command there should be log entry "test" in console output. From your screenshots I can see three problems: 1) you did not put the console.log command immediately before the join line but before the .ready event. 2) there is no "test"...
by jsetzer
2021-02-15 14:20
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: join() function in helper library?
Replies: 7
Views: 193

Re: join() function in helper library?

Did you clear browser cache?
Are there warnings or errors in console?
Any syntax errors highlighted in your code editor?

Can you please put a console.log("test"); immediately before that JOIN line and check that logging in console to ensure the code gets executed at all.
by jsetzer
2021-02-10 10:27
Forum: Bugs/annoyances
Topic: Sign up not working
Replies: 2
Views: 349

Re: Sign up not working

I cannot confirm:

chrome_esBnnN5o2o.png
chrome_esBnnN5o2o.png (11.14 KiB) Viewed 278 times

brand new installation of 5.94 generated files.

I assume you have already checked the table membership_users for an existing user having memberID = "abcdef" in your database tool (like Adminer)
by jsetzer
2021-02-10 07:59
Forum: Bugs/annoyances
Topic: 5.94 dropdown value selected if field is set to required
Replies: 9
Views: 284

Re: 5.94 dropdown value selected if field is set to required

Hi, I have seen that the search for that specific solution has already taken a lot of time and there seems to be no progress. So this is just an idea for solving the problem by using a different approach. Do you require multi-select? If not , replace that static options list by an additional lookup ...
by jsetzer
2021-02-09 16:20
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: Rich Text Editor appearance issue with Multi-Column Layout
Replies: 7
Views: 197

Re: Rich Text Editor appearance issue with Multi-Column Layout

Hi, thanks, @zala, for sending me the files. I was able to reproduce the behaviour you have described. I don't know the reason why min-height and width of nicEdit-related controls has changed recently, but I have found a workaround which I'd like to share with you gals and guys out there: dv.ready(f...
by jsetzer
2021-02-09 07:05
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: Rich Text Editor appearance issue with Multi-Column Layout
Replies: 7
Views: 197

Re: Rich Text Editor appearance issue with Multi-Column Layout

Please send the following to me by email:

-your order number
-The test axp file
-header-extras.php
-table1-dv.js
And if there have been any changes:
-footer-extras.php and
-table1.php
by jsetzer
2021-02-08 19:55
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: Rich Text Editor appearance issue with Multi-Column Layout
Replies: 7
Views: 197

Re: Rich Text Editor appearance issue with Multi-Column Layout

Sorry, I cannot reproduce this. I have downloaded latest Northwind demo and custmized Employees DV in hooks/employees-dv.js There are four layouts (rows in red with dashed border) chrome_pURi2jNjcu.png As in your sample code, first row is [6,6] and second row is [12]. Second row contains a nicEdit f...
by jsetzer
2021-02-08 19:30
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: Object properties, AppGiniCommon, AppGiniHelper
Replies: 2
Views: 71

Re: Object properties, AppGiniCommon, AppGiniHelper

Hi, all supported methods and properties (mostly methods) have been described here: Docs: https://appgini.bizzworxx.de/products/javascript-library/documentation/ A few more links: Common: https://appgini.bizzworxx.de/products/javascript-library/documentation/global/navigation-bar/ Helpers: https://a...
by jsetzer
2021-02-08 19:18
Forum: Advanced Customizations > Others
Topic: How to send WhatsApp messages to phones using PHP
Replies: 17
Views: 2373

Re: How to send WhatsApp messages to phones using PHP

Thank you for your idea with Telegram API. I will keep it in mind for future projects. In this specific project, we will not be able to completely convert their staff to the use of telegram. WhatsApp has been used there for years in various process-steps, and as a manufacturer of a partial solution ...
by jsetzer
2021-02-06 12:44
Forum: Getting Started
Topic: Moving Application
Replies: 14
Views: 450

Re: Moving Application

For narrowing down I recommend verifying the serverside database connection parameters by using a different tool than AppGini setup. Recommendation Download Adminer https://www.adminer.org/de/#download Direkt download link: https://github.com/vrana/adminer/releases/download/v4.7.8/adminer-4.7.8-mysq...
by jsetzer
2021-02-06 11:46
Forum: Advanced Customizations > Others
Topic: How to send WhatsApp messages to phones using PHP
Replies: 17
Views: 2373

Re: How to send WhatsApp messages to phones using PHP

@Olaf: Once again thank you for sharing the DeltaChat tip for automated sending messages to Smartphones which have installed DeltaChat client. Unfortunately, I did not get it running, yet, and I would appreciate your help and experiences. Status quo As you have suggested, I have installed DeltaChat ...
by jsetzer
2021-02-06 11:07
Forum: Bugs/annoyances
Topic: 5.94 (and prev?): if double email, no email password recovery possible
Replies: 21
Views: 624

Re: 5.94 (and prev?): if double email, no email password recovery possible

My personal opinion: Please stick to allowing an identical email address for multiple users (or make it configurable via config.php). Please do not deny this option for backward-compatibility and for simplicity of testing notification and workflow during development Those users can still use the cha...
by jsetzer
2021-02-04 13:43
Forum: Getting Started
Topic: Remove / Hide Link of Add / Edit Button of Child Table
Replies: 2
Views: 99

Re: Remove / Hide Link of Add / Edit Button of Child Table

Just remove insert / edit permissions for that specific user group in admin area.
by jsetzer
2021-02-04 13:28
Forum: Advanced Customizations > Others
Topic: How to send WhatsApp messages to phones using PHP
Replies: 17
Views: 2373

Re: How to send WhatsApp messages to phones using PHP

By the way: Thanks to Ahmed's WhatsApp recipe (see above) I have just included a WhatsApp link in one of my login pages (just as an idea). chrome_5uYBgEPaih.png It allows users to send the URL of that specific website via WhatsApp to others or to themselves. It is a little bit faster and more conven...