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
Clients and form list sorting? - 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: Clients and form list sorting? (/showthread.php?tid=906)



Clients and form list sorting? - dethompsOWU2 - Oct 29th, 2010

One of my clients has mulitple forms that she maintains via the FormTools back-end. She would like to adjust the order of the list of forms so the forms are organized to match up with her process.

But, when she is logged on, there is no notion of a "click column header to sort by that column" functionality like there is when I'm logged on as the FormTools admin.

Is this by design, or is there a setting somewhere that I'm overlooking?

Or, is there some other way for me to control the order in which the forms she has access to are listed?

Thanks in advance for any help you can provide,

Doug Thompson
Manager of Web and Electronic Communications
Ohio Wesleyan University


RE: Clients and form list sorting? - Ben - Oct 31st, 2010

Hi Doug,

Ack... you're quite right - that's a little surprising. I see there's no search option either.

I'll include the sort in 2.0.5, and I may well add a simple search as well. But in the meantime, I'm afraid she's rather out of luck...

Sorry about that - I hate not being able to provide at least a workaround.

- Ben


RE: Clients and form list sorting? - Ben - Oct 31st, 2010

Hi Doug,

I just took a quick look, and adding the sort & search was a very simple addition, so I've attached a fix to this post.

Just upload the files to the following locations (may as well back-up the old files, just in case):

/clients/index.php
/themes/default/clients/index.tpl


Note: even if she's using a different theme, still just upload it to /default. The other themes will inherit that file from default. (Or at least, they will unless they overwrite them... I don't think any do, though).

I'll include these same updates in 2.0.5 so you'll be able to upgrade safely.

All the best!

- Ben


RE: Clients and form list sorting? - dethompsOWU2 - Nov 3rd, 2010

The fix worked perfectly!

Thanks!


RE: Clients and form list sorting? - dethompsOWU2 - Nov 4th, 2010

FYI...I just discovered this morning that, since replacing those two files, FormTools now brings up an error whenever the user tries to log in and view the submissions for the forms she has access to.

The error message:

It appears that your user account hasn't been assigned to any form Views, so you won't be able to see any data. Please contact the administrator for further help.

Debug:

No further help available.


Luckily, I figured out a workaround:

1. Log into FormTools as the admin.
2. Edit each affected form.
3. Remove the user from the Client list for the form and click Update.
4. Go back in and edit the form again.
5. Add the user back to the Client list and click Update again.
6. Fixed!

So, I was able to resolve the issue for her...I just figured it would be good to report the error to you, in case you need to make tweaks as you implement these changes in the next version of FormTools.

Thanks again for your help, and for creating such a useful program.


RE: Clients and form list sorting? - Ben - Nov 4th, 2010

Hi Doug,

Interesting... thanks for posting that. I think however, it may be unrelated to the files I posted.

A few other people have reported issues where the permissions of the client accounts get dropped and they need to manually reset it. Unfortunately, I haven't gotten to the root cause of the problem yet. But thanks again - if you notice problems again, be sure to post!

- Ben