Using "Turn Off" button doesn't Debug-Only fields on forms

1 view
Skip to first unread message

Alexander Obuhovich

Jan 3, 2013, 6:23:06 AM1/3/13
to Bugs In-Portal
In-Portal has ability to make individual form fields visible in debug mode only. This can be done by specifying field name in $debug_only_fields array in corresponding site config.

However I've noticed, that when debug mode is temporarily disabled via "Turn Off" button it debugger toolbar (instead of removing /system/debug.php file), then these fields still stay visible.

Best Regards,

Dmitry Andrejev

Jan 4, 2013, 12:15:57 AM1/4/13
Strange - I have tested this on 5.2.0 and it seems to work (real project on sandbox)

Are these fields defined as DBG in system presets or on Form (with IFs)?


Alexander Obuhovich

Jan 4, 2013, 5:32:34 PM1/4/13
to Bugs In-Portal
Yes. This doesn't work on In-Portal 5.1.2 version.

Not sure about 5.2.0+ version though. Needs to be tested.

You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at
Reply all
Reply to author
0 new messages