Search found 298 matches

by onoehring
2019-10-11 07:10
Forum: Bugs/annoyances
Topic: HTTP Error 500
Replies: 7
Views: 223

Re: HTTP Error 500

Hi Buck,

thanks for reporting back.
Olaf
by onoehring
2019-10-10 12:16
Forum: Getting Started
Topic: hook for index.php / homepage?
Replies: 8
Views: 166

Re: hook for index.php / homepage?

Hi peebee,

good idea. Thank you.
Olaf
by onoehring
2019-10-10 05:49
Forum: Bugs/annoyances
Topic: AppGini 5.80 Build 1072
Replies: 18
Views: 221

Re: AppGini 5.80 Build 1072

Hi Ahmed,

I do not change anything (just restarted Windows and AG several times) - and now the technical docs show up (did not try technical docs for pages yet).
ec203.png
ec203.png (6.31 KiB) Viewed 80 times
Olaf
by onoehring
2019-10-10 05:46
Forum: Advanced Customizations > Others
Topic: set membership_users as lookup parent table
Replies: 13
Views: 4813

Re: set membership_users as lookup parent table

Hi, you can do this like Bertv suggested. Create a view in your database that pulls everything you need from whatever membership table you need (like in the image: membership_users). CREATE VIEW view_membership_users AS select * from membership_users; Then, create a "table" (as seen in the image) in...
by onoehring
2019-10-10 04:46
Forum: Getting Started
Topic: hook for index.php / homepage?
Replies: 8
Views: 166

Re: hook for index.php / homepage?

Hi pbötcher,

nice code. I will try and report back.
Thank you
Olaf
by onoehring
2019-10-09 16:10
Forum: Bugs/annoyances
Topic: AppGini 5.80 Build 1072
Replies: 18
Views: 221

Re: AppGini 5.80 Build 1072

Hi,

you are welcome - and indeed, a good idea how (not) to name fields.

Olaf
by onoehring
2019-10-09 14:31
Forum: Bugs/annoyances
Topic: AppGini 5.80 Build 1072
Replies: 18
Views: 221

Re: AppGini 5.80 Build 1072

Hi mysh_eireannach,

did you try
... to run that SQL using phpmyadmin. Does it work?
Olaf
by onoehring
2019-10-09 14:29
Forum: Bugs/annoyances
Topic: AppGini 5.80 Build 1072
Replies: 18
Views: 221

Re: AppGini 5.80 Build 1072

Hi Ahmed, Hmm ... it seems AppGini is unable to write to your temp folder ... Please try this: click the "Application theme" icon in the toolbar in AppGini (the one with a color palette), then click the button "Preview in web browser". This should open a browser window, displaying a preview of the s...
by onoehring
2019-10-09 05:20
Forum: Getting Started
Topic: hook for index.php / homepage?
Replies: 8
Views: 166

Re: hook for index.php / homepage?

Hi pbötcher,

someting like peebees idea:
dirty code:
if window.name<>'something' { window.name = 'something'}

Or do you see any other method to check which page is loaded? Maybe phpself and only provide the JS that is needed?

Olaf
by onoehring
2019-10-08 15:34
Forum: Bugs/annoyances
Topic: AppGini 5.80 Build 1072
Replies: 18
Views: 221

Re: AppGini 5.80 Build 1072

Hi mysh_eireannach, looking at the (too) small image of your SQL error it seems to me that it's worth trying to run that SQL using phpmyadmin. Does it work? Did you change servers (Linux <-> Windows)? I had some troubles with that (see: https://forums.appgini.com/phpbb/viewtopic.php?f=4&t=3246 ) Als...
by onoehring
2019-10-08 15:28
Forum: Bugs/annoyances
Topic: AppGini 5.80 Build 1072
Replies: 18
Views: 221

Re: AppGini 5.80 Build 1072

Hi,

is it just me? I can not see any technical documentation. All it says is "No Access To Page" ...
ec201.png
ec201.png (22.36 KiB) Viewed 195 times

Olaf
by onoehring
2019-10-08 06:27
Forum: Getting Started
Topic: hook for index.php / homepage?
Replies: 8
Views: 166

Re: hook for index.php / homepage?

Hi peebee,

good idea, but I believe in this case it will not work: As you said: footer will be loaded in every page and thus every page will get the title I set there.

Olaf
by onoehring
2019-10-05 10:35
Forum: Getting Started
Topic: hook for index.php / homepage?
Replies: 8
Views: 166

hook for index.php / homepage?

Hi, I am using JS to set specific names for some windows of my application using window.name = 'myWindowName'; This works fine in regular tables, but how can I do this on the homepage (index.php)? I place this code in the /hooks/filename-tv.js file. Why? I open some links in these specific windows (...
by onoehring
2019-10-03 12:32
Forum: Getting Started
Topic: AppGini Helper JavaScript Library
Replies: 17
Views: 763

Re: AppGini Helper JavaScript Library

Hi Jan,

amazing. Thank you so much.
Olaf
by onoehring
2019-10-02 07:01
Forum: Bugs/annoyances
Topic: val() returning null
Replies: 6
Views: 186

Re: val() returning null

Hi, you want the ID from the referenced table (lookup) and not from the record shown on screen? ec101.png I used this to get the JS path for the field: ec_getjspatha.png This is the JS path that works in my example to get the value from the field $j("#ID_Location").val() In my case, this selector pa...
by onoehring
2019-10-01 14:23
Forum: Tips And Tricks
Topic: Link membership_users table with Customers table
Replies: 4
Views: 1860

Re: Link membership_users table with Customers table

Hi, I will not supply any clean and easy to copy code, but I think a way to do this. You create a new customer. Then, use the /hooks/TABLE_NAME_OF_CUSTOMER.php file and add php code in the function _after_insert. Something like this: function TABLE_NAME_OF_CUSTOMER_after_insert($data, $memberInfo, &...
by onoehring
2019-10-01 13:16
Forum: Getting Started
Topic: Public Web Application
Replies: 7
Views: 174

Re: Public Web Application

Hi Aldo, maybe it's also, that security is directly communicated to the developer. There are some people very active here (thank's guys). For myself: When I am posting something of my own interest here, I might answer other posts. Maybe the gurus of AG did not see any need right now to post - and yo...
by onoehring
2019-10-01 12:14
Forum: Getting Started
Topic: Public Web Application
Replies: 7
Views: 174

Re: Public Web Application

Hi, well, I would disagree. There have been some posts, but AG tries to give developers some peace of mind. If you are looking for possible security problems, you might want to check specific security-test-sites. Please note, that not only the application might have security problems, but since we a...
by onoehring
2019-10-01 12:06
Forum: Bugs/annoyances
Topic: val() returning null
Replies: 6
Views: 186

Re: val() returning null

Hi Leving, If I understand your coude correct, this happens, always, but only in new records. - Correct? If so, this is the normal behavior, as new records do not have an ID. Lookup fields tend to have another problem which occurs in several places in AG generated applications: AG makes heavy use of...
by onoehring
2019-09-29 13:09
Forum: Tips And Tricks
Topic: name your tables and views in lower case
Replies: 0
Views: 84

name your tables and views in lower case

Hi, I place this here in the tips-section as it cost me quite some time and work to correct "nice" tablenames. My testserver is a Linux system. I have exported everything and it's running on a windows server now - no problem. But when I tried the other way around, getting the "live"-system back to m...
by onoehring
2019-09-29 11:56
Forum: Tips And Tricks
Topic: avoid long, custom SQL in lookup fields, use stored views
Replies: 1
Views: 124

avoid long, custom SQL in lookup fields, use stored views

Hi, just as I am improving my application, I thought, I drop a line. My situation: Having a rather complex SQL in an advanced lookup (by now that custom SQL is 5.511 characters (yes, >5k), spanning 66 lines if styled with SQL Pretty Printer ( https://dpriver.com/products/sqlpp/index.php ). As this n...
by onoehring
2019-09-29 08:00
Forum: Tips And Tricks
Topic: Place an extra SAVE button at the top of your page
Replies: 0
Views: 60

Place an extra SAVE button at the top of your page

Hi, I needed a way to put a 2nd SAVE button on the top of the page, so when working with the first fields only noone would need to scroll down. This scrolling was very annoying when the application was used on a tablet or mobile device. My solution can be found here ( https://forums.appgini.com/phpb...
by onoehring
2019-09-29 07:55
Forum: Getting Started
Topic: How? jquery? Add extra (2nd) SAVE CHANGES button
Replies: 2
Views: 59

Re: How? jquery? Add extra (2nd) SAVE CHANGES button

Hi, I said, I will report back, so I do. This is the result right now, and I am pretty happy with it: When making the screensize smaller, an extra save button (green) appears in the header which, in a very small screen is placed directly above the actual record. Please keep in mind: this is a 2nd sa...
by onoehring
2019-09-29 05:44
Forum: Getting Started
Topic: How? jquery? Add extra (2nd) SAVE CHANGES button
Replies: 2
Views: 59

Re: How? jquery? Add extra (2nd) SAVE CHANGES button

Hi, quick answer from myself: I have used this browser extension (Selectify: chrome.google.com/webstore/detail/selectify/lpnjpfcjoodgemnipmlaobngfndgojki ) to get the corresponding ID (with a single click). Yes, I know, Jan said it can be found using F12 in your browser, but if you are like me and n...
by onoehring
2019-09-29 05:29
Forum: Getting Started
Topic: How? jquery? Add extra (2nd) SAVE CHANGES button
Replies: 2
Views: 59

How? jquery? Add extra (2nd) SAVE CHANGES button

Hi, as my application is being displayed on small screens, it happens, that the user, even though changes are made in the top fields only (example:Container Code), has to scroll all the way down to save those changes. I want to place a second save changes button at the top of the page (duplicate the...