No worries. I should have linked to instructions here too! There is a nice illustrated set of instructions you can check out here. It’s possible you might be on the latest version of Discourse, in which case the UX for themes and components has changed a little. Let me know if the instructions I linked to still leave you a little lost. I’d be happy to help you figure it out.
By the way, the topic below is the home of this theme component now:
however I’ve just fiddled round with the customization settings - I’ve never had an issue before, and now my site has disappeared!! Just produces a blank screen, but the code is there!!
You’ll need to go to your site’s safe mode Air Cadet Central and check “disable current theme” then you’ll want to revert whatever change you made in the customizations.
OK back up and working - thanks again - I’ve installed your theme and it’s installing as a Theme not a Theme Component??? any ideas. I’m on Version: v2.1.0.beta5 +66
You’ll want to click the “make component” button then confirm. You should then be able to add it to your main theme the way it’s outlined in the instructions I linked to earlier.
Fab, getting there! Making it a component works, but when I add it to my theme it adds a component with the others but there’s no text for the link, but the (x) button is there. The link it produces ends in a # where the others don’t??
and it doesn’t seem to work!!
Ah yeah, I think that might be a little bug that’s still getting worked out. Try refreshing the page, then click the (x) if that blank theme component is still there, then try selecting the Force Mobile Homepage component again. You might also try selecting another theme component from the dropdown list, then open the list again and select the Force Mobile Homepage component again. Click the “add” button and hopefully that should do it!
No particular reason, no. That said, I no longer use that script. With the addition of user-selectable homepages I just have those that prefer /latest select it.
I originally found this topic when searching for a solution to my problem:
As it explains, I have my forum set up to display categories + latest since I don’t only want to display the latest on desktop. Here are the two Discourse settings that make that layout possible:
It’s the ideal layout for me since it both displays the categories for users looking to post something new and makes the latest available for other people who are just coming back to see what’s new.
For anyone reading along who wants to do the same thing, here’s what you need to do:
Seria possível ter esse recurso por usuário? Ou seja, cada usuário poder escolher sua página padrão no mobile nas preferências de interface (já existe uma geral lá, precisaríamos apenas de uma específica para mobile).
Estou com o mesmo problema: no desktop, prefiro a visualização de categorias, onde o tópico mais recente aparece à direita. No mobile, a visualização de categorias mostra apenas as categorias. No mobile, eu preferiria a visualização de “últimas” alterações de tópicos.
Seria ótimo ter duas preferências:
página inicial padrão no desktop: [campo de seleção]
página inicial padrão no mobile: [campo de seleção]
Será que isso também poderia ser uma configuração por dispositivo? As soluções alternativas publicadas acima não são ideais porque forçam a configuração em todos os usuários móveis (e tablets são difíceis de classificar nesse aspecto). E é bastante óbvio que muitas vezes pode fazer sentido ter preferências diferentes baseadas no dispositivo, não apenas na distinção entre desktop e móvel.