ASPX templates
Version 2.x > ASPX templates > ASPX Master Page for Portal Templates View modes: 
User avatar
Member
Member
tag2453@gmail.com - 5/2/2007 7:17:02 PM
   
ASPX Master Page for Portal Templates
If I build an ASPX site how can I still use the preconfigured portal page templates when creating a new page but have them use the master page from my CMSTemplates/Site/template.master folder??

User avatar
Member
Member
vin4.net-gmail - 7/11/2012 1:28:29 PM
   
RE:ASPX Master Page for Portal Templates
Hi,

I have a requirement where single template is for multiple pages with different content on each page.
According to my knowledge, we can use widget for changing content on different pages which are of same page template.

But I am trying to figure out, is there any option where there are two pages referring to single page template but
1. In first page, there will be only one web part zone.
2. In Second page, there will be three web part zones and one widget zone.
.
When I make any changes to a template, it will reflect in all pages which are referring to this page template which I dont want.

Please help me out to achieve this requirement.

Thank you.

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/13/2012 5:22:35 AM
   
RE:ASPX Master Page for Portal Templates
Hello.

What you describe is principle of a page template. Template is something “in common.”

You could use either user widget, which is bound per document and is not shared, or clone a page template as ad-hoc template. Then it will become independent and will not influence other pages.

If you want to show/hide some webpartzone classes dynamically, according to current page, you can do it via custom macro called in the Visible property for the given webpartzone element. Within the code, you can evaluate some context value (like current document name) and decide whether to show it or not.

Best Regards,
Radek Macalik

User avatar
Member
Member
vin4.net-gmail - 7/19/2012 12:56:12 AM
   
RE:ASPX Master Page for Portal Templates
Thanks a lot Radek Macalik. I will try to implement this.

User avatar
Kentico Support
Kentico Support
kentico_radekm2 - 7/19/2012 3:44:57 AM
   
RE:ASPX Master Page for Portal Templates
Hello.

You are welcome. Should you need any further help, let us know.

Best Regards,
Radek Macalik