Vanity URLs in multiple domains with one CQ5 instance
I have two websites which are in different domains but use the same CQ5 author instance. How can I setup the same Vanity URLs for both websites.For example, one.com/shorturl and two.com/shorturl. I...
View ArticleHow to Auto Login after registeration
I have the following requirement and I've spent some time trying to experiment and looking for solutions but have failed to come up with anything that works. Requirement:> Register the user in CQ...
View ArticleCQ 5.4 - How to create a column layout?
Greetings everyone; I'm trying to create a website with some components that I get from a imported site... So far, so good, but when I try to drop a "column" component in my website from the...
View ArticleImport content into CQ5.
Hello, I needed to push data from a legacy system into the CQ content repository. I have about 10,000 products/data in a legacy system, and don’t want to manually create each product page in CQ5. I...
View ArticleOnly a type can be imported. org.apache.felix.scr.annotations.Component...
I copied the example code exactly, but it won't compile. I receive errors on all the annotations, like:"Only a type can be imported. org.apache.felix.scr.annotations.Component resolves to a...
View ArticleRegd:org.apache.sling.api.scripting.ScriptEvaluationException:...
Hi , I'm getting the below exception while accessing the pages. It was working fine earlier.. Any help on this please....??? Caused by: org.apache.sling.api.SlingException:...
View Articlesling:ResourceSuperType foundation/components/page
Hi Everybody, I'm new to CQ and really enjoying it. I have a question if someone can please help? Can anyone help me understand how sling resolves a page component that has a resourceSuperType of...
View ArticleCQ doesn't pick up nodetypes.cnd changes using Package Manager
Hi, CQ doesn't seem to pick up the changes in custom nodetype definitions in nodetypes.cnd when I install the package containing the updated nodetypes.cnd using Package Manager, how do I get around...
View ArticleHow to generate sitemap.xml from CQ
Hi, I am wondering if there's a build in component or function to generate the sitemap.xml from CQ? Or the only option is to code one from scratch? Thanks.
View ArticleIgnore URL param in dispacther
Hi, We have some page URLs that has some analytic params that needs to be capture from Omniture javascript. If we are having the param in URL the page is not cached as expected. So i want to ignore...
View ArticleIs there a max # of Sidekick Component Groups?
Our site currently has 5 component groups including 'Other', but if I try to add a new one, they just get added to 'Other' instead of their own component group that I tried to create. Is there a...
View ArticleHow to custom the ok button in the edit dialog
Hi Team:I want to log down the user's action when user after edit the attribute in the edit dialog,how to do that?any suggestions/pointers to solve this problem would be appreciable.
View ArticleThis node already exists: /etc/packages
Hello all! I've been trying to upload packages into CQ5 via Java, based on the documented curl commands at http://dev.day.com/docs/en/crx/current/how_to/package_manager.html, but I've hit a strange...
View ArticleHow to create a query in for lastModifiedDate in Query Builder
I want to create a query to get the Dam Assets those with their lastModifiedDate that match the current date. The usual lastmodified date is of the format yyyy-MM-ddThh:mm:ss etc. With the current date...
View ArticleChange the default font of the richtext widget
I want to change the default look and feel of the content of richtext widget. I tried set the cls property when defining the widget, but it doesn't work. any idea? thx
View ArticleInserting fragments in CQ AEM 5.6
Hello all, Is there a way to retrieve a fragment from apache docroot and place it in CQ,probably header as a fragment to be inserted to my site developed in CQ5.6 Regards,NZ
View ArticleHow to get the nodes from session through java program?
Hi, I would like to get the nodes from session objects through java program. I wrote the program like this, package com.mycomp.node; import javax.jcr.Node;import javax.jcr.NodeIterator;import...
View ArticleHow to add a document to the JCR Repository via Java API
I'm trying to get started with the JCR 2.0 " Content Repository Java Technology API Specification" It's really a great document but I miss a minimum of examples to visualize how it is all fits...
View ArticleCQ5.3 server not ready
*ERROR* webapp-CRX Launchpad Webapp: ERROR: Error starting slinginstall:F:\Microsoft\cq5\crx-quickstart\launchpad\startup\15\org.apache.sling.runmod e-2.0.3-tlp-R818849.jar...
View ArticleRedirecting page
I am using the redirect option in page properties to redirect pages but the page just displays "This page redirects to <Page Name>" in publisher mode. Why is it not working?
View Article