Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd November 2005, 19:46
raveneye raveneye is offline
Junior Member
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy 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
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2005, 11:09
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

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.

Last edited by till; 7th November 2005 at 09:41.
Reply With Quote
  #3  
Old 7th November 2005, 00:51
raveneye raveneye is offline
Junior Member
 
Join Date: Oct 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thx

Bram
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
issue on site creation quicklinux Installation/Configuration 4 4th August 2005 21:59


All times are GMT +2. The time now is 14:52.


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