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.
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!!
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!!
0
This discussion has been closed.
Comments
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!
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>