Adding a new Folder\page

Latest post 07-19-2007 1:46 PM by Nick. 1 replies.
  • 07-18-2007 8:30 PM

    • peaboy
    • Top 50 Contributor
    • Joined on 12-28-2006
    • Posts 4
    • Points 60

    Adding a new Folder\page

    It is a little complicated to something simple like adding a new page(and folder) to a CS site. Can you add a NewPage sample and a NewFolder sample to the theme which can be used as a template. then all we would need to do is make a copy of this, rename them and add them to the site urls or the overrides or however its done.. ;-)

     Thanks,

    -p

    • Post Points: 20
  • 07-19-2007 1:46 PM In reply to

    • Nick
    • Top 10 Contributor
    • Joined on 10-11-2005
    • Gilwern, S.Wales, Uk
    • Posts 2,606
    • Points 19,725

    Re: Adding a new Folder\page

    You add a new ASPX page in the theme directory.  eg. ~/Themes/Aero2007/Common/Somepage.aspx

    You set that page to use Home.master as the master page.

    You can then add <asp:Content's to that page.

    Open SiteUrls.config, find the Common section, copy home.aspx's mapping, renaming it to the new page.

     

    Hope that helps 

    • Post Points: 5
Page 1 of 1 (2 items) | RSS