Xymon Mailing List Archive search

Custom URL in header

list Rafal Roginela
Tue, 28 Oct 2008 10:51:41 -0500
Message-Id: <user-ca0f09c2e28d@xymon.invalid>

Hi,

 
Change this ['Mgmt Server', 'https://url <https://url/>;  here'] to
['Mgmt Server', 'https://url <https://url/>;  here', {'tw':'_blank'}]

 
Hope it helps. I just tried it on my server works great!

Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

 This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Dave Morgan [mailto:user-4691629dd582@xymon.invalid] 
Sent: Tuesday, October 28, 2008 10:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Custom URL in header

 
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com;
s=gamma;
h=domainkey-signature:received:received:message-id:date:from:sender
:to:subject:in-reply-to:mime-version:content-type:references
:x-google-sender-auth; bh=GP4zmiOXk2G/EoOiboet5zkmbQsxbvh9VFS3rrEw7ZQ=;
b=qtEmRyW99J7qt9jKYFy3XzlvAHcxtdyevT2L61gloRKXSveGyGbcLHHk3zmOYqbTWd
DNA363P5f1Zw9jdV3ILUd/l6AbnP5SiRJe525TlT+zg/cQZxpERKawsT04NYjYx8vCMr
UDNYxkqZBcJLqauHWKstz0jaWZQhZKjB4EajE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
:content-type:references:x-google-sender-auth;
b=ffIlEDTDXUNuxoQBwz4D8t3XuogRvTY8ACKpM7EhPcoPgWcmBRxFr58T2RjQZC1zNp
0sp3ndHmHaMyGvTkrHWMUm9Y/GZ8EXk/Zh0kNBKy9NhgUo8kR73GhVV7N5qIlOS9J2HV
gTub1lixg+KH0OV7Zx6otvSLDfB2cp0BVDSZA=
References: <user-bdf2e8710cfb@xymon.invalid>

 
Just tried using the <a stuff mentioned> and I get a java error.

 
Any other thoughts?

 
If you add the flag " target=_blank " to the href you will get the 
effect you are looking for
 
*no new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ;> Computer stuff </a>
 
*new window* <a href="http://www.computerstuff.org/";
<http://www.computerstuff.org/%22>; ; target=_blank >
Computer stuff </a>
 
 
On Tue, Oct 28, 2008 at 9:18 AM, Dave Morgan <user-4691629dd582@xymon.invalid>
wrote:
 
This is almost what I am looking for.

I was able to add in a line to this file under reports....(code snip)

...

['Reports', null, null,

...

 ['Mgmt Server', 'https://url <https://url/>;  here']

],

...

And clicking on this link takes me to the new URL.  Does anyone know 
if I can have it pop up into a new window, as opposed to using the 
hobbit window?

Dave
-- 
David S. Morgan CISSP, CCNP
aka: user-4691629dd582@xymon.invalid

"When the Winds of Change Blow Hard Enough,
the Most trivial of things can turn into deadly projectiles"