I'm trying to mostly replicate the Confluence default "Add" and "Tools" menus using and and I'm a bit stuck on the items for which there is no compound-menuitem. For example, how would I do a link to "Page History" or "View as Wiki Syntax" using TB menu macros?
Or, is it easier than it seems to move the default Add/Tools menus around on a page? Every reference I found to moving or modifying them seemed far more involved than I would like... I have to leave this maintainable for less-technical people.
TIA
-Mike
.png)








Comments (4)
Jun 01, 2009
Alain Moran says:
Taken from the CONFLUENCE210 layout (which is contained within builder 3.3.4 - u...Taken from the CONFLUENCE210 layout (which is contained within builder 3.3.4 - use the 'import default layouts' tool in builder admin):
{menubar} {compound-menuitem:edit|caption=Edit|icon=pencil2|size=22px} {menuitem}{menuicon:add2|size=22px}Add {wikimenu}{webui-list:system.content.add|separators=true}{wikimenu} {menuitem} {menuitem}{menuicon:gear|size=22px}Tools {wikimenu}{webui-list:system.content.action|separators=true}{wikimenu} {menuitem} {menubar}Be warned though that the left-nav-alike layout is mostly broken, and the confluence2.7 layout markup is a bit messy too.
Jun 02, 2009
Mike Culbertson says:
Very cool, I was looking to reproduce the entire menus in a different area. Wha...Very cool, I was looking to reproduce the entire menus in a different area. What about individual menu items that don't have corresponding compound-menuitems though? Specifically, I was wanting to add a "view wiki syntax" to our custom menu, but I'm not sure what to link to. I'm guessing it's a webui item, but I've no idea which...
Jun 02, 2009
Alain Moran says:
If you want to access individual confluence webui links then you should create a...If you want to access individual confluence webui links then you should create a menulink alias
NB: the atlassian webui links arent coded in such a way as to be usable from every context, for instance many of them will throw fatal exceptions if you attempt to use them in the wrong context (eg: view my profile when the user is not logged in) ... this shows up as the panel markup being displayed rather than the rendered links - you will need to work around the issues in the atlassian webui links using the builder-show/builder-hide macros to avoid them being executed from the 'wrong' context.
Jun 02, 2009
Mike Culbertson says:
That looks perfect, thanks very much. We'll watch out for the context issues.That looks perfect, thanks very much. We'll watch out for the context issues.