Expand my Community achievements bar.

Selected Language in Blueprint

Avatar

Level 4

Hi All,

I have a requirement that whatever language will be selected in blueprint, I will get the JCR property for that language in my java class, as shown in below screenshot.

Can anybody have that code.

6 Replies

Avatar

Level 10

Can you explain little more on your requirement and usecase ?

Hi All,

Actually my requirement and use case is as below.

I created my website by using Geometrixx Site blueprint, as shown in below screenshot.

After that Template of the respective language is coming one level below to the websites, as shown in bleow Screenshot.

NOTE : - Please see the below screenshot to be more clear.

So My Requirement is that template should come one level up, as shown in above screenshot.

Thanks

Sonu

Problem is , you are creating 'language node' as a live copy.

Essentially, 'Sunita Test Website' should be your live copy of Geometrixx site and Select the languages you need 

Steps to follow

1. Goto /siteadmin

2. Select root node ''/' and click on New > New Site

3. Give a site name and select 'Geometrixx Site' blueprint

4. Select the languages you need

5. Select the top level pages and click finish

Site will be created as the live copy of the geometrixx site blueprint

PFA the screenshot

Hi Lokesh,

Thanks for your help.

But our requirement is that the template should come one level up when we are creating site like above in my screenshots.

Is that I need to overwrite the OOTB code for this?

what do you mean by 1 level up.. If you see my screen shot, you have the language node with the template one level up !