Skip to content

Instantly share code, notes, and snippets.

View helms-charity's full-sized avatar

Charity Helms helms-charity

View GitHub Profile
@helms-charity
helms-charity / CreateMetadataTemplate.js
Created May 10, 2014 14:11
JavaScript error in the CreateMetadataTemplate.js
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) === "./")
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)
@helms-charity
helms-charity / Colctr backgrounds
Created April 5, 2014 17:18
Customize column control in 5.6.1 (Adding backgroud color which is configured in dialog)
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"
@helms-charity
helms-charity / hints1
Created February 28, 2014 19:25
Developer hints for Adobe CQ5 - page level
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