This file contains 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
Using this URL as a sample, | |
http://localhost:4502/cf#/content/kpmg/institutes/us/en/institutes/advisory/articles/2013/11/advisory-11-artilce1.html | |
Add the below strings of text at the end of your editing page's URL for some extra features: | |
1. To see your page without the left side content finder, just remove the #cf/ from the url. | |
2. add ?debug=layout to see all the details of the components used on your page |
This file contains 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
1. Create the folder structure like apps/foundation/components. | |
2. Copy the parsys component from the(/libs/foundation/components) to /apps/foundation/components. | |
3. In the column control dialog add following configurations | |
(/apps/foundation/components/parsys/colctrl/dialog/items) | |
. jcr:primaryType ="cq:Widget" | |
fieldDescription ="eg : #f7f7f7" |
This file contains 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
1. Checkout | |
2. Status | |
3. commit -a -m "your message here" | |
4. checkout develop | |
5. pull | |
6. status | |
7. merge _________ * | |
8. re-run the build | |
9. push origin develop | |
10. git branch ________ (name of new branch) |
This file contains 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
In CQ 5.6.1 you cannot open the New Metadata Template... Dialog in Digital Asset Manager | |
There is a JavaScript error in the CreateMetadataTemplate.js | |
If you want to correct it, open crxde and open /libs/dam/widgets/source/widgets/CreateMetadataTemplate.js | |
Line 162 change the if from | |
if(items.hasOwnProperty(key) && typeof(items[key]) === 'object' && items[key].name.substring(0, 2) === "./") | |
to | |
if(items.hasOwnProperty(key) && typeof(items[key]) === 'object' && items[key].name && items[key].name.substring(0, 2) === "./") |
This file contains 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
> I'm interested in finding a list of child pages of a node with a specific tag e.g. | |
> | |
> type=cq:Page | |
> path=/content/geometrixx/en/toolbar | |
> p.hits=full | |
> property=jcr:content/cq:tags | |
> property.operation=equals | |
> property.value=geometrixx-media:events/concerts | |
> | |
> However, the query does a deep search and returns a list of all the pages whose path starts with the aforesaid value. I do not want to do deep search. I'm interested in the immediate child nodes only. |
This file contains 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
#!/bin/bash | |
# a script to make it easier for developers to start multiple CQ instances | |
# instructions here http://labs.sixdimensions.com/blog/2014-04-28/my-aem-dev-setup/ | |
# Default Settings | |
version=5.6.1 | |
root=~/dev/cq | |
publish= | |
debug="true" |
This file contains 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
+-----------------------+ | |
| /etc/rc.d/init.d/cq5 | | |
+-----------------------+ | |
#!/bin/bash | |
# | |
# cq5 Startup script for Adobe AEM/CQ5 | |
# | |
# chkconfig: 345 80 20 | |
# description: Startup script for Adobe AEM/CQ5 |
This file contains 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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package com.wmd.filter.impl; | |
import com.day.cq.replication.ReplicationContentFilter; | |
import com.day.cq.wcm.api.NameConstants; |
This file contains 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
(* | |
Script to Mark Item as Read and Move to folder "Archive" | |
For Microsoft Outlook 15 | |
*) | |
tell application "Microsoft Outlook" | |
activate | |
set msgSet to current messages | |
if msgSet = {} then | |
error "No Messages selected. Select at least one message." |
This file contains 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
import java.io.InputStream; | |
import java.util.concurrent.atomic.AtomicInteger | |
import org.apache.jackrabbit.oak.api.Type | |
import org.apache.jackrabbit.oak.plugins.segment.SegmentBlob | |
import org.apache.jackrabbit.oak.spi.state.NodeState | |
def countNodes(NodeState n, deep = false, String path = "/", Integer flush = 50000, AtomicInteger count = new AtomicInteger(0), AtomicInteger binaries = new AtomicInteger(0), root = true) { | |
if(root) { | |
println "Counting nodes in tree ${path}" | |
} |
OlderNewer