Instalar este componente de tema
Funcionalidades
Quando desativado nas preferências do usuário → interface:
O usuário verá o cabeçalho padrão incondicionalmente :
Quando ativado, o comportamento de “alternar para o título ao rolar para baixo” permanece:
Como administrador , na seção de componente de tema, você pode controlar se isso será padrão desativado ou ativado:
Observações Atuais
A configuração do usuário é persistida apenas por dispositivo no armazenamento local.
O usuário deve recarregar o site após alterar a configuração.
Não está devidamente localizado ou localizável.
Configurações
Nome
Descrição
default enabled
Ativar a alternância do cabeçalho para o título do tópico no móvel
Tradução
Padrão
mobile_switch_title
Alternar cabeçalho para título do tópico ao rolar
Hospedado por nós? Componentes de tema estão disponíveis para uso em nossos planos Standard, Business e Enterprise.
28 curtidas
Do hosted discourse instances have the option to install this component? I sent this to the admin of the site I use, but he’s having trouble getting the setting to show up for users.
@viet @oldbonsai If you install this theme component for Discourse, users will be able to change the topic header on mobile back to the old version. While the new version nicely shows you the current topic’s title, it makes it hard to quickly see...
Reading time: 1 mins 🕑
Likes: 18 ❤
jomaxro
(Joshua Rosenfeld)
Dezembro 18, 2018, 4:29pm
3
There is no restriction on the use of this theme component (or any theme component) on hosted sites. I can take a look shortly.
2 curtidas
viethoang
(Viet Hoang)
Dezembro 18, 2018, 4:34pm
4
To follow-up on @seanblue . The theme component installs without issue. I can see the component on the Theme list in Admin. We aren’t seeing the User > Preference > Interface option as seen in the quote.
2 curtidas
jomaxro
(Joshua Rosenfeld)
Dezembro 18, 2018, 4:35pm
5
Have you added the theme component to the active theme(s)? Theme components do nothing themselves unless they’re part of a theme.
8 curtidas
viethoang
(Viet Hoang)
Dezembro 18, 2018, 4:37pm
6
Nope. I did not. Adding them to the active themes did it! Thanks for the assistance and education.
5 curtidas
Hmm, this doesn’t seem to be working, anymore.
I installed it fine, I see the component, I added it successfully to all themes >> Nada.
sam
(Sam Saffron)
Janeiro 30, 2019, 12:37pm
8
@david can you test this out?
2 curtidas
david
(David Taylor)
Janeiro 30, 2019, 1:11pm
9
@dylanh724 what issue are you seeing here? This theme does nothing on Desktop, so you’ll only see the new option on mobile.
Previously it was necessary to manually refresh the site for the setting to take effect, but I just fixed that .
6 curtidas
Users cannot select this in options because the field does not exist.
david
(David Taylor)
Janeiro 30, 2019, 3:28pm
11
Are they looking for the setting on mobile, or on desktop? Are you able to share a link to the community?
1 curtida
There’s also supposed to be an admin option, right?
https://forum.imperium42.com
Are they looking for the setting on mobile, or on desktop? Are you able to share a link to the community?
Tried both
david
(David Taylor)
Janeiro 30, 2019, 3:34pm
13
I just signed up quickly, and I can see the setting in the user preferences on mobile:
Yep, that is located in the themes area. Find the page for the component, and then find the “theme settings” section at the bottom of the page. There’s a screenshot of it in the OP:
4 curtidas
I can’t see it all – I wonder if this only works for new accounts? There’s a friend helping me test and he can’t see the option, either. I’m testing desktop, he’s testing mobile.
I did, however, find the theme option within the component (thanks):
1 curtida
david
(David Taylor)
Janeiro 30, 2019, 4:05pm
15
It definitely will not appear on Desktop. Is it possible that your friend has switched to Desktop view on his mobile?
3 curtidas
You keep saying this as if the option doesn’t show on desktop – or is this intended that you can only selection this OPTION when on mobile (rather than the event happening only on mobile, which I understand)?
david
(David Taylor)
Janeiro 30, 2019, 4:07pm
17
Correct, you can only toggle the setting when using the mobile device. The theme component does absolutely nothing on Desktop.
6 curtidas
sam
(Sam Saffron)
Abril 12, 2019, 3:16am
18
@pmusaraj I think some of your recent changes broke this.
@tgxworld when you are done if you need a theme to test the new user selectable stuff this is a great one!
8 curtidas
pmusaraj
(Penar Musaraj)
Abril 12, 2019, 1:41pm
20
Fixed, this now works with latest core.
8 curtidas