Search found 1727 matches

by jsetzer
2023-09-30 05:19
Forum: Getting Started
Topic: UPDATE
Replies: 3
Views: 127

Re: UPDATE

The SQL command for calculated field should update exactly one row. You have to append one more condition to your WHERE part: AND TABLENAME.PKCOLUMNNAME = '%ID%' Replace tablename and pkcolumnname . %ID% will be replaced by AppGini automatically at runtime. Additionally, if your SELECT returns more ...
by jsetzer
2023-09-27 18:41
Forum: Tips And Tricks
Topic: Import CSV data does not work as expected
Replies: 1
Views: 56

Re: Import CSV data does not work as expected

Hmmm, I think this is exactly the way it works (and should work for many use cases). I'm afraid there is no standard way nor hook for importing (=updating) ONLY existing and skipping new records unless you code your own CSV-reader which eliminates "unknown" records before importing. Or you can delet...
by jsetzer
2023-09-23 13:15
Forum: Getting Started
Topic: PHP V7 vs V8
Replies: 2
Views: 276

Re: PHP V7 vs V8

Can you please check for syntax errors in your hooks code, first. Very often there are parameters missing like $error parameter in functions sqlValue($command, $error) or sql($command, $error). Your IDE should mark those as errors, already. Those parameters are mandatory now. Just an idea.
by jsetzer
2023-09-16 11:30
Forum: AppGini Plugins
Topic: DataTalk Plugin Not Displayed under Plugins
Replies: 2
Views: 212

Re: DataTalk Plugin Not Displayed under Plugins

Just to be sure:
Is it inside 'plugins' directory?
by jsetzer
2023-09-15 07:40
Forum: Bugs/annoyances
Topic: youtube video in detail view
Replies: 4
Views: 366

Re: youtube video in detail view

OK, you can try with the following javascript-hack. It is intended for landscape orientation videos but can be adjusted to you needs. Note: This is just a quick fix. I do not guarantee that it will work in all circumstances. Before chrome_KIH8YQm0Mx.png Code You can put it for example in hooks/TABLE...
by jsetzer
2023-09-15 07:03
Forum: Bugs/annoyances
Topic: youtube video in detail view
Replies: 4
Views: 366

Re: youtube video in detail view

I am not using YouTube links in my projects. But as there hasn't been any help from others for a while, I have taken the time and added a YouTube-video-link field to one of my tables. Configuration AppGini_x13FE1CsAZ.png First of all, there are different meanings of "video size". So just for clarifi...
by jsetzer
2023-09-15 05:21
Forum: Getting Started
Topic: App version
Replies: 2
Views: 284

Re: App version

I. Javascript I.1 In Browser In new versions there is a version -property which you can evaluate in javascript, for example in console prompt of your browser's developer tools: AppGini.version chrome_aXkEc9BGZv.png I.2 In Code Open common.js . In new versions there should be a version-initializatio...
by jsetzer
2023-09-14 06:50
Forum: Tips And Tricks
Topic: Styling of Lookup-Buttons
Replies: 0
Views: 260

Styling of Lookup-Buttons

Good morning everyone! Here is just a very short tip on styling lookup buttons for matching with your default user interface design Default Style Here is what lookup-buttons, modified by built-in select2 -library, do look like by default in standard theme: chrome_1bjVVT50Pj.png As you can see, in co...
by jsetzer
2023-09-13 11:47
Forum: Advanced Customizations > Hooks
Topic: Validation help - In stock check
Replies: 5
Views: 650

Re: Validation help - In stock check

W3schools has some nice tutorials:
https://www.w3schools.com/js/js_ajax_intro.asp

There is also help on Bootstrap, for example.
by jsetzer
2023-08-30 07:21
Forum: Getting Started
Topic: Sort options list
Replies: 5
Views: 383

Re: Sort options list

Well done and thank you! :geek:
by jsetzer
2023-08-30 07:17
Forum: Tips And Tricks
Topic: send and email upon insert from non-logged in user
Replies: 7
Views: 502

Re: send and email upon insert from non-logged in user

Thanks, Tony!

There is a "buy me a coffee" link in my profile page:

Buy me a coffee:
https://www.paypal.me/cash4code

:geek:
by jsetzer
2023-08-29 18:57
Forum: Getting Started
Topic: Sort options list
Replies: 5
Views: 383

Re: Sort options list

Just curious: Did you rename the options or did you add a lookup table?
by jsetzer
2023-08-29 16:04
Forum: Getting Started
Topic: Sort options list
Replies: 5
Views: 383

Re: Sort options list

The list is perfectly sorted alphabetically : "1" < "10" < "100" < "2" < ... < "9" You may replace Blind 1 by Blind 01 etc. in your options-list: "01" < "09" < "10". If you want numeric sorting of alphanumeric items you could replace options list by a lookup table, add a numeric/integer position col...
by jsetzer
2023-08-29 05:17
Forum: Tips And Tricks
Topic: send and email upon insert from non-logged in user
Replies: 7
Views: 502

Re: send and email upon insert from non-logged in user

There are a few things to say here: (1) Email Configuration (Skip this if sending emails already works) Before sending from code, I recommend testing email-sending first. Therefore, go to Admin Area / Members, click on admin's email address, then send a test mail and see if this works. If testing fa...
by jsetzer
2023-08-29 04:28
Forum: Tips And Tricks
Topic: TV-Tools: Button width
Replies: 0
Views: 269

TV-Tools: Button width

Just a very short UI-tip: I have noticed that buttons of the so called "TV-Tools" take up more space than necessary. They are wider than for example the buttons of QuickSearch. See orange-underlined button vs. green underlined button chrome_6Xyt5qhQNp.png The following CSS setting reduces the width:...
by jsetzer
2023-08-28 09:13
Forum: bizzworxx AppGini Helper JavaScript Library
Topic: Loading Delay Bug (+Bugfix) for .toStatic() on Lookups
Replies: 0
Views: 273

Loading Delay Bug (+Bugfix) for .toStatic() on Lookups

:idea: TL;DR If you have >5 seconds loading-delay when using AppGiniHelper.DV.getField("FIELDNAME").toStatic() on a lookup -field, try passing null as 1st and true as 2nd parameter: AppGiniHelper.DV.getField("FIELDNAME").toStatic(null, true); --- Problem Recently I was wondering about loading delay...
by jsetzer
2023-08-27 08:19
Forum: Advanced Customizations > Hooks
Topic: add-items-to-navbar,... help me?
Replies: 3
Views: 379

Re: add-items-to-navbar,... help me?

I have the AppGiniHelper.min.js Here is an example for adding... a custom menu (dropdown) with menu-items and dividers (lines) a simple link a simple link with icon ...to NavBar using AppGini Helper Javascript Library (* commercial, I am the author) <!-- file: hooks/header-extras.php --> <!-- requi...
by jsetzer
2023-08-27 07:57
Forum: Tips And Tricks
Topic: send and email upon insert from non-logged in user
Replies: 7
Views: 502

Re: send and email upon insert from non-logged in user

Just a short tip on making your code more future-proof: Nowadays, anonymous users (AKA "guests") may be named differently in configuration. So, instead of string-comparing to 'guest' it will be safer and more future-proof to use built-in function isGuest like this: if (Authentication::isGuest()) { /...
by jsetzer
2023-08-27 07:48
Forum: Advanced Customizations > Hooks
Topic: add-items-to-navbar,... help me?
Replies: 3
Views: 379

Re: add-items-to-navbar,... help me?

I have the AppGiniHelper.min.js
If you send your order number by email to ticket@bizzworxx.de I can help you on custom navbar items within your support option.

Adding links and complete dropdown menus works just fine. If you have any red errors in console please fix them first.
by jsetzer
2023-08-24 16:49
Forum: Advanced Customizations > Hooks
Topic: remove trash icon from date field in DV
Replies: 6
Views: 367

Re: remove trash icon from date field in DV

I cannot see your code, so I cannot help debugging. It works here if put into the correct file in hooks directory with correct fieldname after reload without cache. Are there any red errors in console? Did you check that? And are you using an up-to-date version? Is it really a date field or somethin...
by jsetzer
2023-08-24 12:46
Forum: Advanced Customizations > Hooks
Topic: remove trash icon from date field in DV
Replies: 6
Views: 367

Re: remove trash icon from date field in DV

const fieldname = "date_till";
Are you sure your specific field has the same name date_till as my sample field?

Are there any red errors in console?
by jsetzer
2023-08-23 12:13
Forum: Advanced Customizations > Hooks
Topic: remove trash icon from date field in DV
Replies: 6
Views: 367

Re: remove trash icon from date field in DV

You are right, default date picker (combination of three <select/> -boxes) shows date-clear-button, even if the field is required. In many situations this makes sense to me, because it is faster to click that button instead of selecting empty option three times. Anyway, you can use the following Jav...
by jsetzer
2023-08-15 18:05
Forum: Advanced Customizations > Hooks
Topic: AppginiHelper multiple columns
Replies: 7
Views: 537

Re: AppginiHelper multiple columns

Thank you! Glad you like it!
by jsetzer
2023-08-15 17:06
Forum: Advanced Customizations > Hooks
Topic: AppginiHelper multiple columns
Replies: 7
Views: 537

Re: AppginiHelper multiple columns

You may check out the insertXYZ() -functions documented here: https://www.appgini.de/docs/Javascript-Library/detail-view/custom-content.html?h=insert Example var dv = AppGiniHelper.dv; // insert h4 above "created_by" field dv.getField("created_by").insertAbove().h4("Metadata"); // insert red alert b...
by jsetzer
2023-08-15 05:51
Forum: Getting Started
Topic: Can not get Links to work
Replies: 6
Views: 607

Re: Can not get Links to work

PS: I strongly recommend using a modern code editor with syntax highlighting such as (free) Visual Studio Code. Those tools automatically tell you there is something wrong: chrome_LHVHvqo4gF.png In your case there are two problems: You need to escape the single quote There is a comma missing at the ...