dlandon Posted February 7, 2019 Share Posted February 7, 2019 (edited) I am trying to figure out how the 'Done' button can be setup to return to a specific tabbed page. In particular I am working with the Recycle Bin plugin and when I am on the 'Shares' tab and browse a share recycle bin, I want to return to the 'Shares' tab when the 'Done' button is clicked. Is there somewhere I can find documentation or code examples on how to do this? Edited February 7, 2019 by dlandon Quote Link to comment
Squid Posted February 7, 2019 Share Posted February 7, 2019 Change the URL you navigate to to be /recyclebin/shares when you hit done you'll wind up back at recycle bin Done takes you back to the previous level in the URLSent via telekinesis Quote Link to comment
dlandon Posted February 7, 2019 Author Share Posted February 7, 2019 5 minutes ago, Squid said: Change the URL you navigate to to be /recyclebin/shares when you hit done you'll wind up back at recycle bin Not sure how I do that. Quote Link to comment
Squid Posted February 7, 2019 Share Posted February 7, 2019 (edited) Aren't you doing an <a href='/Shares....' Change it to <a href='/RecycleBin/Shares... when hitting done when on Shares.page, it will then go to RecycleBin.page Edited February 7, 2019 by Squid Quote Link to comment
dlandon Posted February 7, 2019 Author Share Posted February 7, 2019 17 minutes ago, Squid said: Change the URL you navigate to to be /recyclebin/shares when you hit done you'll wind up back at recycle bin Done takes you back to the previous level in the URL Sent via telekinesis Ok. I understand. The problem is that I lose my other tabs. Quote Link to comment
Squid Posted February 7, 2019 Share Posted February 7, 2019 Try the parent .page file instead of the child .page CA isn't tabbed, but I have docker go to Apps.page (my parent) instead of Community.applications.page (the child) Quote Link to comment
dlandon Posted February 7, 2019 Author Share Posted February 7, 2019 Before browsing the share: After browsing the share: Quote Link to comment
Squid Posted February 7, 2019 Share Posted February 7, 2019 What are the URLs for those 2 screenshots? Quote Link to comment
dlandon Posted February 7, 2019 Author Share Posted February 7, 2019 6 minutes ago, Squid said: What are the URLs for those 2 screenshots? All tabs: https://backupserver/Settings/RecycleBin Only Share tab: https://backupserver/Settings/RecycleBin/RecycleBinShares This one also does the same https://backupserver/Settings/RecycleBinSettings/RecycleBinShares. This was the only way I could get it to be close. If I use https://backupserver/Settings/RecycleBin/Shares I get the Unraid shares page. The page map shows: 3 [RecycleBin] - Recycle Bin 4 RecycleBinSettings - Settings 4 RecycleBinShares - Shares 4 RecycleBinLog - Deleted Files Quote Link to comment
dlandon Posted February 7, 2019 Author Share Posted February 7, 2019 What I really want is the /Settings/RecycleBin/ second tab with all tabs showing. Quote Link to comment
gfjardim Posted February 7, 2019 Share Posted February 7, 2019 @dlandon, you need the same behavior as Unassigned Devices? Quote Link to comment
dlandon Posted February 7, 2019 Author Share Posted February 7, 2019 15 minutes ago, gfjardim said: @dlandon, you need the same behavior as Unassigned Devices? This is all very confusing to me as I don't understand the menu system. Could you take a look at the recycle bin github and see what needs to be done? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.