In a nested content container in Edit+ there’s a message saying “A list of predefined Paint Layouts can be specified in the Edit+ configuration file.”
What do I need to add to the Edit+ configuration file to list paint layouts? Can’t seem to find anything in the manuals.
Thanks, Libby
[attachment=727:nestedcontentcontainer.jpg]
nestedcontentcontainer.jpg (49.5 KB)
Edit+ config file - list paint layouts
Hi Libby,
here is an example of the format you need to add:
// [OPTIONAL] // Array of paint layouts with name to display and asset id of the layout. This // option is used to display a drop down list of layouts available in the nest // content division on the contents screen. paintLayouts: [ { id: 498, name: "Features - Image & Description" } ],
You can find an example of this in the js config example that comes with the EES install package located under /__data/ees/Examples/ConfigurationFile.js
Ok more help needed,
- I've edited my js config file ( using above code) replacing id: 498, with my paintlayout asset ID, ( 13171)
- I've updated my EES Styles and Scripts standard page asset to reference my new js config file
- I've checked my customise designs assets are pointing to the correct EES Styles and Scripts standard page
but when I nest a folder & save in Edit+ the drop options under `Show additional options' does not display my custom paintlayout asset ID in the drop down list
???? help , tips , pointers?
-----------------------------------------
/**
* Easy Edit Suite configuration options.
* This is an example, options may vary per EES implementation.
* More help on EES install and implementation can be found at http://manuals.matrix.squizsuite.net/ees/chapters/installation/
*/
var EasyEditConfig = {
// Internal debugging flag. Setting this value to true will log debugging data
// to the console in browsers that support console.log.
// Quietly ignored in browsers that do not support console.log.
debug: false,
// The title bar that is displayed for EES.
// @asset_name@ is a dynamic replacement for the current assets name.
titleBar: "@asset_name@ : Squiz Matrix : Easy Edit Suite",
// Lock refresh interval in seconds.
// EES automatically refreshed all locks for an asset based on this value.
lockRefreshInterval: 120,
// Array of base site urls. (Replaces 'eesSiteURL' global variable from EES builds 832 and 833)
// For the majority systems, this can stay empty.
// If required, the array of URLs should match up with urls applied in the Squiz Matrix system configuration.
// If this is left empty or EES is installed on a site url that doesn't match a base site url then
// a domain relative url will be used.
baseSiteUrls: [],
// JS API configuration options.
// Populate with the API key found on the EES related JS API details screen.
JSAPI: {
key: "4084335601"
},
// Suffixes for matrix urls.
// Must match values found in Squiz Matrix system configuration screen.
editSuffix: "_edit",
adminSuffix: "_admin",
recacheSuffix: "_recache",
nocacheSuffix: "_nocache",
loginSuffix: "_login",
// Cascade status change threshold.
// If a user selects 'Cascade Status Change' on the Details Screen and the
// total number of child assets exceeds this value they will be
// presented with a prompt to continue or to return to the screen.
cascadeThreshold: 4,
// Timeout to show a warning for overlays that are active for more than X number of
// seconds. This is usually because of an ajax function that has for whatever
// reason failed to return successfully and could indicate server error.
overlayTimeout: 180,
// PERFORMANCE FEATURE.
// The default mode to use on initial load. Can be 'edit' or 'preview'.
// Can be overridden in the url by using the hash #mode=mode_name e.g. #mode=preview.
// If missing from config defaults to edit mode.
defaultMode: 'edit',
// Default screen to use on initial edit mode load.
// Can be overridden in the url by using the hash #screen=screen_name e.g. #screen=content.
// If missing from config defaults to details screen.
defaultScreen: 'details',
// Should the ?SQ_ACTION=diff flag be used in preview mode?
// If missing from config or set to false preview mode will require
// user interaction with the 'Compare to Live' button.
showDifferencesInPreviewMode: false,
// Array of additional asset finder locations.
// This can be used to add asset id's of frequently used site parents e.g. News, Events, Images.
assetFinderLocations: [],
// PERFORMANCE FEATURE.
// Maximum number of assets to show in an asset finder panel before
// pagination occurs.
// If missing from config pagination will default to 100.
// 0 = no pagination.
assetFinderMaxAssets: 100,
// PERFORMANCE FEATURE.
// Cache manager default expiry, minutes expressed as a whole number.
cacheManagerDefaultExpiry: 2,
// Show 'Set Thumbnail' section on details screen.
// Adds the ability to add/remove/update a thumbnail to all assets.
// If missing from config thumbnail will show by default, set to false to hide.
useThumbnail: true,
// Display and allow editing of future statuses via the details screen.
// If missing from config or false the details screen will not display 'Show Future Status'.
allowFutureStatusChange: true,
// [OPTIONAL] Enforce workflow approval/rejection log messaging
// If this option is set to false users will not have to fill out the
// mandatory workflow log message when approving or rejecting assets on
// the Workflow screen. By default this option is set to true.
// mandatoryWorkflowLog: false,
// PERFORMANCE FEATURE.
// Display a list of direct children on the link screen.
// If missing from config or false the linking screen will not display 'Direct Children'.
showChildrenOnLinkingScreen: true
// [OPTIONAL]
// Array of paint layouts with name to display and asset id of the layout. This
// option is used to display a drop down list of layouts available in the nest
// content division on the contents screen.
paintLayouts: [
{
id: 13171,
name: "News and events custom layout"
}
],
}; // End EasyEditConfig.
Hi ciggars,
I notice you are missing a comma between 'showChildrenOnLinkingScreen: true' and 'paintLayouts'