Specific use case (separate design?)
leiger wrote on 24 Dec 2009 00:39
Not really sure if I should have made this a separate design, or a child of the Watchers module design spec (as I have done) … but I'll stick with this for now:
I need to be able to create a link that says "Watch this forum". When clicked, people would be subscribed to the following categories: main, thread, post. Preferably, not including hidden pages like _template.
Similarly, if they are already watching those categories, then the link should change to say "Stop watching this forum" and would unsubscribe them from the three previously-mentioned categories.
If they are already watching some pages in the 'thread' category (but not all pages in the main/thread/post categories) then the link should act as if they are watching nothing and should way 'Watch this forum'
An example would be (very rough design)
[[module watch category="main thread post" pagetype="normal" watch="Watch this forum" unwatch="Stop watching this forum"]]
- The watch/unwatch attributes work in much the same way as the show/hide attributes for the 'collapsible' object.
- All other attributes come from the ListPages module documentation
- Is this possible? Would it have to be a button or module instead?
- Could this somehow be tacked-on to the Watchers module, or should it be kept separate as it is in my example, above?
Start a new sub-thread
page revision: 1, last edited: 26 Dec 2009 13:16