#1
Posted 20 February 2012 - 08:03 AM
StayOnTab (Module for Processwire2+)
This new module remembers the active tab you are on and opens it after saving, or reloading page.
https://github.com/somatonic/StayOnTab
This is still in progress. Just wanted to share and recieve some feedback.
@somartist | modules created | support me, flattr my work flattr.com
#2
Posted 20 February 2012 - 02:44 PM
#3
Posted 20 February 2012 - 02:58 PM
Currently it's just saved as session, so it opens the last "saved" tab, even if you go to another page or close, repopen it.
I wanted it to try to make it so, that it would only save tab when saving page. So when reopen the page it would first be on content tab again. But maybe it would be cool to always have the last selected open. I'm still not sure how it would be best.
How was it in PW1?
@somartist | modules created | support me, flattr my work flattr.com
#4
Posted 20 February 2012 - 03:05 PM
#5
Posted 20 February 2012 - 03:15 PM
Yeah that would be a good concept. Though does the hash # stay in the address even after save? I don't think so. Isn't there a redirect in the edit page?
@somartist | modules created | support me, flattr my work flattr.com
#7
Posted 21 February 2012 - 04:26 PM
@somartist | modules created | support me, flattr my work flattr.com
#8
Posted 22 February 2012 - 09:17 AM
#9
Posted 25 March 2012 - 01:51 PM
I wasn't sure if everyone would want the behavior or not, so it is configurable under Modules > Jquery > Wire Tabs. By default, it only remembers tab positions between form posts (which I think is the most natural behavior). But you can set it to remember all tab positions between pages, or disable the behavior entirely.
#10
Posted 25 March 2012 - 02:37 PM
@somartist | modules created | support me, flattr my work flattr.com
Also tagged with one or more of these keywords: Module
Community Support →
Modules/Plugins →
Page Edit Per RoleStarted by pogidude, Yesterday, 10:01 PM |
|
|
||
Community Support →
Modules/Plugins →
Module: TemplateHasTagsStarted by MichaMichaMicha, 20 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Release: LocalAudioFiles MP3-DBStarted by horst, 19 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Inline EditorStarted by Sinmok, 10 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: Site indexerStarted by Alessio Dal Bianco, 08 May 2013 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












