Editable templates & design dialog in 6.4
For static templates, current design of a site stored at /etc/designs/<site>/jcr:content/<page-component>/<component-name> . But since from 6.4 deisgn view is no longer available & it has been replaced by policies. There is a scenario i want to achieve in Editable template.
My website is multiligual & multinational where i'm using a common template for all the locales. For example i have one content-page template & i have a logo component. As a part of authoring, author needs to author logo component in designmode & gives a path of home page. for example :- for US website path is /content/mysite/us/en/homepage & for FR path is /content/mysite/fr/en/homepage.
In 6.3 if i'm using static templates i can achieve this requirement simply opening the page in design mode and can do authoring via design dialog and it will get stored in
for US : /etc/designs/mysite/us/en/jcr:content/content-page/logo
for FR /etc/designs/mysite/fr/en/jcr:content/content-page/logo
By this i'm using same template for all the locales .
If i want to do same thing in editable templates how can i achieve this. Since in editable templates we have policies. Can we add policies on the basis of a condition like if country is US then use this if FR use this ?
another way is to create a separate templtes for each locale. In that case if i have n number of locales i have to create each template n times.
I read many blogs where it's mentioned that experience fragments can be used for this. But how can we use experience fragments to fulfill this requirement.
Is this is limitations of Editable templates or there is any other way to do this . Please guide.
Thanks.