![]() |
Admin 6/18/2020 |
When you switch to another tab you can see that URL changes and you can read tab ID from the URL. |
![]() |
rdf author 6/18/2020 |
When you switch to another tab you can see that URL changes and you can read tab ID from the URL.
...URL?tab=tab_id
|
![]() |
Admin 6/19/2020 |
$_GET["tab"] is the correct way to access the tab ID. Just remember - tabs are added to the List page meaning that $_GET["tab"] will be available in events on the List page. $_SESSION["tab"] = $_GET["tab"]; |
![]() |
rdf author 6/21/2020 |
$_GET["tab"] is the correct way to access the tab ID. Just remember - tabs are added to the List page meaning that $_GET["tab"] will be available in events on the List page. Since you are talking about a lookup wizard that means it has something to do with Add or Edit page. Which means you are not explaining the whole picture. In either case, you can use an event like BeforeProcess of the List page to read $_GET["tab"] and save it in the session variable. Later you can use that session variable anywhere. $_SESSION["tab"] = $_GET["tab"];
.../formhf_list.php
.../formhf_list.php?tab=4
|
![]() |
HJB 6/22/2020 |
https://www.youtube.com/watch?v=x9KqkrOxrKE |
![]() |
Admin 6/22/2020 |
If it loads without the tab ID in the URL that the default tab is displayed. You can account for this in your code. |
![]() |
rdf author 6/22/2020 |
If it loads without the tab ID in the URL that the default tab is displayed. You can account for this in your code.
|
![]() |
rdf author 6/22/2020 |
https://www.youtube.com/watch?v=x9KqkrOxrKE ... for inspiration purposes only ...
|
![]() |
Admin 6/23/2020 |
Just give your tabs meaningful names and IDs. I.e. if you specify Germany as both tab title and ID your URL will be orders_list.php?tab=germany |
![]() |
rdf author 6/23/2020 |
Just give your tabs meaningful names and IDs. I.e. if you specify Germany as both tab title and ID your URL will be orders_list.php?tab=germany
|
![]() |
rdf author 6/24/2020 |
Hi,
|