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!

Dependency Graph View Issue ] Relation Graph ] Vertical ]
related to child of duplicate of

Viewing Issue Simple Details
ID Category Type Reproducibility Date Submitted Last Update
0000847 [In-Portal CMS] Admin Interfaces feature request N/A 2010-08-31 13:46 2011-02-06 09:19
Reporter alex View Status public  
Assigned To
Priority normal Resolution open  
Status active      
Summary 0000847: Domain-specific configuration variables
Description In-Portal has a set of configuration pages, with a set of configurable parameters on each of them. It could be a good idea if each site domain could alter any configuration parameter value to fit it's needs. When parameter value isn't altered, then common (from the main site) value is used.

Interface changes:
==================
In top right corner of each configuration page (on blue bar) new dropdown called "Domain" will be added. Dropdown will be have ":: default ::" option, that will be selected by default and list of site domain names:
* :: default ::
* www.sample-site.com
* www.other-site.com

Database changes:
=================
System will add new column to ConfigurationValues table to hold site-domain specific configuration parameter. Column will include site domain ID in it's name: "sd<DOMAIN_ID>_VariableValue", e.g. "sd15_VariableValue".

Database query, used to select configuration parameter by name should changed from:
SELECT VariableValue
FROM ConfigurationValues
WHERE VariableName = 'Site_Name';

to:

SELECT COALESCE(sd2_VariableValue, VariableValue)
FROM ConfigurationValues
WHERE VariableName = 'Site_Name';
Additional Information Introduce 2 new configuration parameters:
* ImageUrl (or UploadedUrl)
* CompressedResourceUrl (or CompressedUrl)

By default:
* all links to resized images will be build using "ImageUrl" parameter
* all links to compressed resources (js/css) will be build using "CompressedResourceUrl" parameter

When appropriate configuration parameter isn't set, then system will use default site url as before.



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

Powered by Mantis Bugtracker