In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
199 [In-Portal CMS] Admin Interfaces feature request N/A 2009-08-07 13:06 2009-10-03 07:57
alex  
alex  
normal  
closed 5.0.0  
fixed  
 
none 5.0.1  
0
0000199: Create a Switch between "Site Configs"
Currently we have folder "custom/units/site_configs" with site configs, that allows to modify almost all unit configs of In-Portal (not yet module unit configs).

Current site config set is designed to maximally simplify administrative console interface. Idea is to create two (or more) alternative site config sets and be able to switch between them in real time.


That's how we will implement this:

1. Create directory "system_presets" in "admin/" folder.

2. Create "simple", "intermediate" and "advanced" sub-folders inside.

3. Move all existing Site Configs to the "simple" folder.

4a. Create configuration variable Interface-Preset (drop-down) and place it under "Configuration -> Website -> General: Admin Console Settings" section.

Variable Translation => "Admin Console Interface"

4b. Add new Variable la_config_AllowAdminChangeAdminInterfaces => "Allow Admin to change Admin Console Interfaces".

Place it under "Configuration -> Website -> Advanced: Admin Console Settings" before "Use Toolbar Labels" setting.

During Installation this is CHECKED (On) by default.

The logic is that if "Allow Admin to change Admin Console Interfaces" is enabled Admin can SEE drop-down with Interfaces selection on Website-General section if it's off it can NOT see it.


5. During installation fill possible interface preset names based on folder names available under "admin/system_presets" folder.

6. When given configuration variable's value is changed, then reset unit configs cache and section cache, because they will be affected by site configs being used.

Also, we NEED refresh the whole Administrative console window so changes take place immediately.

7. We need to change "SiteConfigEventHandler::OnApplySiteConfigChanges" event, to be able to use only site configs that are located within currently selected interface preset.
NOTE: original task has been altered by DA.
parent of 0000809closed  (5.1.1)alex Ability to temporarily turn off individual site config 
parent of 0001104closed  (5.1.3)alex Impossible to use OnAfterConfigRead event, when there is a system preset for a given unit config 
Issue History
2011-08-17 05:09 alex Relationship added parent of 0001104
2011-08-17 05:09 alex Relationship added parent of 0000809
2009-10-03 07:57 administrator Note Added: 0000780
2009-10-03 07:57 administrator Status resolved => closed
2009-09-02 12:03 Dmitry Changeset attached 5.0.x r12419
2009-09-02 10:25 Dmitry Changeset attached 5.0.x r12418
2009-08-12 02:18 alex Changeset attached 5.0.x r12274
2009-08-11 12:46 alex Fixed in Version => 5.0.1
2009-08-11 12:45 alex Note Added: 0000309
2009-08-11 12:45 alex Status needs feedback => resolved
2009-08-11 12:45 alex Resolution reopened => fixed
2009-08-11 12:45 alex Changeset attached 5.0.x r12272
2009-08-11 12:08 Dmitry Note Added: 0000307
2009-08-11 12:08 Dmitry Status resolved => needs feedback
2009-08-11 12:08 Dmitry Resolution fixed => reopened
2009-08-11 06:13 alex Changeset attached 5.0.x r12266
2009-08-11 06:10 alex Changeset attached 5.0.x r12265
2009-08-11 06:10 alex Note Added: 0000304
2009-08-11 06:10 alex Status reviewed and tested => resolved
2009-08-11 06:10 alex Resolution open => fixed
2009-08-10 17:06 Dmitry Description Updated bug_revision_view_page.php?rev_id=169#r169
2009-08-07 21:20 Dmitry Summary Ability switch between different site config sets => Create a Switch between "Site Configs"
2009-08-07 21:20 Dmitry Description Updated bug_revision_view_page.php?rev_id=151#r151
2009-08-07 19:00 Dmitry Note Added: 0000271
2009-08-07 19:00 Dmitry Assigned To => alex
2009-08-07 19:00 Dmitry Status active => reviewed and tested
2009-08-07 19:00 Dmitry Description Updated bug_revision_view_page.php?rev_id=141#r141
2009-08-07 19:00 Dmitry Additional Information Updated bug_revision_view_page.php?rev_id=143#r143
2009-08-07 13:06 alex Target Version => 5.0.1
2009-08-07 13:06 alex New Issue

Notes
(0000271)
Dmitry   
2009-08-07 19:00   
Reviewed, sounds good - let's proceed.
(0000304)
alex   
2009-08-11 06:10   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000199: Create a Switch between "Site Configs"
(0000307)
Dmitry   
2009-08-11 12:08   
We need to Reload the TOP frame as well on the Admin Interface change since it has "Modes" buttons in it.
(0000309)
alex   
2009-08-11 12:45   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000199: Create a Switch between "Site Configs"
(0000780)
administrator   
2009-10-03 07:57   
Closing issues from 5.0.1 version, because version was already released.