Site structure
Version 6.x > Site structure > Difference between <cms:CMSWebPartZone... and <cc1:CMSWebPartZone.. tags? View modes: 
User avatar
Member
Member
david.haigh-mercatosolutions - 10/3/2012 4:41:41 AM
   
Difference between <cms:CMSWebPartZone... and <cc1:CMSWebPartZone.. tags?
When editing my masterpage page layout there is a tip that says to use the following format for web part zones:
"Use the following expression to add a new web part zone: <cms:CMSWebPartZone ID="zoneTopRight" runat="server" /> (ID must be unique)"

I have also seen on some help sites (e.g. http://devnet.kentico.com/docs/communitysiteguide/index.html?creating_the_master_page.htm) that you should use the format:
"<cc1:CMSWebPartZone ID="zoneTopRight" runat="server" />"

what is the difference between the cc1 and cms prefixes?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/3/2012 5:29:52 AM
   
RE:Difference between <cms:CMSWebPartZone... and <cc1:CMSWebPartZone.. tags?
Hi David,

generally there is no difference. With tag prefixes you are able to distinguish CMSWebParts i.e. you can create groups of them. It's just for better lucidity. The prefix "cms" is just the default one of the Kentico.

Best regards,
Martin Danko