Website Generator: Difference between revisions

829 bytes added ,  13:02, 15 November 2023
m
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:
While CumulusUtils started as a collection of modules to be used at will in the creation of a weather website - for the site of the author - after several modules it became clear that generation of a complete website would not be too difficult. It required a HTML framework within which the modules would fit, a menu, a runtime system to handle the realtime data, loading of files, clocks, sun and moon and an adaptation of mcrossley's gauges.  
While CumulusUtils started as a collection of modules to be used at will in the creation of a weather website - for the site of the author - after several modules it became clear that generation of a complete website would not be too difficult. It required a HTML framework within which the modules would fit, a menu, a runtime system to handle the realtime data, loading of files, clocks, sun and moon and an adaptation of mcrossley's gauges.  


The work set out on a scratch board where the site was drafted and the runtime was coded. The choice was made to split the screen in two in a 5/7 ratio which never changed since. The right pane became the ''ReportView'' where the user chooses the report he wishes to see while the realtime data are always visible in the left pane, the [[Dashboard]]. The contents of the Dashboard can be toggled between two sets of twelve panes (see the [[Dashboard]] page).
The work set out on a scratch board where the site was drafted and the runtime was coded. The choice was made to split the screen in two in a 5/7 ratio which never changed since. The right pane became the ''ReportView'' where the user chooses the report he wishes to see while the realtime data are always visible in the left pane, the [[Dashboard]]. The contents of the Dashboard can be toggled between two sets of twelve panes and the lunar disc can be replaced by the lunar image produced by CMX (see [[Dashboard#The_Lunar_Disc|DashBoard]]).


In the example on the image on the right you see Holgers' fully translated site with expanded user menu and even multilingual by his own design to show off the things possible with the CumulusUtils framework.
In the example on the image on the right you see Holgers' fully translated site with expanded user menu and even multilingual by his own design to show off the things possible with the CumulusUtils framework.
Line 37: Line 37:


   [Website]
   [Website]
  // The statistics parameters are currently either for Google or Matomo
  // If the corresponding ID's and or Url are not filled in, invalid code is generated. If you do not want
  // statistics than set ''StatisticsType'' without value
 
  StatisticsType= [Google || Matomo] default is empty
   GoogleStatsId=                        => When not empty, a google stats code fragment will be generated with this code as the user Id, default is empty
   GoogleStatsId=                        => When not empty, a google stats code fragment will be generated with this code as the user Id, default is empty
   PermitGoogleOptout=true | false       => Permits to generate code so the users own access to the site will not be measured, default=false
  MatomoTrackerUrl=
  MatomoSiteId=
   PermitGoogleOptout=false (default)    => Permits to generate code so the users own access to the site will not be measured, default=false
 
   CumulusRealTimeLocation=              => see below, default is empty
   CumulusRealTimeLocation=              => see below, default is empty
   ShowInsideMeasurements=true | false  => when true, inside temperature and humidity will be shown on the website (when available in the datafile), default=false
   ShowInsideMeasurements=true | false  => when true, inside temperature and humidity will be shown on the website (when available in the datafile), default=false
Line 47: Line 55:
   HeaderRightText=                      => A free plain or HTML formatted text destined at the right side of the header, default is empty
   HeaderRightText=                      => A free plain or HTML formatted text destined at the right side of the header, default is empty
   SiteTitleAddition=                    => A free text addition to the title, default is empty
   SiteTitleAddition=                    => A free text addition to the title, default is empty
  UseCMXMoonImage=false                => When true the CMX generated moon image is used i.s.o. the CUtils native abstracted image
  MoonImageLocation=                    => The full URL for the moon image, used when ''UseCMXMoonImage=true'', ignored otherwise
  PwsfwiButtonInHeader=true            => When true the direct access pwsFWI button will show in the header, when false it shows in the menu bar


All parameters starting with '''''Panel''''' affect what you actually see in that panel See [[Dashboard]] for more information.<br>
All parameters starting with '''''Panel''''' affect what you actually see in that panel See [[Dashboard]] for more information.<br>