Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Aug 17, 2017 2:50 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Overcrossing links hover problem
PostPosted: Mon Nov 21, 2016 10:50 am 
Offline

Joined: Mon Nov 21, 2016 10:41 am
Posts: 3
Hello
I have multiple links that overcross each other, using OVERLIBGRAPH url work.
Problem at crossing point I see graph/picture for bottom link, that was specified first at weathermap configuration file.
How to at crossing point display top LINK graph.

Aleks


Top
 Profile  
 
 Post subject: Re: Overcrossing links hover problem
PostPosted: Mon Nov 21, 2016 11:19 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
Which version of weathermap do you get this with? I thought I'd fixed it...

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
 Post subject: Re: Overcrossing links hover problem
PostPosted: Tue Nov 22, 2016 2:03 am 
Offline

Joined: Mon Nov 21, 2016 10:41 am
Posts: 3
v0.97c


Top
 Profile  
 
 Post subject: Re: Overcrossing links hover problem
PostPosted: Tue Nov 22, 2016 5:10 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
Then try 0.98. I know I've looked at this before, because it causes more problems in the editor too.

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
 Post subject: Re: Overcrossing links hover problem
PostPosted: Tue Nov 22, 2016 9:39 am 
Offline

Joined: Mon Nov 21, 2016 10:41 am
Posts: 3
Just tried 0.98 version, nothing changed, same "picture"


Top
 Profile  
 
 Post subject: Re: Overcrossing links hover problem
PostPosted: Tue Nov 22, 2016 10:47 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
OK I will check again tonight... I know I've fixed this before now :-)

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
 Post subject: Re: Overcrossing links hover problem
PostPosted: Wed Nov 23, 2016 5:57 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5117
Location: United Kingdom
OK, it's fixed in the dev version but not in a release yet. Which is strange because I'm sure I fixed it ages ago.

Anyway, the good news is that it's a one-line fix:

For 0.98, in lib/Weathermap.class.php, change line 3301. (e.g. vi +3301 lib/Weathermap.class.php)
from
Code:
foreach($z_items as $it)

to
Code:
foreach (array_reverse($z_items) as $it)


This will draw out the imagemap layers in the opposite order for each ZORDER value, so the last one drawn is the first entry in the imagemap.

_________________
Weathermap 0.98 is out! & QuickTree 0.2. Superlinks is over there now.
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!)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group