Unable to add content on Privacy.aspx page

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/14/2012 2:43:08 PM
Gravatar
Total Posts 2

Unable to add content on Privacy.aspx page

Hi,

I created an Privacy.aspx page to the project.

<%@ Page Title="" Language="C#" CodeBehind="Privacy.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master" StylesheetTheme="" AutoEventWireup="false" Inherits="mojoPortal.Web.UI.CmsPage" %>
<%-- @ OutputCache Duration="120" VaryByParam="*" --%>
<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" ></asp:Content>
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server"></asp:Content>
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server">
</asp:Content>

Also added a link in the footer on the master page

<portal:PrivacyPageLink ID="pp1" runat="server" />

 

In the administration i changed the page to be under About

 

However when i add content to this page it shows up on the home page as well.

Am i doing something wrong?

 

Thanks,

Karthik

 

10/15/2012 10:08:27 AM
Gravatar
Total Posts 18439

Re: Unable to add content on Privacy.aspx page

You don't need visual studio to create pages in mojoPortal, see the article How mojoPortal Works.

You create a page using only the web browser, just create a new page and set the parent page as your about page. Optionally you could uncheck the "Include In Menu" in page settings if you don't want the page to appear in the menu.

When you create the page note the url in page settings, if you name it "Privacy" then the url will typically be ~/privacy.aspx unless you have enabled extensionless urls in which case it would be ~/privacy

Then in Site Settings you specify the relative url in the textbox for Privacy Page Url (but leave out the ~ and just use /privacy.aspx or /privacy)

Then you add an instance of the HTML content feature on your privacy page and type in your privacy policy.

Visual Studio is only needed for developing custom features that plug into mojoPortal.

Hope that helps,

Joe

10/17/2012 9:23:09 PM
Gravatar
Total Posts 2

Re: Unable to add content on Privacy.aspx page

Thank you Joe that worked!

 

Thanks,

Karthik

You must sign in to post in the forums. This thread is closed to new posts.