Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
(Note that 4.1.0 (build 4024) - 05 June 2024 remains available, but usage of this version is not recommended - particularly for Davis stations - and the included utility in this distribution for migrating to v4 is known to contain errors affecting conversion of dayfile.txt)
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
fixed horizontal navigation menu
Moderator: saratogaWX
-
- Posts: 131
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
fixed horizontal navigation menu
Hello everyone,
I am seeking information to create a fixed horizontal navigation menu at the top that I could use in Saratoga scripts instead of vertical navigation menu.
Would some info?
Thanks for all
Best regards
Michel
I am seeking information to create a fixed horizontal navigation menu at the top that I could use in Saratoga scripts instead of vertical navigation menu.
Would some info?
Thanks for all
Best regards
Michel
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
- PaulMy
- Posts: 3907
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: fixed horizontal navigation menu
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 131
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: fixed horizontal navigation menu
Paul thank you for your information.
Best regards
Michel
Best regards
Michel
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
-
- Posts: 131
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: fixed horizontal navigation menu
Hello everyone,
Sorry but I do not know use this script in my local site ....
Questions:
Should he leave the original menus or invalidate: Menubar.php and flyout-menu.php ??
Where places the files:-menu.php dropdown, dropdown-menu.xml ??
Is there a .css file to load ???
where the image file is located ??
Thank you for your information
Best regards
Michel
Sorry but I do not know use this script in my local site ....
Questions:
Code: Select all
Edit your page to insert
<?php $PrintDropdownMenu = false; include("dropdown-menu.php"); print $DropdownCSS; ?>
in the <head> </head> area of your page.
Edit your page to insert
<div class="dropdownmenu"><?php print $DropdownMenuText; ?></div>
on your page where you'd like the menu to appear, then save and upload the page to your website.
Where places the files:-menu.php dropdown, dropdown-menu.xml ??
Is there a .css file to load ???
where the image file is located ??
Thank you for your information
Best regards
Michel
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
- PaulMy
- Posts: 3907
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: fixed horizontal navigation menu
Hopefully Ken will pop in and reply.
Paul
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
- PaulMy
- Posts: 3907
- Joined: Sun 28 Sep 2008 11:54 pm
- Weather Station: Davis VP2 Plus 24-Hour FARS
- Operating System: Windows8 and Windows10
- Location: Komoka, ON Canada
- Contact:
Re: fixed horizontal navigation menu
Update http://www.wxforum.net/index.php?topic= ... #msg267091
and I am sure Ken will get to the various boards as his time permits.
We wish Ken the best after his tribulations.
Paul
and I am sure Ken will get to the various boards as his time permits.
We wish Ken the best after his tribulations.
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
-
- Posts: 131
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: fixed horizontal navigation menu
Hello Paul,
Thank you for this information.
We wish a speedy recovery to Ken and his family.
I have all the time to edit my scripts,
this is not urgent !!!
These scripts are just the hobby of a pensioner
and not for a corporate job !!!
Good day
Best regards
Michel
Thank you for this information.
We wish a speedy recovery to Ken and his family.
I have all the time to edit my scripts,
this is not urgent !!!
These scripts are just the hobby of a pensioner
and not for a corporate job !!!
Good day
Best regards
Michel
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: fixed horizontal navigation menu
Hi Michel,
Based on your description/question, it appears you wish to add the dropdown menu to a Saratoga template (which already incorporates the flyout-menu functions).
The dropdown-menu is not 'template aware' (unlike the flyout-menu) and generates a fixed (blue background) style for the menu display.
The dropdown-menu uses only two files: dropdown-menu.php and the XML descriptor file dropdown-menu.xml
When executed, dropdown-menu.php generates the menu HTML in $DropdownMenuText and the needed CSS in $DropdownCSS.
The exact colors used in the CSS are specified in the settings area of the dropdown-menu.php file itself.
To insert in the Saratoga template, change top.php from to
Then change header.php from to
and the new dropdown-menu should appear in your header on all pages. You will need to edit dropdown-menu.php to adjust the CSS to fit your color scheme.
I had not included the dropdown-menu function in the template set for a couple of reasons:
1) the horizontal aspect limits the number of menu items that can be displayed (particularly in the narrow aspect of the template) and can overflow/wrap in unattractive ways unless the wording and numbers of top menu items are not carefully chosen.
2) the script is not 'language aware' and doesn't include the template translation functions for menu items nor CSS adjustments for different themes -- and I was too lazy to add that
I hope this helps...
Best regards,
Ken
Based on your description/question, it appears you wish to add the dropdown menu to a Saratoga template (which already incorporates the flyout-menu functions).
The dropdown-menu is not 'template aware' (unlike the flyout-menu) and generates a fixed (blue background) style for the menu display.
The dropdown-menu uses only two files: dropdown-menu.php and the XML descriptor file dropdown-menu.xml
When executed, dropdown-menu.php generates the menu HTML in $DropdownMenuText and the needed CSS in $DropdownCSS.
The exact colors used in the CSS are specified in the settings area of the dropdown-menu.php file itself.
To insert in the Saratoga template, change top.php from
Code: Select all
<!-- end of top -->
Code: Select all
<?php $PrintDropdownMenu = false; include_once("dropdown-menu.php"); print $DropdownCSS; ?>
<!-- end of top -->
Code: Select all
</div><!-- end subHeaderRight -->
</div>
<!-- end of header -->
Code: Select all
</div><!-- end subHeaderRight -->
<div class="dropdownmenu"><?php print $DropdownMenuText; ?></div>
</div>
<!-- end of header -->
I had not included the dropdown-menu function in the template set for a couple of reasons:
1) the horizontal aspect limits the number of menu items that can be displayed (particularly in the narrow aspect of the template) and can overflow/wrap in unattractive ways unless the wording and numbers of top menu items are not carefully chosen.
2) the script is not 'language aware' and doesn't include the template translation functions for menu items nor CSS adjustments for different themes -- and I was too lazy to add that
I hope this helps...
Best regards,
Ken
-
- Posts: 131
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: fixed horizontal navigation menu
Hello Ken,
Thank you for all your information on the display Horizontal
I downloaded two files: dropdown-menu.php and dropdown-menu.php.xml
The changes were made in scripts : top.php and header.php
Sorry vertical display still, not horizontal display
In the script settings.php the flyoutmenu is set to TRUE
How do I get this horizontal display?
Thank you for your information.
Best regards
Michel
Thank you for all your information on the display Horizontal
I downloaded two files: dropdown-menu.php and dropdown-menu.php.xml
The changes were made in scripts : top.php and header.php
Sorry vertical display still, not horizontal display
In the script settings.php the flyoutmenu is set to TRUE
How do I get this horizontal display?
Thank you for your information.
Best regards
Michel
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: fixed horizontal navigation menu
What is the URL of the website where you are trying out the dropdown-menu?
Also, it's dropdown-menu.php and dropdown-menu.xml not dropdown-menu.php.xml
Also, it's dropdown-menu.php and dropdown-menu.xml not dropdown-menu.php.xml
-
- Posts: 131
- Joined: Thu 16 Jan 2014 1:31 pm
- Weather Station: Vantage PRO2
- Operating System: Windows 11
- Location: France
- Contact:
Re: fixed horizontal navigation menu
Hello Ken,
Sorry but your scripts are still operated on Wamp server locally
I send you the source file the index.php script
Thank you for your information
Best regards
Michel
Sorry but your scripts are still operated on Wamp server locally
I send you the source file the index.php script
Thank you for your information
Best regards
Michel
You do not have the required permissions to view the files attached to this post.
OS : Windows 11 Familial
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
Station Météo : Vantage PRO2
Cumulus MX v.4.0.1 build 4024
https://courtil1.com
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: fixed horizontal navigation menu
Well, debugging by just looking at a view-source capture of the page is a bit like driving while blindfolded -- you may run into the solution or not, but it is no substitute for access to the website itself.
If your dropdown-menu.php.xml is still on your site, rename it to dropdown-menu.xml (and it should contain ONLY the XML menu statements).
It looks like (from the view-source capture) that the script is working, just no menu definition was found.
If your dropdown-menu.php.xml is still on your site, rename it to dropdown-menu.xml (and it should contain ONLY the XML menu statements).
It looks like (from the view-source capture) that the script is working, just no menu definition was found.