It seems like this should be pretty easy but I am stumped.
I added a button to a generated file, say \templates\entered_dogs_templateDV.html
Here's what I added
<hr>
<a target="_blank" href="../UKICC/entered_classes.php?&s_Show_ID=<%%VALUE(Show_ID)%%>&s_UKI_Number=<%%VALUE(UKI_Number)%%>&s_UKI_Dog_Number=<%%VALUE(UKI_Dog_Number)%%>" class="btn btn-primary btn-lg">Enter/Update Runs</a>
<hr>
When I click this button from the entered_dogs_view.php file, it works fine, launching my external page in a new tab.
However, when I click this button after arriving here in a Modal popup page, the button click does not do anything. It just doesnt respond at all to clicks.
I can choose to right-click and "Open in New Tab" and that works, but otherwise it's dead, Jim.
There must be some jQuery trick I need for getting this link to work in all cases?
This works:
Here, the link doesnt work
Thanks,
Greg
Button to External page - doesnt work in Modal ?
Re: Button to External page - doesnt work in Modal ?
Hmm ... that's weird. Try to inspect the element (right-click > Inspect) and go to the console window (might be named differently according to your browser) and try to see if there are any errors reported when you click it.
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
Re: Button to External page - doesnt work in Modal ?
Using Chrome, when I go to the inspector, there are no errors on the console.
The only difference I see is in the not-working link, it has "&Embedded=1" appended to the link.
The only difference I see is in the not-working link, it has "&Embedded=1" appended to the link.
Re: Button to External page - doesnt work in Modal ?
I upgraded to 5.4 and now the button works from the Modal!
Re: Button to External page - doesnt work in Modal ?
Great. We did fix several javascript issues with modals in this release. I hope you like the new features
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.