I would appreciate help that will let me set up builder show/hide based on the following parameters:
- Whether the user is or is not a space watcher.
- Whether the user is or is not watching the current page
- Whether the page is a forum, i.e. has the {forum} macro, or is the child of a forum page
Are there conditional parameters I can use? If not, could they be developed in future TB?
TIA.
Tom
.png)








Comments (2)
Jul 26, 2009
Guy Fraser says:
You can't currently toggle based on watch status, but there are macros in Bubble...You can't currently toggle based on watch status, but there are macros in Bubbles plugin for showing/hiding stuff based on whether the page is a forum or topic. See bubbles-show macro and bubbles-hide macro
Jul 27, 2009
Tom Wolff says:
Toggling based on watch status would be a nice addition to the TB functionality....Toggling based on watch status would be a nice addition to the TB functionality.
I have been using builder show and hide using label=forum. It works ok as long as I remember to add the forum label. I just tried bubbles-show as follows and it didn't work.
{bubbles-show:forum=true|recurse=true} {compound-menuitem:webui|location=system.content.action/marker|key=addPageFamilyNotificationMenuItem|icon=http://wiki.piug.org/images/icons/mail_16.gif|caption=Watch This _Forum} {compound-menuitem:wikipage|space=PIUG|page=QRG - Watching Spaces, Forums, and Pages|icon=help2|caption=Help on _Watching Spaces, Forums, and Pages} {bubbles-show}The "Watch This Forum" menu item was displaying on pages that were not forum pages, such as space home pages. The second menu item displayed all the time.
What am I doing wrong?
Tom