rtePluginsenables the CUI registry (cq/ui/rte/core/plugins/PluginRegistry.js)- Some plugins are enabled be default, so there's instances online where this section is omitted. You'll need this configuration if you want anything that isn't default. I left some other plugin configurations here that aren't in use.
uiSettingsis a configuration used by CUI- Some online resources will note other
cuichildren.inlineis the configuration plugin for the inline toolbar mode.fullscreenis the configuration plugin for the full screen toolbar mode. If a plugin isn't enabled, some settings here won't activate.
- Some online resources will note other
- Fixed inline mode won't work for 6.0 or 6.1. You'll need 6.2. In 6.3+, this may not work due to CUI2 being introduced. CUI2 may simplify some setup.
Note that offline compaction requires a long duration of downtime from 30 minutes to 7 hours (and in extreme cases more time).
Offline Oak compaction with debug logging:
- Stop Oak / AEM
- Install the latest Oak hotfix to your AEM instance:
- AEM 6.0 - https://helpx.adobe.com/experience-manager/kb/aem6-available-hotfixes.html
- AEM 6.1 - https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes.html
- AEM 6.2 - https://helpx.adobe.com/experience-manager/kb/aem62-available-hotfixes.html
- Later - https://helpx.adobe.com/experience-manager/aem-releases-updates.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.nateyolles.aem; | |
| import org.apache.felix.scr.annotations.sling.SlingServlet; | |
| import org.apache.sling.api.SlingHttpServletRequest; | |
| import org.apache.sling.api.SlingHttpServletResponse; | |
| import org.apache.sling.api.resource.Resource; | |
| import org.apache.sling.api.resource.ResourceResolver; | |
| import org.apache.sling.api.servlets.SlingSafeMethodsServlet; | |
| import org.apache.sling.commons.json.JSONException; | |
| import org.apache.sling.commons.json.jcr.JsonItemWriter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Checked checkbox will result in a String property of "true" --> | |
| <myCheckbox | |
| jcr:primaryType="cq:Widget" | |
| fieldLabel="My Checkbox" | |
| name="./myCheckbox" | |
| type="checkbox" | |
| xtype="selection"/> | |
| <!-- Checked checkbox will result in a Boolean property of true--> | |
| <myBooleanCheckbox |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var SlingSettingsService = Packages.org.apache.sling.settings.SlingSettingsService; | |
| use(function () { | |
| // Get runmodes and transform them into an object that is easier to read for Sightly | |
| var runmodesObj = {}; | |
| var runmodesSet = sling.getService(SlingSettingsService).getRunModes(); | |
| var iterator = runmodesSet.iterator(); | |
| while (iterator.hasNext()) { | |
| runmodesObj[iterator.next()] = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <enable | |
| jcr:primaryType="nt:unstructured" | |
| sling:resourceType="granite/ui/components/foundation/form/checkbox" | |
| text="Enable" | |
| id="enable" | |
| value="true" | |
| name="./enable" | |
| class="cq-dialog-checkbox-showhide" | |
| cq-dialog-checkbox-showhide-target=".button-option-enable-showhide-target"/> | |
| <deleteEnable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java -jar cq-quickstart-6.0.0.jar -debug 10123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('.specs__slider').slick({ | |
| dots: true, | |
| centerMode: true, | |
| focusOnSelect: true, | |
| arrows: false, | |
| customPaging: function(slider, i) { | |
| return '<div class="thumbnails">' +$(slider.$slides[i]).find('img').prop('outerHTML')+ '</div>'; | |
| } | |
| }); |
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"All pages below content path
NewerOlder
