Try our conversational search powered by Generative AI!

Show page in menus


Is there any way to make the "Show page in menus" property not global, so that you can change the value depending on which languagebranch you're editing?

Dec 16, 2010 15:58

No, the database schema prevents this. You would have to find a different way of doing it, like adding your own property and filtering your menus on that instead.

Dec 17, 2010 10:33

As Magnus says do your own property and do the filtering yourself.

Create your own filter and then make your own versions of the EPiServer webcontrols where you override the post filter method and add your own filter as the last one. This way you can use the Epi webcontrols but they automatically run your filter.

Ofcourse if you use repeaters or such you need to use the filter directly.


Dec 17, 2010 13:55

Well, ok. Only problem then is that the user have to keep track of another property and i think it could be confusion to have a "custom" property that does basically the same thing as Show page in menus.

Oh well, back to the drawingboard. =)

Dec 27, 2010 16:26

You could hide the old Show page in menu, and only show your own.

You need to attach to the DataFormProperty.Populate and hide the orginal one.
Take a look at page 12 for how to



Dec 27, 2010 20:25
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.