Add new record modal box problem

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
George Pattihis
Posts: 6
Joined: 2017-03-12 09:25

Add new record modal box problem

Post by George Pattihis » 2018-05-22 09:00

Hello,

I have a problem when clicking the "+" on the main table, when on index page to add a new record. The modal box that appears is unusable. Please see screenshots:

The button:
https://prnt.sc/jl189e

The modal box that appears:
http://prntscr.com/jl19ep

Please notice that the link of the button is
mydomain.com/members/members_view.php?addNew_x=1

Any ideas please?

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Add new record modal box problem

Post by pbottcher » 2018-05-22 10:49

Hi,

can you call this url directly and see what you get as a result? Can you run the browser debug to see if you get an error?

regards
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

George Pattihis
Posts: 6
Joined: 2017-03-12 09:25

Re: Add new record modal box problem

Post by George Pattihis » 2018-06-04 08:25

Hello,

If I call the url directly it opens the regular "add new record" page, no problem there.

When I click the button and the modal box partly appears these warnings are shown in the browser console:

- An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. (index.php)
- Use of Mutation Events is deprecated. Use MutationObserver instead. (jquery-1.12.4.min.js:3:9644)
- This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; (members_view.php)

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Add new record modal box problem

Post by pbottcher » 2018-06-04 09:56

Hi,

can you pls call the URL

mydomain.com/members/members_view.php?addNew_x=1&Embedded=1

and share the result.

Did you modify any template files?
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

George Pattihis
Posts: 6
Joined: 2017-03-12 09:25

Re: Add new record modal box problem

Post by George Pattihis » 2018-06-07 11:09

Hello,

Thank you for your time. It opens the page to add a new member. Please see screenshot: http://prntscr.com/js0tp6

I used to have this project with an earlier version of Appgini. I think the problem started when I updated to the latest version, made some minor changes to the tables and reuploaded files. Then I noticed that the modal box does not work. No, there are no modifications to template files except for a few hooks to calculate members' payments and fees.

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Add new record modal box problem

Post by pbottcher » 2018-06-07 13:16

ok, do you get any messages on the console?
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

George Pattihis
Posts: 6
Joined: 2017-03-12 09:25

Re: Add new record modal box problem

Post by George Pattihis » 2018-06-07 13:53

No, nothing important. only the warning " Mutation Events is deprecated"

http://prntscr.com/js3c20

Is it maybe something to do with the "scroll-linked positioning effect" mentioned above, when the modal tries to open?

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Add new record modal box problem

Post by pbottcher » 2018-06-07 16:38

Hi,
can you look into the console and display the information for the modal after the modal-title.
Should be an iframe.
modal.JPG
modal.JPG (66.22 KiB) Viewed 4129 times
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

George Pattihis
Posts: 6
Joined: 2017-03-12 09:25

Re: Add new record modal box problem

Post by George Pattihis » 2018-06-12 00:15

Yes, the iframe is there but the modal box does not expand to show it.

http://prntscr.com/jtunx3

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Add new record modal box problem

Post by pbottcher » 2018-06-12 07:01

Hi,

could you please expand the iframe and show the next couple entries.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Post Reply