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?
.png)








Comments (7)
Mar 11, 2010
Guy Fraser says:
Are you using Site Minder or some other sort of SSO or external login authentica...Are you using Site Minder or some other sort of SSO or external login authentication?
Mar 11, 2010
Stacy Shenker says:
We are using our ldap server for authentication. If I click the login from a Non...We are using our ldap server for authentication.
If I click the login from a Non-TB site the url looks like this
From TB it only gives me
As you can see there is no redirection
Mar 11, 2010
Guy Fraser says:
What markup did you use to generate the login link?What markup did you use to generate the login link?
Mar 11, 2010
Stacy Shenker says:
I am using the link-to macro. See aboveI am using the link-to macro. See above
Mar 11, 2010
Alain Moran says:
Why? {compound-menuitem} will do exactly what you are trying to do without all...Why?
{compound-menuitem} will do exactly what you are trying to do without all the faffing with builder-show/hide
{menuitem}{compound-menuitem:login|caption=login}{img:src=images/sec-key.gif} {menuitem}{compound-menuitem:logout|caption=logout}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.