For all Pages except the home page you find a directory and a .inc file. 
Within the directory, there is an index.html.tmpl file. For example: 
about.inc, about/index.html.tmpl. I did it that way, that I copied those 
files to a new name. Then I opened the new index.html.tmpl file and 
replaced about.inc by the name of the new .inc file and "about" in the 3rd 
line of the file by the name of the new page. The .inc file contains the 
content you want to show on the page.

So, how to include the new page into the menue?

   - Open skin.conf and look for "nav_*" items. Add your item.
   - Look for "*_page_header" and add your item, too. Save the file.
   - Open page-header.inc and look for "*_page_header". Add 2 lines like 
   the other examples there for your page. Save the file.
   - Open header.html.tmpl and look for "nav_*". Add a line for the new 
   page in menue like the examples there
   - Remove lines you do not want any more. Save the file.
   


[email protected] schrieb am Mittwoch, 3. März 2021 um 11:53:14 UTC+1:

> Hi,
>
> i have a Problem to define a new Page.
> I can't find anything in the documentation.
> And I want to disable the Reports/NOOA Reports Page. 
>
> How can I do this?
>
> Regards
> Christian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4e663313-4380-4dd6-9f65-9ba6fb596a85n%40googlegroups.com.

Reply via email to