HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   after web-form edit, site creation from hostingplan gives wrong values (http://www.howtoforge.com/forums/showthread.php?t=1108)

raveneye 3rd November 2005 19:46

after web-form edit, site creation from hostingplan gives wrong values
 
Hi,

I've created a plugin to display the clients company in the site-form. Only after I added it and moved it to the top of the "isp - ISP Web"-form. Site creation from a hostingplan gives wrong values after the site is created, for a number of fields. I didn't notice this in 2.0.9. I would like to email the plugin with an export of the web-form but at this moment it's not so nice :(

thx

Bram

till 4th November 2005 11:09

Have a look at the file ispconfig_isp_web.lib.php. In the web_show function. Some of the elemets on the page are made visible / invisible by their index. E.g.: $doc->deck[0]->elements[14]->visible = 0; If you put your plugin on the top of the form, you have to set all indices for deck[0] plus one. in the case of the above example: $doc->deck[0]->elements[15]->visible = 0; The values for the hostingplan are set from line 166 - 187.

raveneye 7th November 2005 00:51

thx

Bram


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

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