Canapin
(Coin-coin le Canapin)
March 11, 2022, 1:21pm
1
Hi! Would it be possible to use this theme component :
This is a theme component that will allow you to add links to Discourse top navigation.
Screenshot:
Desktop
[Capture]
Mobile
[Capture]
Settings:
A navigation link needs three things
Name
Description
Path or URL
Name is the text for the link that shows up on the menu. Description shows up when you hover the name like this:
[hover2]
Path/URL is where you want the link to go.
You can add links as semicolon delimited values in theme settings following this order
name;description;URL …
To add a Chat button that opens the chat (maybe in small, maybe in fullscreen)?
2 Likes
4ong
(Anatol Myshkin)
March 11, 2022, 1:29pm
2
Hi @Canapin
Have you tried /chat
relative url?
It seems to work as expected.
3 Likes
Canapin
(Coin-coin le Canapin)
March 11, 2022, 1:41pm
3
Seems perfect! I’ll try this
2 Likes
Jagster
(Jakke Lehtonen)
March 11, 2022, 2:23pm
4
It works just fine. I did it that way.
Except a couple small things. When using iPad and Hub /chat
will open full screen, not pop-up, and layot is a bit too wide. Well, for me anyway.
3 Likes
osioke
(Osioke Itseuwa)
March 11, 2022, 2:35pm
5
Jagster:
When using iPad and Hub /chat
will open full screen, not pop-up, and layot is a bit too wide. Well, for me anyway.
Can you share a screenshot of this? We’d definitely want to note it and fix it.
1 Like
Jagster
(Jakke Lehtonen)
March 11, 2022, 2:39pm
6
And this is normal view, opened using the icon:
2 Likes
Jagster
(Jakke Lehtonen)
March 11, 2022, 2:42pm
7
And before you ask… No, I haven’t check if it is because of some conflict or something else. I’m the only one who’s using iPad AND the link — I’m kind of lazy
2 Likes