Skip to end of metadata
Go to start of metadata

I've modified the default confluence Page Layout to include a side menu that includes a wiki page; inside this page are my menu items. In the menu I've included a few custom links and the normal edit/add page menus:

Unknown macro: {menubar}
Unknown macro: {menuitem}

Policy Actions

Unknown macro: {compound-menuitem}
Unknown macro: {compound-menuitem}
Unknown macro: {compound-menuitem}
Unknown macro: {menuitem}

Add

Unknown macro: {wikimenu}
Unknown macro: {webui-list}
Unknown macro: {menuitem}

Tools

Unknown macro: {wikimenu}
Unknown macro: {webui-list}

so, what I have is:

menu items (left page)

actual wiki page

Here's the problem however. Whenever I click a menu item that uses a parentId, for example, Copy this page, it wants to make a copy of the "menu page" insead of the "actual wiki page". How can I specify that the context for my menu action should use the "actual wiki page" as the parent instead of the menu page?

  • No labels

6 Comments

  1. Use the import macro not the include macro ... they are similar but subtly different (wink)

    1. Unknown User (sterling.heibeck@spectrum-health.org)

      The problem is, I'm doing an #includePage($helper.spaceKey "LeftSideBar") inside a custom Page Layout. So, it's not a wiki include, but a decorator include.

      1. The fact that you are using a 'Custom Page Layout' suggests you are not using builder, is this correct?

        1. Unknown User (sterling.heibeck@spectrum-health.org)

          Correct, no builder, I'm just using the

          Unknown macro: {menubar}

          macros inside a few pages. Our layout needs to be very specific to match an existing website and I found with custom CSS and few tweaks to the default theme I was easily able to duplicate the look of the other site.

          I did find a way to custom link each menu item and pull the pageId, but I was hoping for an easy way to just drop in the pre-made menu items without having to hand-code each item. Might not be possible, but, I was just curious.

          1. The 'easy way' is to use Builder (wink)

            Seriously ... a lot of work has gone into making this kind of thing trivial with builder, but as you have seen it's not simple to achieve in the world of decorators.

            1. Unknown User (sterling.heibeck@spectrum-health.org)

              Yeah, so I've learned. Thanks for the help Alain.