Components per region | Adobe Higher Education
Skip to main content
francisco_ribei
Level 6
October 16, 2015
Risolto

Components per region

  • October 16, 2015
  • 6 risposte
  • 1235 visualizzazioni

Hi,

I have a scenario where I have Item detail pages that should be available in 3 different regions, and the components allowed should be per region. 

In a first look I think this can be done with only one template right? Setting different allowed components in the parsys for each region? But for this I would need to have one design for each region. Am I going into the right approach?

Thanks

Questo argomento è stato chiuso alle risposte.
Migliore risposta di ogill

Hi,

is the content path different for each region?

Could you not create separate templates for each region that extend a common component, this would be cleaner I think. Only need a single design as well.

You get 3 instead of 1 template, but since they all extend the same component, it is pretty straightforward. Why do you want to use only a single template?

Regards,

Opkar

6 risposte

smacdonald2008
Level 10
October 16, 2015

I think this is the correct approach - you can define what component is allowed and what component is not allowed setting this values. 

Lokesh_Shivalingaiah
Level 10
October 16, 2015

Even I can think of the same ! that should be fine unless if others have any other inputs

ogillAdobe EmployeeRisposta
Adobe Employee
October 16, 2015

Hi,

is the content path different for each region?

Could you not create separate templates for each region that extend a common component, this would be cleaner I think. Only need a single design as well.

You get 3 instead of 1 template, but since they all extend the same component, it is pretty straightforward. Why do you want to use only a single template?

Regards,

Opkar

francisco_ribei
Level 6
October 16, 2015

Thanks for your inputs!! :)

francisco_ribei
Level 6
October 16, 2015

Hi Opkar,

Yes the content path is different for each reagion,

So, in this approach we are going to have 3 templates, and 3 page components extending from the same component. I think it is more cleaner.

I would like to have only one template to not create many templates that would be similar.

Thanks for your inputs.

Adobe Employee
October 16, 2015

Hi,

you could have 3 templates extend a single page component. I think it is cleaner than putting logic in your page component to determine which region it is in.

Having many templates is not an issue, if they are all relevant and serve a distinct purpose.

Regards,

Opkar