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
Mar 25, 2008 18:34
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
Mar 25, 2008 18:43
Vote:
 
It works great. Thanks!
#13955
Mar 25, 2008 18:43
* 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.