In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001350 [In-Portal CMS] Admin Interfaces bug report always 2012-07-10 13:59 2012-07-25 05:29
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.2.0 Product Version 5.0.0
  Target Version 5.2.0 Product Build
Time EstimateNo estimate
Summary 0001350: Switching between interface presets
Description Some time ago (can't really tell when) we developed interface preset feature.

It allows to show/hide fields/columns menus through out the Admin Console. There 3 predefined schemes available:

* simple - most of the stuff disabled/hidden
* advanced - all is allowed
* custom - all is allowed

Both "advanced" and "custom" interface presets are of equal value since we didn't restricted anything in them yet.


Also there 2 configuration variables to work with interface presets:

1. "Admin Console Interface" (AdminConsoleInterface) in "Configuration -> Website -> General" section that allows to set current interface preset (one for all users)
2. "Allow Admin to change Admin Console Interface" (AllowAdminConsoleInterfaceChange) in "Configuration -> Website -> Advanced" that hides first variable and disallows user to change it.

At first it seems, that there is no use for 2nd setting at all, there is. Let me explain.

1. Set "simple" interface preset in "Configuration -> Website -> General" section (now "Configuration -> Website -> Advanced" section becomes hidden, while in non-debug mode)
2. Go to "Configuration -> Website -> Advanced" and enable "Allow Admin to change Admin Console Interface" (now "Admin Console Interface" is no longer visible to ALL, even developers)

Then if we (as developers) miss some sections and want to use them without website owner seeing them we need to:

1. Go to "Configuration -> Website -> Advanced" section and disable "Allow Admin to change Admin Console Interface" setting
2. change "Admin Console Interface" setting in "Configuration -> Website -> General" section

As you can see lots of jumping between sections and checking 2 configuration settings.


I'm proposing to simplify this by doing following changes:

1. show "Admin Console Interface" setting for all users if "Allow Admin to change Admin Console Interface" setting is enabled
2. show "Admin Console Interface" setting for all users, who have debug mode enabled, if "Allow Admin to change Admin Console Interface" setting is disabled
3. move "Allow Admin to change Admin Console Interface" setting to be showed as a "[x] allow changing" right next to "Admin Console Interface" setting
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/n81x09ZMylo/discussion
Change Log Message Changes interface preset switching interface
Estimate Points 1
Attached Files patch file icon ease_interface_preset_change.patch [^] (17,388 bytes) 2012-07-13 09:12 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0004774)
alex (manager)
2012-07-13 09:14

Will test all together later.
User avatar (0004775)
alex (manager)
2012-07-13 09:16

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001350: Switching between interface presets
User avatar (0004839)
alex (manager)
2012-07-25 05:29

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15437
Timestamp: 2012-07-13 09:16:30
Author: alex
Details ] Diff ]
Fixes 0001350: Switching between interface presets
mod - /in-portal/branches/5.2.x/core/admin_templates/config/custom_variables.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/admin_templates/incs/config_blocks.tpl Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_data.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/configuration/configuration_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:29 alex Note Added: 0004839
2012-07-25 05:29 alex Status resolved => closed
2012-07-13 09:16 alex Note Added: 0004775
2012-07-13 09:16 alex Status reviewed and tested => resolved
2012-07-13 09:16 alex Fixed in Version => 5.2.0
2012-07-13 09:16 alex Resolution open => fixed
2012-07-13 09:16 alex Assigned To !COMMUNITY => alex
2012-07-13 09:16 alex Changeset attached 5.2.x r15437
2012-07-13 09:14 alex Note Added: 0004774
2012-07-13 09:14 alex Status needs testing => reviewed and tested
2012-07-13 09:14 alex Assigned To => !COMMUNITY
2012-07-13 09:14 alex Developer => alex
2012-07-13 09:14 alex Status active => needs testing
2012-07-13 09:12 alex File Added: ease_interface_preset_change.patch
2012-07-10 13:59 alex New Issue
2012-07-10 13:59 alex Reference => https://groups.google.com/d/topic/in-portal-dev/n81x09ZMylo/discussion
2012-07-10 13:59 alex Change Log Message => Changes interface preset switching interface
2012-07-10 13:59 alex Estimate Points => 1



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker