Default Website Development: Difference between revisions

Line 37: Line 37:
Your site should now be functioning.  However, you may wish to visit the '''Utilities''' page and initiate an FTP upload of everything.
Your site should now be functioning.  However, you may wish to visit the '''Utilities''' page and initiate an FTP upload of everything.


===Templates===
===NOAA Reports===
There are currently 3 alternative template frameworks for the site.  These all include 4 variations for the main content area of a page; a single column, two column, three column and four columns.  These can be used as the framework for existing pages or to add your own content as required.  You can choose to use them in any combination or just one - its up to you.  All come with a pdf readme file to help you use them but for full information about the available styles visit [https://www.w3schools.com/w3css/default.asp w3Schools].
CumulusMX can generate NOAA Reports and the default website includes a page to display them.


The available frameworks are:
To enable NOAA Reports you need to visit the '''NOAA Settings page'''.
* A lefthand sidebar with the main panel on the right. Download at [https://cumuluswiki.org/images/7/75/LeftSBTemplates.zip Left-handed sidebar template]. Updated: 24th June 2023
* A righthand sidebar with the man panel on the left. Download at [Https://cumuluswiki.org/images/6/67/RightSBTemplates.zip Right-handed sidebar templates]. This is similar to the default site but the sidebar starts higher up the screen. Updated 24th June 2023
* A set with no sidebar - just the main content area. Download at [Https://cumuluswiki.org/images/2/2a/NoSBTemplates.zip No sidebar templates]. The single column version gauges page is set wider than other pages. Updated: 24th June 2023


====Additional/Alternative Pages====
* Firstly check the box 'Create NOAA files after daily rollover.
=====Gauges=====
* Setup your site details on the '''Site Details''' tab.
We also have an alternative to the default gauges.htm page.  This does away with the sidebar and places the gauges in fixed width panels that automatically reposition themselves as the page width is changedThe gauges are also able to be placed in any order without resorting to cut-n-paste.  Just add/change a number to their order style and its done.
* Under '''Report Options''', configure the settings that suit you.
* Under '''Upload Options''' either accept the default location which is Reports/ or specify a location based on where you upload your dataTo avoid issues always name this <somewhere>/Reports/


This can be downloaded from [Https://cumuluswiki.org/Downloads/NewGauges.zip Gauges Page]. Updated: 11 March 2021
Finally you need to dose research to find out the '''Normal Mean Temperatures''' and '''Normal Precipitation''' for your location.  These values need to be entered into the appropriate boxes under the respective tabs.


=====NOAA Reports=====
If you decide '''NOT''' to generate NOAA Reports then you need to edit the ''menu.js'' file uploaded to your web host. See below:
This is now included in the standard default website. It enables any of your NOAA reports to be loaded into the page using Ajax calls so no page refresh is needed. Updated: 16 June 2021.


===Complete ready to run alternative website pack===
===Complete ready to run alternative website pack===
320

edits