My application has a main table, sub tables, and sub-sub tables. Visually, it looks like:
Code: Select all
MAIN.id ----------> SUB.id
MAIN.name SUB.order_id ---------------> SUBSUB.order_id
MAIN.address SUB.order_description SUBSUB.line_number
SUBSUB.item_number
But when the user is down in SUBSUB and wants to go back to the SUB page, the only option seems to be hitting the browser back button a bunch of times to go past what they've done until they're back on the page they want. I've looked at the parent/child relationship settings in Appgini, and I'm not seeing an option to add it.
So what I'm looking for is a button that takes the user back to the display of the page it was called from.
I feel the solution is probably in the detail view hooks for the sub tables /hooks/<table>.php in the _dv function.
I've seen the post which does a semi-complicated html-pattern-find-replace that changes the page code to make buttons disappear, but I want to be sure that I'm not missing something that is easier.
Thanks in advance!