November Happy Hour will be moved to Thursday December 5th.

How to display a editpanel plugin on only one pagetype

Vote:
 
Im trying to create a editpanel plugin and only want to display it on one page type. The same way as the EPiServer Form Data plugin works. How do i do this? /Peter Ragndahl
#12274
May 06, 2005 10:21
Vote:
 
You can see the source for the Form Data plugin in the SDK, under source\EPiServer\edit\formpostings.ascx.cs. However, the code for the forms plugin do not test for a spesific page type, but rather the presence of any properties of type PropertyForm. You could test CurrentPage.PageTypeID or PageTypeName instead. Steve
#13954
May 06, 2005 13:57
Vote:
 
It works great. Thanks!
#13955
May 09, 2005 15:26
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.