World of cq

Passing parameters in cq:include

When I started developing CQ components, I always use to have one jsp with the same name as the component and place all the logic there. And the reason, I not sure how we can pass on the parameters from one jsp file to other jsp file. But necessity is the mother of all search [...]

, ,

Promotion Picker

Promotions are integral part of each website, offering teased content from other sections, information about promotions, link to other sites etc. CQ provides the concept of iParsys (inherited paragraph system) which allows to inherit the created paragraphs from the parent to child pages. This provides a way to author the promotional sidebar on section home [...]

, , ,

Happy New Year 2012 !

Cherishing the happy moments, learning from the difficult ones, and looking forward to a successful 2012, say Good Bye to 2011 ! May 2012 bring fun, happiness, prosperity and success to you and your family! Wish you and your family a very happy year 2012 !

,

Impressions in CQ 5.4

Impressions in CQ 5.4 In most of the websites today, we always find links to most viewed pages or top 5 most viewed pages. CQ stores every hit on any webpage as an impression which can be seen in siteadmin. There is no out of box component present in CQ5.4 which can be used or [...]

Adding Limit to Multifiled

Multifield is an important xtype which provides flexibility as we saw in the previous post around Multifield with custom xtype. It is good to have flexibility but becomes a bigger challenge in bigger editorial team environments where rules need to be defined to lock down flexibility. Adding validation is one way of locking down flexibility, [...]

, , ,

Multifield with custom xtype

When started working with CQ, one of the cool feature was the list component which allow to add new paths with the plus “+” sign. Based on my experience, it is one of the mandatory requirement to provide such flexibility, then setting a fixed number of text fields. To achieve the same, please refer to [...]

, , ,

Determine components on a Page

One of the common thing with CQ Pages is how to determine which all CQ components form the page. Most common process is to login to CRX and go through each node to determine the structure. But there is a better way to determine that and that is suffix the url with ?debug=layout in Authoring [...]

, , ,

Passing attribute to cq:include

It is pretty common to divide components files in chunk of files which carry a common reusable functionality. A perfect example is the foundation list component where number of different jsp files are called and passed different values at run time. In order to pass dynamic parameter to calling jsp, here is what is required: [...]

, , ,

Provide edit bar for a component

WCM is all about providing content authors the power to manage site content effectively with minimum effort. Within CQ terms, its all around CQ components and providing clear way to manage them on a page. Providing edit bar for a component is a clean way which could be achieved as: cq:Component _cq_editConfig (cq:EditConfig) cq:actions text:edit [...]

, , ,

Publish mode render check in Authoring

Everyone want’s to see how the generated page will look to end user on Publish instance as soon as someone setup a page in CQ. As CQ generates number of div tags for managing CQ component placement and their functionality, the rendering of page in Authoring doesn’t really reflect the exact source. It is always [...]

, , , ,

Previous Posts