HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Developers' Forum (http://www.howtoforge.com/forums/forumdisplay.php?f=18)
-   -   ISPConfig doctype (form) handling (http://www.howtoforge.com/forums/showthread.php?t=10809)

till 22nd February 2007 14:18

ISPConfig doctype (form) handling
 
Hi,

today I changed the way the form definitions (doctypes) where stored in ISPConfig.

Until now, the doctypes where stored in the database. This caused often problems when something was changed in the form editor and the SQL dump had to be updated manually.

Now, the doctypes where stored in a directory as files, so the full version control capabilities of SVN can be used to handle chnages and conflicts.

If you add new fields though, you will still have to add the field to the table definition in the SQL-dump but you dont have to deal with the content of the doctype table any more.

If you encounter any problems with this, please let me know so I can fix it.

jnsc 22nd February 2007 14:48

This is really nice. Is the form editor already supporting the new way that doctypes are stored? If yes, I will test it this afternoon.

till 22nd February 2007 14:52

Quote:

Originally Posted by jnsc
Is the form editor already supporting the new way that doctypes are stored?

Yes, the form editor supports this too. The form files are stored in the folder /home/admispconfig/ispconfig/lib/doctypes/

jnsc 22nd February 2007 16:18

Great news, thank's for your work.

danf.1979 25th February 2007 03:27

Hi, great news!
I was going today to give it a try, but svn download is awfully slow (just bytes per second). Something wrong with svn server?

falko 26th February 2007 14:15

The SVN server is ok and working normal. Maybe you must try again.

danuel 12th May 2009 08:43

doctype table characterset
 
ISPConfig-2.2.32

Please change database character set (at min doctype table) from latin to utf8. Otherwise Management->servers>'monitoring' looks some ?Ugiberish word.

To correct this, I renamed doctype to 'doctypex', copied the doctype talbe creation and values from sql code from db_isconfig.sql (inside tar zip) and recreated the doctype table with utf8_unicode characterset.


All times are GMT +2. The time now is 20:08.

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