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!

View Revisions: Issue #199 All Revisions ] Back to Issue ]
Summary 0000199: Create a Switch between "Site Configs"
Revision 2009-08-10 17:06:29 by Dmitry
Description 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.
Revision 2009-08-07 21:20:06 by Dmitry
Description 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", "business" and "advanced" sub-folders inside.

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

4. Create configuration variable Interface-Preset (drop-down) and place it under "Configuration -> Website -> Advanced: Admin Console Settings" section before "Use Toolbar Labels" (it should first).

Variable Translation => "Admin Interface"

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.
Revision 2009-08-07 19:00:15 by Dmitry
Description 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", "business" and "advanced" sub-folders inside.

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

4. Create configuration variable Interface-Preset (drop-down) and place it under "Configuration -> Website -> Advanced: Admin Console Settings" section before "Use Toolbar Labels" (it should first).

Variable Translation => "Admin Interface"

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.
Revision 2009-08-07 19:00:15 by Dmitry
Description 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 "interface_presets" in "admin" folder.
2. create "simple", "advanced", "maximum" subfolders in it.
3. move all existing site configs to "simple" folder.
4. create configuration variable InterfacePreset (dropdown) and place it under "Configuration -> Advanced" section.
5. during installation fill possible interface preset names based on folder names available under "admin/interface_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 could refresh whole administrative console for administrator to be able to see changes 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.



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

Powered by Mantis Bugtracker