Hello,
I followed the wiki about how to create the menu but I cannot create an item with an icon to link to a page.
Here is what happen:
How should I fix that?
Plus, how to link to that page in current tab and not in a blank one?
I could do that by hard coding but then, everything will be messed up when an update comes out.
Thanks.
Impossible to use icon in menu
- iatros
- Language Admin

- Posts: 146
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Impossible to use icon in menu
salut Clement
mticon-contact is not a valid icon name. Use one out of the list!
In the menu setup page:
fill in the fields like this:
click "add", and you can see the new icon for "contact" as an envelope in this example:
good luck!
Martin
mticon-contact is not a valid icon name. Use one out of the list!
In the menu setup page:
fill in the fields like this:
click "add", and you can see the new icon for "contact" as an envelope in this example:
good luck!
Martin
Re: Impossible to use icon in menu
Big thanks Martin.
Any idea how to keep the link in the current tab?
Any idea how to keep the link in the current tab?
- iatros
- Language Admin

- Posts: 146
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Impossible to use icon in menu
what do you mean?
Qu'est-ce que tu entends par là ?
Re: Impossible to use icon in menu
Well, currently when I click the envelope, https://www.meteomelin.be/template/indexDesktop.php the page is opened in a new tab.
Is is possible to open this link in the current tab?
If yes, how?
Again, this is to limit hard coding...
Is is possible to open this link in the current tab?
If yes, how?
Again, this is to limit hard coding...
- iatros
- Language Admin

- Posts: 146
- Joined: Mon Aug 21, 2017 5:56 am
- Location: Flims Waldhaus Switzerland
- Station model: Davis Pro 2 6163
- Software: Meteobridge
- Contact:
Re: Impossible to use icon in menu
In MENU - MAIN TABS
click on the gear wheel in the "Contact" line, then add:
>>>
>>Contact
#plugin(contact)
This is how it works for me (meteo.dubler.com), menu tab Info !
cheers, Martin
click on the gear wheel in the "Contact" line, then add:
>>>
>>Contact
#plugin(contact)
This is how it works for me (meteo.dubler.com), menu tab Info !
cheers, Martin
- Reinhard
- Advisor

- Posts: 84
- Joined: Fri Aug 25, 2017 9:42 am
- Location: Prägraten am Großvenediger
- Station model: Davis VP2 Pro wireless
- Software: WeatherCat
- Contact:
Re: Impossible to use icon in menu
Hi Clement,
look at this:
You should remove target="_blank" - then it does not open in a new tab or new window. Hope this helps.
look at this:
Code: Select all
<a href="https://www.meteomelin.be/template/plugins/contact/" target="_blank" class="digimeg-nav-item" style="padding-top:0.1em!important;padding-bottom:0.1em!important;padding-left:0.5em!important;padding-right:0.5em!important;font-size:2em">....Re: Impossible to use icon in menu
Hello,
Yes I know this is due to the blank target.
How is it possible to fix that in meteotemplate configuration?
I ask that before hard coding this feature in the meteotemplate code which will make the update very difficult.
I have already modified some code in blocks so this makes scripts to update when an update comes out...
Yes I know this is due to the blank target.
How is it possible to fix that in meteotemplate configuration?
I ask that before hard coding this feature in the meteotemplate code which will make the update very difficult.
I have already modified some code in blocks so this makes scripts to update when an update comes out...

