Need help for an iframe inside Cacti, but using the same look and feal

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Rno
Cacti Pro User
Posts: 717
Joined: Wed Dec 07, 2011 9:19 am

Need help for an iframe inside Cacti, but using the same look and feal

Post by Rno »

Hello,
I'm writting a plugin so I can get some information via REST on my Cisco ACI infrastructure.
The query works fine, I can handle all my request, but in one tab i try to display some information on some ethernet port on a iFrame.

But for my understanding I have to put a call to general_header() and at the end bottom_footer()
But doing so overide my iframe setting and display it under
<id=navigation_right>
<id=main>

Both with the overflow information at the end
ciscoaci hierarchy.png
ciscoaci hierarchy.png (6.74 KiB) Viewed 365 times
I put the screen with my little iframe,
ciscoaci Screen befor call to display with iframe.png
ciscoaci Screen befor call to display with iframe.png (15.49 KiB) Viewed 365 times
and then when I call the contend of the iframe but lost this wished iframe.
ciscoaci Screen after call to display lost iframe.png
ciscoaci Screen after call to display lost iframe.png (21.38 KiB) Viewed 365 times
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests