I've encountered the same bug as bob (base tag was returning a link to the
logo, and all images got screwed). here's how to reproduce :

Let's say you want toi display a different top logo for a logged in user
than for anon user (any chance that's what bob wanted to do too ?). A
"normal" way would be to modify top.vm "else" case where user isn't logged
in and change this :

        <a href="$jslink.Template">
          <img border="0" alt="$l10n.HOME" src="$LogoURI">
        </a>
by
        <a href="$jslink.Template">
          <img border="0" alt="$l10n.HOME" src="mynotloggedinlogo.jpg">
        </a>

First request, it works fine, but very weirdly, after 2 or 3 refresh of the
portal, the base href changes and points to top logo ($logoURI).
I don't know what's behind but found a quick way to fix it (it was for a
demonstration so time was short) : always evaluate $LogoURI in the "else" of
top.vm :

        <a href="$jslink.Template">
          <img border="0" alt="$l10n.HOME" src="myotherlogo.jpg">
          <!-- $LogoURI -->
        </a>

And then it works.

HTH (at least to short fix the bug for Bob, and maybe for dev to look what's
behind this trick...),
Aurelien

Weaver, Scott a �crit :

> I actually still use clink for setting up the base URL, but
> that's it.  After that, I set all other links as relative.
>
> <base href="$clink.External">
> <link href="css/style.css" type="text/css" rel="stylesheet" />
>
> This works for me.
>
> *===================================*
> * Scott T Weaver                    *
> * Jakarta Jetspeed Portal Project   *
> * [EMAIL PROTECTED]                 *
> *===================================*


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to