ASPX templates
Version 6.x > ASPX templates > multiple placeholders in a single masterpage View modes: 
User avatar
Member
Member
aditya_kadam7-yahoo.co - 4/19/2012 1:17:51 AM
   
multiple placeholders in a single masterpage
Hi.,
How can i use multiple placeholders in a single masterpage..??

Regards,
Aditya

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 4/19/2012 3:05:19 AM
   
RE:multiple placeholders in a single masterpage
Hello,

You can place an additional placeholder to the current one as any regular web part. The placeholder can be set to display any document from the content tree by specifying the property Document to display.

Best regards,
Boris Pocatko

User avatar
Member
Member
aditya_kadam7-yahoo.co - 4/19/2012 3:14:44 AM
   
RE:multiple placeholders in a single masterpage
Hi,
Only my home page differs from sub pages. i.e rest of my sub pages inherit my master page in the same form which I want. Whereas in my home page., i need an extra content area on top of middle container.., which is my i was trying to add an extra content holder in my master. Please suggest a solution. And sorry for posting same thread @ multiple locations.

Regards,
Aditya

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 4/19/2012 4:03:43 AM
   
RE:multiple placeholders in a single masterpage
Hello,

No problem, just use one thread in future.

I am not exactly sure, so if the below suggestion won't fit your needs please post some screenshots which may help me to understand your issue better.

If you need an additional placeholder (or any other web part on that matter) to be conditionally displayed on one specific page please consider using macros. You can specify a macro for the "Visible" property on any web part by clicking the small black triangle. This macro will return true if it should be displayed and false otherwise. For example you can use the macro below to show the web part only on the News document:

{% CurrentDocument.NodeAliasPath == "/News" %}

Best regards,
Boris Pocatko

User avatar
Member
Member
Aditya - 4/19/2012 4:23:32 AM
   
RE:multiple placeholders in a single masterpage
User image
Hi.,
The above link is an example which shows that the area with ("It's the fastest and easiest way to send flowers & gifts
to Saigon - you can even have them delivered within the same date." and Go To Shop button is present only in home but not other pages.
In short how do I modify my master page.??

Regards,
Aditya

User avatar
Member
Member
Aditya - 4/19/2012 4:26:53 AM
   
RE:multiple placeholders in a single masterpage
http://www.tkflowers.com/Default.aspx

[img]C:\Users\aditya.kadam\Desktop\Capture12[/img]

Hi.,
The above link is an example which shows that the area with ("It's the fastest and easiest way to send flowers & gifts
to Saigon - you can even have them delivered within the same date." and Go To Shop button is present only in home but not other pages.
In short how do I modify my master page.??

Regards,
Aditya

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 4/19/2012 4:57:17 AM
   
RE:multiple placeholders in a single masterpage
Hi,

how to modify a master page layout is described here, but it is not probably what you need:
Page layouts

The same way as master page layout you can modify the layout of you Home page. You can add one additional zone to this template using fore example code:
<cc1:CMSWebPartZone runat="server" id="zT" />

The id property has to be unique.

Then you could add a new web parts into this zone on your Home page and it would be visible only on this page.

Best regards,
Ivana Tomanickova