| zhehanforchina wrote
Hey, Brian:
I tried both the default ModuleActions() property (that came with DNN starter kit in the Optional Interfaces section in the ViewModuleDefinition control's code-behind) and the code you provided, and I even created a dummy EditModuleDefinition Control and its code-behind, but still I couldn't see "Create Module Package" menu item. Any more suggestions or could you elaborate more on this?
Thanks.
Han
|
Sorry, i guess I wasn't clear in my first post. That code is from the EditModuleDefinition control, the one that you are trying to get to show your the Create Module Package option. I was just showing you that code so that you can see what needs to happen for that control to make the Create Module Package option available.
To make is simpler, you need to 1) make sure that your site is local, and 2) make sure, as Robert mentioned, that your module folder exists. Those are the only two things that should really get in your way. Have you checked and addressed both of those issues?