Month: July 2013
-
Translating strings in a CQ component to user’s preferred language
Adobe CQ provides an easy way to translate strings (fieldLabel) in a component. Inside the component folder, create the i18n sling folder. Then create language folders (sling:folder) and assign Mixins of mix:language type. In the language folder, add the jcr:language property and assign the language code. Dake Smith blog, Internationalization within Sling (and CQ), has…
-
Creating a Facebook component in Adobe CQ
In this blog entry, we will see how to create a component that displays the Facebook Like button. A Facebook Like button needs no explanation. It allows a user to like your company’s Facebook page and also keeps a record of the number of people “Liked” the page. Facebook provides great documentation on how to…