What is the approach to adding a page, like Help.aspx ?
Do I first copy another one and change contents?
I copied the Contact Us page. When I view in edit mode
it says
Content: Contact Us
for both:
~/ContactUs.aspx
~/Help.aspx
Do I make custom content pages for this? thanks
Adding Pages - which Content?
Re: Adding Pages - which Content?
After making a copy of Contact Us page. You just change its title to the proper title. For example
in your case it may be Help Page. Now create a Help.htm scriptlet in App_Data\Scriptlets\Custom folder which will contain the contents for the Help page.
Now check the following part of the page
It show the default settings for the page which are still for the contact us page because you made a duplicate of that. So change ID="ContactUs" to ID="Help" , change Content="Contact Us" to Content="Help"
That is it. Now your Help.aspx will be opened with its own default contents.
in your case it may be Help Page. Now create a Help.htm scriptlet in App_Data\Scriptlets\Custom folder which will contain the contents for the Help page.
Now check the following part of the page
Code: Select all
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="PageContent">
<cb:ScriptletPart ID="ContactUs" runat="server" Layout="Left Sidebar" Header="Standard Header" Sidebar="Our Departments" Content="Contact Us" Footer="Standard Footer" Title="Contact Us" AllowClose="False" AllowMinimize="false" />
</asp:Content>
That is it. Now your Help.aspx will be opened with its own default contents.
Re: Adding Pages - which Content?
Thanks Mazhar, ..
That worked, but it didn't use the same sidebar as the
one in the Contact Us page.
But they both have the same parameters:
Layout="Left Sidebar" Sidebar="Our Departments"
I can change it in Edit Page mode, but I'm confused on
where it is specified.
That worked, but it didn't use the same sidebar as the
one in the Contact Us page.
But they both have the same parameters:
Layout="Left Sidebar" Sidebar="Our Departments"
I can change it in Edit Page mode, but I'm confused on
where it is specified.
Re: Adding Pages - which Content?
If you haven't modified the "Our Departments" then the both pages will use the sidebar form
but if you modified the "Our Departments" then they will use it from
Code: Select all
App_Data\Scriptlets\Default\Sidebar
Code: Select all
App_Data\Scriptlets\Custom\Sidebar