INFOURL link in same frame
Moderators: Developers, Moderators
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
INFOURL link in same frame
Hi Howie,
In my map config, I have set the INFOURL to be an external link to my NETFLOW application. This works fine, but the link navigates away from Cacti, which isn't really what I want.
Is there a way to keep within the same frame as the map itself, or to open a seperate window or tab within the browser ?
I'm still RTFM so if it's in there, apologies...
Thanks
In my map config, I have set the INFOURL to be an external link to my NETFLOW application. This works fine, but the link navigates away from Cacti, which isn't really what I want.
Is there a way to keep within the same frame as the map itself, or to open a seperate window or tab within the browser ?
I'm still RTFM so if it's in there, apologies...
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Well, the map isn't in a frame, so that's not an option
Probably some sort of INFOURLTARGET option might be a good thing.
Probably some sort of INFOURLTARGET option might be a good thing.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
No, I mean it would be a good thing to writemcutting wrote:Thanks Howie. I"ll give this a shot.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
If you don't mind it doing that for all your maps, just edit the HTML_ImageMap.class.php, and change line 38 frommcutting wrote:Ah - ok.
Any other pointers ?
Code: Select all
$h .= " ".$this->extrahtml." ";
Code: Select all
$h .= " ".$this->extrahtml." target='_blank' ";
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
I am also using 0.97, and it works fine for me ?NetAdmin wrote:Howie,
I too am looking to do this and I tried changing the code above in the HTML_ImageMap.class.php file but it doesn't seem to be working using the 0.97 weathermap files.
Any thoughts?
Thanks.
NetAdmin
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Re: INFOURL link in same frame
In Firefox when you press CTRL key + mouse click, page is opened in new tab. Probably there is smiliar trick in other browsers.mcutting wrote:Is there a way to keep within the same frame as the map itself, or to open a seperate window or tab within the browser ?
Who is online
Users browsing this forum: No registered users and 0 guests