Hi,
I downloaded the latest version of mojoPortal. I see there is base class named mojoBasePage so any own page can inherited from it.
However I must develop extra features for mojoPortal which use framework 1.1 so there is no mojoBasePage class.
What I need to do?
I created page e.g. MyPage.aspx with following code:
<%@ Page language="c#" Codebehind="MyPage.aspx.cs" AutoEventWireup="false" Inherits="Test.MyPage" %>
<%@ Register TagPrefix="portal" Namespace="mojoPortal.Web" Assembly="mojoPortal.Web" %>
<portal:MasterPage id="MPContainer" runat="server">
<portal:ContentRegion id="MPTitle" runat="server"></portal:ContentRegion>
<portal:ContentRegion id="MPLeftPane" runat="server"></portal:ContentRegion>
<portal:ContentRegion id="MPContent" runat="server"></portal:ContentRegion>
<portal:ContentRegion id="MPRightPane" runat="server"></portal:ContentRegion>
<portal:ContentRegion id="MPPageEdit" runat="server"></portal:ContentRegion>
</portal:MasterPage>
Then I added this page using administrator features Add/Edit page and I checked "Use url" with http://myserver/MyPage.aspx
Now I want to add same existing or my own modules (content) to this page by administrator features. I don't see any solution to do this with no mojoPasePage parent class. Yes I know that it can be done by inserting code to MyPage.aspx.cs to load extra modules (the same as in default.aspx.cs code file) but it is not good way.
Thank you.
Best regards
wtct