The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
The future upgrade process - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: The future upgrade process (/showthread.php?tid=1486)



The future upgrade process - alexh - Jul 29th, 2011

Hello,

So I have been adding several new implementations to my existing formtools installation.

I am wondering what the upgrade process is going to involve when the time comes to upgrade to the release version of 2.1

Will this be seamless via an upgrade function, and I assume the remaining modules will all be compatible right?

I have adapted the current theme to display my organization's logo at the top as well and am hoping that will stay put ;-)

So excited to upgrade soon!



RE: The future upgrade process - Ben - Jul 30th, 2011

Hi Alex,

Good question. Initially I'd hoped it would be completely seamless, but it turns out that that wasn't possible. I really did try to keep everything as close to the old version as possible without sacrificing any functionality.

This page outlines the changes:
http://docs.formtools.org/upgrading/?page=2_1_0

I'd say the most intrusive change was the impact on the Export Manager. Unfortunately, due to the (totally different) way the field types are now handled, all the old export manager templates will no longer work, so you need to use the "reset to defaults" functionality to start anew.
http://modules.formtools.org/export_manager/?page=v2upgrading

All the best -

Ben


RE: The future upgrade process - Ben - Jul 30th, 2011

Hey Alex,

Ooh.. one other thing:

Quote:I have adapted the current theme to display my organization's logo at the top as well and am hoping that will stay put ;-)

Unfortunately not. Sad The templates are TOTALLY different in 2.1 - it has way, way more functionality than 2.0.x and all the pages have been re-written. So I'm afraid that if you want to keep your templates, you'd need to re-merge in your old changes.

You may well want to hang onto 2.0.6 and just use 2.1 for new installations.

Sorry...

- Ben "Bringer of Bad News" Keen



RE: The future upgrade process - alexh - Jul 30th, 2011

Ugh... thanks Bad News Ben ;-)

Reading the changes, I think I'll probably be able to work with it. I really want to add some functionality to my existing applications (such as google maps, etc), so I really want to upgrade and not just use it for future installations.

So worse comes to worse I'll have to modify the export manager stuff to display it like I want, modify the theme again.. no biggie right?

One question though, so I understand it right.. the date field still stores the date data in mysql the same way right? I am pulling the dates from the database on a webpage and re-writing the format the way I want it to display. I'm guessing that will still work right?

Thanks Ben!


RE: The future upgrade process - Ben - Jul 31st, 2011

Hey Alex,

Nah! Upgrading your theme shouldn't be too much work - but it all depends on how much modification you did in the first place. Personally, I found updating the Deep Blue & Classic Grey themes surprisingly little work - and they're pretty custom, compared to the default theme.

One quick tip. When it comes to updating your theme, don't try tweaking what you already had - the new templates are too different. Instead, make a new copy of the /default theme, delete the /admin and /client folders and modify that. When you delete those two folders, Form Tools will automatically all of the missing files from the default theme - and you shouldn't really ever need to override individual files: the important styles and templates are outside of those files. This has the added benefit of making your theme more likely to be consistent with upgrades to the default templates.

Quote:One question though, so I understand it right.. the date field still stores the date data in mysql the same way right? I am pulling the dates from the database on a webpage and re-writing the format the way I want it to display. I'm guessing that will still work right?

Yes... but to be totally clear: the Core date fields (Submission Date & Last Modified Date) are unchanged (not any custom date form field that you may have defined).

Let me know if you have any questions!

- Ben




RE: The future upgrade process - alexh - Jul 31st, 2011

Cool, I will go about it that way. I didn't do a whole lot to it.. I just customized header logo and bar on the default theme.. putting our organization's logo on it and changing the color of the bar. Nothing complicated :-)

I'm looking forward to playing with the new date field stuff.

-Alex


(Jul 31st, 2011, 9:12 AM)Ben Wrote: Hey Alex,

Nah! Upgrading your theme shouldn't be too much work - but it all depends on how much modification you did in the first place. Personally, I found updating the Deep Blue & Classic Grey themes surprisingly little work - and they're pretty custom, compared to the default theme.

One quick tip. When it comes to updating your theme, don't try tweaking what you already had - the new templates are too different. Instead, make a new copy of the /default theme, delete the /admin and /client folders and modify that. When you delete those two folders, Form Tools will automatically all of the missing files from the default theme - and you shouldn't really ever need to override individual files: the important styles and templates are outside of those files. This has the added benefit of making your theme more likely to be consistent with upgrades to the default templates.

Quote:One question though, so I understand it right.. the date field still stores the date data in mysql the same way right? I am pulling the dates from the database on a webpage and re-writing the format the way I want it to display. I'm guessing that will still work right?

Yes... but to be totally clear: the Core date fields (Submission Date & Last Modified Date) are unchanged (not any custom date form field that you may have defined).

Let me know if you have any questions!

- Ben