Access Keys:
Skip to content (Access Key - 0)

login redirects to dashboard


This forum has now moved. These topics have been left as a read-only archive. Please create all new topics in the Community space.


We have several custom themes using confluence 3.1.2 with TB 4.0.2.
I have the following added

{builder-show:user=@anonymous}
{div:class=left-block|style=border-bottom:1px solid #C2C2C2;}
{link-to:login}Login{link-to} {img:src=images/sec-key.gif}
{div}
{builder-show}
{builder-hide:user=@anonymous}
{div:class=left-block|style=border-bottom:1px solid #C2C2C2;}
{link-to:logout}Logout{link-to}

The problem I am comming across is that when the user logs in they are redirected to the confluence dashboard and not the page they were on. This only happens with sites created with TB. Any confluence default spaces work fine.
Can anyone assist?



Ask questions, get help and report bugs & issues on our Community Site

View old comments

  1. Mar 11, 2010

    Guy Fraser says:

    If using compound-menuitem you'd probably want flat=true param.

    If using compound-menuitem you'd probably want flat=true param.

  • Mar 11, 2010

    Guy Fraser says:

    Yarg. That's the problem. Use the menulink macro instead, eg: {menulink:logi...

    Yarg. That's the problem. Use the menulink macro instead, eg:

    {menulink:login}Login{menulink}
    

    The linking plugin (link-to macro) causes all sorts of problems as it's not tested for use in all the different locations that a theme can display it. The macros that come with Builder are tested in all sorts of weird areas within Confluence so they are more likely to output the correct links.


  • Adaptavist Theme Builder Powered by Atlassian Confluence