
SLING-INF.content.dev.configuration.config_custom_hybrid.js Maven / Gradle / Ivy
/*
* Licensed to the Sakai Foundation (SF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
*/
define(['config/config'], function(config) {
// Custom CSS Files to load in
config.skinCSS = ['/dev/skins/default/skin.css'];
// Hybrid
config.useLiveSakai2Feeds = true;
config.defaultprivstructure['${refid}0']['${refid}5'].dashboard.columns.column1.push({
'uid': '${refid}1234',
'visible': 'block',
'name': 'mysakai2'
});
config.defaultprivstructure.structure0['sakai2sites'] = {
'_ref': '${refid}2345',
'_title': 'My Sakai 2 sites',
'_order': 2,
'_canEdit': true,
'_reorderOnly': true,
'_nonEditable': true,
'main': {
'_ref': '${refid}2345',
'_order': 0,
'_title': 'My Sakai 2 sites'
}
};
config.defaultprivstructure['${refid}2345'] = {
'rows': [
{
'id': 'id8965114',
'columns': [
{
'width': 1,
'elements': [
{
'id': '${refid}2346',
'type': 'searchsakai2'
}
]
}
]
}
]
};
config.Navigation[0].subnav.splice(2,0, {
'url': '/me#l=sakai2sites',
'id': 'subnavigation_sakai2_link',
'label': 'MY_SAKAI2_SITES'
});
return config;
});
© 2015 - 2025 Weber Informatics LLC | Privacy Policy