Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

open links in parent or new window - Plz help.

edited October 2007 in Vanilla 1.0 Help
Hi. I know I'm asking for a lot of help. Sorry. :)
I am having problems getting the links on the panel to open. They are opening like this:

http://myvanillasite/vanilla.php/Http://thesiteiamtryingtolinkto.com

I don't care if they open in a new window (I know that annoys some people) or in the parent window. I just want themto open. :) You all have helped me so much already!! Thanks in advance and for the previous help too!!

Comments

  • Hey erryl, don't apologize for asking for help, that's what we are here for!
    What's creating those links?
    Seems like a setting is not quite right.
    Can you point us to an example, it's a bit difficult flying blind?

    Posted: Sunday, 30 September 2007 at 2:48PM

  • $Header1 = $Context->GetDefinition("Our Links"); $Panel->AddList($Header1, 210); $Panel->AddListItem($Header1, $Context->GetDefinition("urlname"), GetUrl($Configuration, "http://url.com", "", "", "", "", ""), "", "", 10); $Panel->AddListItem($Header1, $Context->GetDefinition("urlname"), GetUrl($Configuration, "http://url.com", "", "", "", "", ""), "", "", 20); $Panel->AddListItem($Header1, $Context->GetDefinition("urlname"), GetUrl($Configuration, "http://url.com", "", "", "", "", ""), "", "", 30); $Panel->AddListItem($Header1, $Context->GetDefinition("urlname"), GetUrl($Configuration, "http://url.com", "", "", "", "", ""), "", "", 40); $Panel->AddListItem($Header1, $Context->GetDefinition("urlname"), GetUrl($Configuration, "http://url.com", "", "", "", "", ""), "", "", 50); }
    Is there somthing I can add to this to make them open in a new or parent? Thanks!
  • It's on the Improved Side Panel add-on.
  • I don't know about the "Improved Side Panel add-on" but you could do that and more on the fly with Nuggets

    After enabling the extension, simply create a new nugget, place it where you want it to be displayed and then in the "Nugget HTML" box just put in your link(s):

    <li><a href="http://url.com" target="_blank">Your external link</a></li>
  • Thanks! I'll give that a try too.
This discussion has been closed.