Adding simple href link to IP address


#1

I’d like to add a simple to the IP address when it’s displayed on the Dashboard, Visitor Log, etc. I was hoping that I could find an output line where the VisitorIP variable was inserted into an html template of some sort, but I haven’t been able to find one. Where can I add this link? What file must be changed?

For example, if Piwik shows the following…

Thu 31 Oct - 17:30:23 (49s) - IP: 130.217.138.204

…I’d like to change it to add a link on this IP address like the following…

IP: 130.217.138.204

Thanks much!

Rob


(Matthieu Aubry) #2

What is maybe possible here is to use javascript/jquery to select the right element that contains the IP address, and in Javascript rewrite it to contain the link on the IP Address?
This should be possible in a few lines with a Jquery selector. Hope it helps, cheers