Difference between revisions of "Adding own pages"

From TITAN Wiki
Jump to: navigation, search
m
m
(Tag: visualeditor)
 
Line 8: Line 8:
 
# Copy-paste (multiply) files:
 
# Copy-paste (multiply) files:
 
#* '''~/sites/blueprint.aspx''' and '''~/sites/blueprint.aspx.cs''' (for Sites Master)
 
#* '''~/sites/blueprint.aspx''' and '''~/sites/blueprint.aspx.cs''' (for Sites Master)
#* OR
 
 
#* '''~/user/blueprint.aspx''' and '''~/user/blueprint.aspx.cs''' (for User Master)
 
#* '''~/user/blueprint.aspx''' and '''~/user/blueprint.aspx.cs''' (for User Master)
# Now in selected folder <u>''you should have files similar''</u> to '''''blueprint_copy.aspx''''' and '''''blueprint_copy.aspx.cs.'''''
+
# Now in selected folder you should have files similar to '''''blueprint_copy.aspx''''' and '''''blueprint_copy.aspx.cs.'''''
 
# To get new page to work, you have to change:
 
# To get new page to work, you have to change:
 
## '''''blueprint_copy.aspx''''' → '''yourNewPageName.aspx''' and '''''blueprint_copy.aspx.cs''''' → '''''yourNewPageName.aspx.cs.'''''
 
## '''''blueprint_copy.aspx''''' → '''yourNewPageName.aspx''' and '''''blueprint_copy.aspx.cs''''' → '''''yourNewPageName.aspx.cs.'''''

Latest revision as of 17:02, 15 September 2017

Sites Master - example blank page
User Master - example blank page

TITAN provides you with the ability to add unlimited number of new pages to your website.

You can add new pages to Sites Master or User Master (see more here). To add a new page, you need to connect to your server file system. You can do it via FTP or RDC. We prepared a special empty pages to make the whole process easier for you

  1. Copy-paste (multiply) files:
    • ~/sites/blueprint.aspx and ~/sites/blueprint.aspx.cs (for Sites Master)
    • ~/user/blueprint.aspx and ~/user/blueprint.aspx.cs (for User Master)
  2. Now in selected folder you should have files similar to blueprint_copy.aspx and blueprint_copy.aspx.cs.
  3. To get new page to work, you have to change:
    1. blueprint_copy.aspxyourNewPageName.aspx and blueprint_copy.aspx.csyourNewPageName.aspx.cs.
    2. Get into yourNewPageName.aspx and edit first line:
      • Info aspx.png
      • CodeFile="blueprint.aspx.cs" → CodeFile="yourNewPageName.aspx.cs"
  4. The page should be working now under the URL: http://yourdomain/sites/yourNewPageName.aspx (example for Sites Master)


See also