Show page in menus

Vote:
 

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?

#46551
Dec 16, 2010 15:58
Vote:
 

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.

#46559
Dec 17, 2010 10:33
Vote:
 

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.

 

#46570
Dec 17, 2010 13:55
Vote:
 

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. =)

#46691
Dec 27, 2010 16:26
Vote:
 

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 http://www.slideshare.net/EPiServerMeetupOslo/episerver-behind-the-scene page 12 for how to

 

 

#46693
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.