You don't need the @ before a group name (confluence-users). The @anonymous is a special pseudo group (as there is no group in Confluence that contains anonymous users because, erm..., they are anonymous)
Yeah, that jives with what I read in the documentation - just been scurrying around a lot recently and didn't notice i kept the @ from copy/pasting in.
It still doesn't make the item in question (whether it be a compound menu item or a simple li) appear in the topemnu of a menubar. Builder-show and builder-hide don't seem to work for first level menu items (e.g. log in vs profile link in confluence 2.8 ui).
This is what I'm using now, a log in link shows up to the left of the personal menu then disappears when logged in. It'd be nice to swap the login with logout once a user is logged in, or just do it confuence 2.8 style with one menu.
{builder-show:group=confluence-users} show to logged in people {builder-show}
{builder-hide:group=confluence-users} show to anon users {builder-hide}
I'm pretty sure there's a user=@anonymous param on the builder-show/hide macros, but Alain's not updated the docu. When he gets back from BOOM I'll get more info.
You don't need the @ before a group name (confluence-users). The @anonymous is a special pseudo group (as there is no group in Confluence that contains anonymous users because, erm..., they are anonymous)
Updated by Carl U
Jul 23, 2008 19:18
Yeah, that jives with what I read in the documentation - just been scurrying around a lot recently and didn't notice i kept the @ from copy/pasting in.
It still doesn't make the item in question (whether it be a compound menu item or a simple li) appear in the topemnu of a menubar. Builder-show and builder-hide don't seem to work for first level menu items (e.g. log in vs profile link in confluence 2.8 ui).
This is what I'm using now, a log in link shows up to the left of the personal menu then disappears when logged in. It'd be nice to swap the login with logout once a user is logged in, or just do it confuence 2.8 style with one menu.
{menubar:id=usr} {compound-menuitem:login|icon=user1_into|caption=Log in} {menu}Personal Menu {compound-menuitem:profile|icon=id_card|caption=Profile} {compound-menuitem:userspace|icon=document_heart|caption=Personal Space} {compound-menuitem:history|icon=history2|caption=History} {compound-menuitem:logout|icon=door2|caption=Log out} {menu} {menubar}debating whether to open an issue on it or not.
bumpity bump.
Something like this?
{builder-show:group=confluence-users} show to logged in people {builder-show} {builder-hide:group=confluence-users} show to anon users {builder-hide}I'm pretty sure there's a user=@anonymous param on the builder-show/hide macros, but Alain's not updated the docu. When he gets back from BOOM I'll get more info.