Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Patch Plugin Architecture ("dock" style)

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Wed Jan 09, 2008 6:16 am    Post subject: Patch Plugin Architecture ("dock" style) Reply with quote



i have updated my patch to add a "dock" style
i have put my code in a iframe because i don't know how to play with css and javascript
so maybe a developper can clean this
it's a bit slow with IE on windows XP but works well with firefox and IE on windows 2003
you need to patch each plugin :
in cacti/plugins/<plugin_name>/setup.php, you need to edit the link to the tab :

find something like :
<a href=...thold.php... </a>
or
<a href=...monitor.php... </a>

add 2 parameters :
- class="dock-item2"
- target="_parent"

you will have something like :
<a class="dock-item2" href=...thold.php... target="_parent"</a>
or
<a class="dock-item2" href=...monitor.php... target="_parent"</a>

save your files before applying this patch

this patch is for plugin Architecture 1.4 only

http://gilles.boulon.free.fr/arch/patch_arch_1.4.zip


Last edited by gilles on Mon Jan 14, 2008 7:47 am; edited 3 times in total
Back to top
chrisgapske
Cacti User


Joined: 22 May 2007
Posts: 264
Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL

PostPosted: Wed Jan 09, 2008 9:26 am    Post subject: Reply with quote

Very interesting idea..

I would still love to see a cacti plugin so that as you transition over the tabs they would expand to full size.
Back to top
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Wed Jan 09, 2008 2:49 pm    Post subject: Reply with quote

like mac os x (i think it's the dock)
it's possible in css demo
Back to top
chrisgapske
Cacti User


Joined: 22 May 2007
Posts: 264
Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL

PostPosted: Wed Jan 09, 2008 3:04 pm    Post subject: Reply with quote

gilles wrote:
like mac os x (i think it's the dock)
it's possible in css demo


That is exactly what I am talking about. !!!

That would be great.
Back to top
rony
Developer/Forum Admin


Joined: 17 Nov 2003
Posts: 5448
Location: Wisconsin, USA

PostPosted: Wed Jan 09, 2008 3:17 pm    Post subject: Reply with quote

OMG!

NO!!!!!!!



I have seen many things in my years on the net, but that is the first time I have seen that in a web browser....

That being said, I think tabs should go away...
Back to top
chrisgapske
Cacti User


Joined: 22 May 2007
Posts: 264
Location: Padacuh, Ky-Alpena, MI-Gulf Shores,AL

PostPosted: Wed Jan 09, 2008 3:20 pm    Post subject: Reply with quote

SO you like it or don't ?




rony wrote:
OMG!

NO!!!!!!!



I have seen many things in my years on the net, but that is the first time I have seen that in a web browser....

That being said, I think tabs should go away...
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Wed Jan 09, 2008 6:58 pm    Post subject: Reply with quote

rony wrote:
OMG!

NO!!!!!!!



I have seen many things in my years on the net, but that is the first time I have seen that in a web browser....

That being said, I think tabs should go away...


I think my computer just threw up a little bit.

I don't mind the tabs, I just wanted them smaller. How about a design where they stack and which ever one is selected comes to front, like the real MS Tab Control does.
Back to top
gilles
Cacti User


Joined: 12 Jul 2005
Posts: 216

PostPosted: Tue Feb 05, 2008 10:54 am    Post subject: Reply with quote

updated with post http://forums.cacti.net/viewtopic.php?t=23664
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group