"Page ID may not be null." When using Theme Builder

Comments

3 comments

  • Avatar
    Arne Laske

    Here's an unconventional workaround that fixed the problem:
    I added a labels menu entry to the menu " {menuitem}{builder-labels}{menuitem}". After adding this, the exporter works fine...and I don't know why ;-)

    There is still the question if there's another solution or what the compound-menu should look like.

    Best regards

    Arne

    0
    Comment actions Permalink
  • Avatar
    Jens Rutschmann

    Hi Arne,

    our exporters need to know the ID of the page you are currently viewing. In default Confluence themes this is stored in the Javascript variable 'AJS.params.pageId'.

    So your theme must ensure that this one as well as 'AJS.params.spaceKey' are set correctly. Since I'm not familiar with Theme Builder I can't provide further instructions on how to do this, though.

    Hope that explains the problem.

     

    Cheers,
    Jens

    0
    Comment actions Permalink
  • Avatar
    Arne Laske

    Hi Jens,

    thanks for your answer. I thought there is a solution as the one stated here: http://www.k15t.com/display/SUPPORT/Adding+Scroll+links+to+Theme+Builder+menus+manually
    as I thought this is a known problem.

    We will check both JavaScript variables.

    Thanks a lot and best regards

    Arne

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk