Instruction how to create a page based on available templates
To create a new page based on the physics template follow below steps:
- Download phys_template_page.shtml file and save it as e.g. mynewpage.shtml. The phys_template_page.shtml fileuses SSI commands to include common sections of the web page such as CSS rules, page header and footer. It is very important that a new file has .shtml extension otherwise SSI command won't work.
- Next, locate a file containing syntax for a page layout you would like to use from phys-page-layouts directory:
- Download phys_main_content_1_col_menu.html for menu with links on the left, and one column for the page content, see an example
- Download phys_main_content_2_cols_menu.html for a menu with links on the left, one column for page content, additional column on the right for supporting text, images etc. see an example
- Download phys_main_content_3_cols_front.html for a 3 column layout for example for a front page, see an example
- Open this in a text editor.
- Copy and paste the entire contents of the layouts file from step 2 into the page created in step 1 below section marked as:
<!-- PASTE COPIED MAIN PAGE LAYOUT BELOW -->
- Edit this new page - change page tile, add text, menu items, images etc.
- Save changes and view your page
-
Note, all files can be obtained from "/network/web/users/default" or "Y:\LinuxUsers\web\users\default" if you have altered or removed your html directory.