2015-01-01 18:47:11 +09:00
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
// -------------------------------------- Subscriptions -------------------------------------- //
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
|
|
|
|
// add a subscription to be preloaded before the rest of the app
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.preloadSubscriptions.push('customPublication');
|
2015-01-01 18:47:11 +09:00
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
// ------------------------------------------- Nav ------------------------------------------- //
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
|
2015-04-20 13:57:37 +09:00
|
|
|
// add templates to the primary nav bar
|
|
|
|
Telescope.config.primaryNav.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customNav',
|
2015-01-01 18:47:11 +09:00
|
|
|
order: 99
|
|
|
|
});
|
|
|
|
|
|
|
|
// add templates to the secondary nav bar
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.secondaryNav.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customNav',
|
2015-01-01 18:47:11 +09:00
|
|
|
order: 99
|
|
|
|
});
|
|
|
|
|
|
|
|
// add items to the view menu
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.viewsMenu.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
route: 'customRoute',
|
|
|
|
label: 'customViewLink',
|
|
|
|
description: '' // optional
|
2015-01-01 18:47:11 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
// add items to the admin menu
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.adminMenu.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
route: 'customRoute',
|
|
|
|
label: 'customAdminLink',
|
|
|
|
description: '' // optional
|
2015-01-01 18:47:11 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
// ------------------------------------------ Zones ------------------------------------------ //
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
|
|
|
|
// add templates to the hero zone (before posts list)
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.heroModules.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customHero',
|
2015-01-01 18:47:11 +09:00
|
|
|
order: 99
|
|
|
|
});
|
2015-04-20 13:57:37 +09:00
|
|
|
|
2015-01-01 18:47:11 +09:00
|
|
|
// add templates to the footer (after posts list)
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.footerModules.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customFooter',
|
2015-01-01 18:47:11 +09:00
|
|
|
order: 99
|
|
|
|
});
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
// ------------------------------------------ Posts ------------------------------------------ //
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
|
|
|
|
// add templates to the post items
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.postModules.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customModule',
|
2015-01-01 18:47:11 +09:00
|
|
|
order: 99
|
|
|
|
});
|
|
|
|
|
|
|
|
// add templates to the post heading zone
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.postHeading.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customHeading',
|
2015-01-01 18:47:11 +09:00
|
|
|
order: 99
|
|
|
|
});
|
|
|
|
|
|
|
|
// add templates to the post meta zone
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.postMeta.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customMeta',
|
2015-04-20 13:57:37 +09:00
|
|
|
order: 99
|
2015-01-01 18:47:11 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
// -------------------------------------- User Profiles -------------------------------------- //
|
|
|
|
// ------------------------------------------------------------------------------------------- //
|
|
|
|
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.userProfileDisplay.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customTemplate',
|
2015-04-20 13:57:37 +09:00
|
|
|
order: 99
|
2015-01-01 18:47:11 +09:00
|
|
|
});
|
|
|
|
|
2015-04-20 13:57:37 +09:00
|
|
|
Telescope.config.userProfileEdit.push({
|
2015-01-02 18:16:26 +09:00
|
|
|
template: 'customTemplate',
|
2015-04-20 13:57:37 +09:00
|
|
|
order: 99
|
|
|
|
});
|