In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
847 [In-Portal CMS] Admin Interfaces feature request N/A 2010-08-31 13:46 2011-02-06 09:19
alex  
 
normal  
active 5.1.0  
open  
 
none  
http://groups.google.com/group/in-portal-dev/browse_thread/thread/39548a006271dc55
0
0000847: Domain-specific configuration variables
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';
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.
Issue History
2011-02-06 09:19 alex Additional Information Updated bug_revision_view_page.php?rev_id=678#r678
2010-08-31 13:46 alex New Issue
2010-08-31 13:46 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/39548a006271dc55

There are no notes attached to this issue.