Conditional Page Type Attributes
PermalinkI have a page type some custom attributes added to it. But i'll use this page type for different pages. So when the user adds a new page and selects this page type, i want to change attribute listing depending on one attribute condition. For example, if the determining attribute name is sport type and the user selects basketball, from that time i don't want user to see the attributes related to football, or other sport types, i'll select them.
I know i can do it with creating the same page type with different names, and add attributes related to it. But i want to if there is a way to do it programatically so the user won't be confused with the page types?
