Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 14th March 2012, 20:11
desanidesigns desanidesigns is offline
Junior Member
Join Date: Mar 2012
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Unhappy Remote Framework, client_update

Is there somewhere that would allow updating a client based on their Master Template? What I'm running into is that when I update a client's Master Template remotely, without specifying all the fields to update, everything gets reset to zero. That is, unless, I manually go to that client from the control panel. Even without saving, it sees the template and sets their values accordingly.

I need to be able to update their values as soon as (or with the 1 min cron) the master template for that client is changed.
Reply With Quote
Sponsored Links
Old 15th March 2012, 09:32
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

All update functions require it that you pass all available values. So the procedure to update a item with the remote frameowk is to use the _get function to get the full record, then modify one or more fields that have to be modified and then pass back the full array with all values to the update function.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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
haproxy with stunnel problem abubin Server Operation 6 10th April 2012 16:08
[Info] Remote Desktop Solutions for Linux mar.and65 Desktop Operation 0 27th April 2011 08:05
Remote Framework - Client Add - Ispconfig 3 Germanius General 5 23rd December 2009 19:16
remote framework - is it customer or admin side? alipanick Developers' Forum 2 8th October 2009 21:35
Remote Framework Horfic General 8 23rd May 2009 10:29

All times are GMT +2. The time now is 19:02.

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