ottogal Posted October 19, 2016 Posted October 19, 2016 Hi all, to open a certain page for editing you can use $session->redirect($mypage->editURL); But what when you would like to open the Children tab of that page instead? Just change it to $session->redirect($mypage->editURL . '#ProcessPageEditChildren'); I found it hovering over that tab: The status line shows the additional "#ProcessPageEditChildren". Perhaps this could be useful for some of you... 1
dragan Posted November 21, 2017 Posted November 21, 2017 I'm building a little dashboard... Part of it will be some shortcuts - directly linking to attribute pages (page references). Now, I've tried to simply add the #ProcessPageEditChildren to the URL. But clicking such links never opens the children tab, i.e. <a href="../page/edit/?id=1040#ProcessPageEditChildren"> will always open with the first, default tab. The entire #foo is then removed from the URL. This is with PW dev 81 + 84 (but afair I also stumbled over this issue with older versions). Does anybody know how this can be done? Or maybe even when linking to the main tree-view: some sort of hashtag / query string to open parent page and show its children? 1
adrian Posted November 21, 2017 Posted November 21, 2017 I just tested like this (clicked on the "Child Tab" link in the console results) and it works fine so long as I am not already on the page that is linked to. 1
dragan Posted November 22, 2017 Posted November 22, 2017 It's weird. Now it works here too. Don't know if it was some funky browser hickup, but everything's fine now. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now