Difference between revisions of "Adding own pages"

From TITAN Wiki
Jump to: navigation, search
m
(Tag: visualeditor)
m
(Tag: visualeditor)
Line 1: Line 1:
  
Titan provides ability to add new content to your site. You can add new page to '''Home Page''' or '''User Panel'''.   
+
TITAN provides you with the ability to add unlimited number of new pages to your website.        
  
# You can manage your site files via [[How_to_use_FTP_Client|FTP]] or RDC.
+
You can add new pages to ''Sites Master'' or ''User Master'' (see more [[Changing default theme|here]]). To add a new page, you need to connect to your server file system. You can do it via [[How_to_use_FTP_Client|FTP]] or RDC. We prepared a special empty pages to make the whole process easier for you       
# According to where you want new site - copy and paste (multiply) files '''blueprint.aspx''' and '''blueprint.aspx.cs''' in folder:
+
 
#* For Main Page  - folder ''<u>sites</u>''
+
# Copy-paste (multiply) files:
#* For User Panel - folder ''<u>user</u>''
+
#* '''~/sites/blueprint.aspx''' and '''~/sites/blueprint.aspx.cs''' (for Sites Master)
 +
#* OR
 +
#* '''~/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 <u>''you should have files similar''</u> 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:
Line 12: Line 14:
 
##*[[File:info_aspx.png]]
 
##*[[File:info_aspx.png]]
 
##* CodeFile="'''blueprint.aspx.cs'''" →  CodeFile="'''''yourNewPageName''.aspx.cs'''"
 
##* CodeFile="'''blueprint.aspx.cs'''" →  CodeFile="'''''yourNewPageName''.aspx.cs'''"
# Now you can check, if page is working
+
# The page should be working now under the URL: ''<nowiki>http://yourdomain/sites/yourNewPageName.aspx</nowiki>'' (example for Sites Master)
#* <nowiki>http://yourdomain/sites/yourNewPageName.aspx</nowiki> (example for Home Page)
 
 
 
 
 
  
 
<gallery>
 
<gallery>

Revision as of 15:59, 15 September 2017

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)
    • OR
    • ~/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