Category:Cumulus MX: Difference between revisions

m
 
== Editing the User Interface ==
The general advice is do not change any files that are part of the MX package, they are a package and therefore there are interdependencies. Also updating to a newer release is more complicated if you have edited any files. The files as provided in the MX package are a compromise, for example they include reporting on solar measurements but not all weather stations include such measurements. Given that the user interface is not shared with anyone else, it could be argued its look and content is not that important. In particular this interface is the only way to change settings, so do not change anything that stops those setting screens from working!
You need some understanding of Hyper-Text Markup Language to do this correctly, but here are simple examples.
 
Remember, if you decide to download a new release to not overwrite any file(s) that you have edited, or your edit will be lost. It is less likely that a new release will change the interface files than other files, but some releases do change these files. Remember, each release zip contains all MX files, even those not changed since previous release. The release notice will usually give some idea of whether interface files have changed, but it may not list which interface files have been added, modified, or removed.
 
#InIf generalyou it is not a gooddo ideadecide to varychange any code provided as part of the package as it will be overwritten if you install a new release distribution over it. Whatfile, I do, and suggest you do is to maintain a back-up copy of the original elsewhere (so it can be gone back to) and I alsoyou save mythe edited file under a new name (so Iyou can't lose my edited file by installing a new release).
 
=== Changing the look ===
 
=== Removing Solar Figures ===
If your weather station does not have solar instrumentation you might wish to remove some of the display elements that relate to that. You need some understanding of Hyper-Text Markup Language to do this correctly, but here are simple examples.
# Navigate to '''\CumulusMX\interface''' folder.
# Open the file '''now.html''' in an editor designed for code (e.g. Notepad++ for Windows, Notetab Lite)
</table> </pre>
IMPORTANT NOTES:
#ThisThe above approach works on "now.html", but it does not work on other pages where table rows are dynamically created by an external script, so the existing rows in the table body are dummies whose content is ignored. An alternative technique is to delete the whole table and any "&lt;div> .. &lt;/div>" that surrounds only that table, that will work on all the HTML pages.
*An alternative technique is to delete the whole table and any "&lt;div> .. &lt;/div>" that surrounds only that table, that will work on all the HTML pages.
#In general it is not a good idea to vary any code provided as part of the package as it will be overwritten if you install a new release distribution over it. What I do, and suggest you do is to maintain a back-up copy of the original elsewhere (so it can be gone back to) and I also save my edited file under a new name (so I can't lose my edited file by installing a new release).
 
=== Adding derivatives not shown on the existing interface page ===
5,838

edits