#1  
Old 29th May 2012, 16:39
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
Default Webinterface w/o database

Hello All,

I'm working on a addon that will give a GUI for the remote API of my colocation hoster. (TransIP)
They made a sweet API with which you can do as good as everything.

Now my question is how could you make your own list views with edit and view forms for data that is not fetched from tables? (as i get the data in raw arrays from there api)

Thanks in advance,
Regards,
ColdDoT
__________________
2B or not 2B (a pro)
Reply With Quote
Sponsored Links
  #2  
Old 29th May 2012, 17:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,778
Thanks: 821
Thanked 5,333 Times in 4,184 Posts
Default

Tke a look at the base classes for the lists and forms, listform_actions.inc.php and tform_actions.inc.php.

For the lists, create your own list like:

mylist extends listform_sctions {
....
}

and override the whole onLoad function with your own code.

For the forms, override the functions to show and save data from the tform_actions class with your own code.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th May 2012, 17:30
ColdDoT ColdDoT is offline
Senior Member
 
Join Date: Jan 2006
Location: Netherland
Posts: 178
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ColdDoT
 
Default

Thanks for the fast response as always!
__________________
2B or not 2B (a pro)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horde Groupware Webmail Edition ByteMe Networking Tips/Tricks/Mods 17 20th December 2012 10:12
Combination of postfix and courier failing Xaymar Server Operation 3 7th March 2012 17:28
Amavis/ClamAv problem MattJo. General 7 20th October 2010 17:18
Problems with SpamSnake ClamAV (Sanesecurity Signatures) tmaleshafske HOWTO-Related Questions 0 21st September 2010 01:59
Mail System doesnt work! crichton Installation/Configuration 3 17th September 2007 23:49


All times are GMT +2. The time now is 00:53.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.