Can you create a custom landing page?

I understand the normal homepage, and modifying that. I also understand banners and pinning topics.

What if I wanted a unique landing page for referring people from a specific location, maybe I wanted to highlight specific topics on this landing page etc – is there anyway to do something like this?

I found this topic, but it didn’t solve my concern

No, not at the moment. We’ve discussed the ability to create static pages in Discourse, and will possibly have something within the next 6 months or so (sorry can’t be more specific than that!).

Is there anything specific that are you looking to accomplish (I assume custom layout is one big component) that wouldn’t be covered by linking to a specific topic?

4 curtidas

There are a couple plugins that may help but not sure how extensive to acheive your desired end.

This plugin may help but plugin author said it may break along the way.

There is also a couple of plugins that do forms of static pages like

And

3 curtidas

Se me permite ousar reerguer este tópico, tenho pesquisado para criar algum tipo de página estática para incorporar o cliente fTELNET - houve algum desenvolvimento adicional ou o script js incorporado funcionará com DiscPage ou ProCourse?

Você já explorou Landing Pages Plugin 🛩?

4 curtidas

@nathank Não - Vou tentar!

1 curtida

Então, o que aconteceu no final? Eu preciso usar um balanceador de carga ou existe uma função nativa para isso? Já se passaram quase 5 anos desde que você mencionou isso, atualmente só pode ser feito com plugins, mas aparentemente esses plugins tendem a quebrar o sistema.

agora temos um recurso de publicação de página, confira Page Publishing

Isso não é uma página de destino.

Eu me pergunto… e se um Componente de Tema fosse usado para redirecionar / para a página publicada? Não tenho certeza de quantas coisas quebrariam, no entanto.

Isso me faz pensar no recurso de página inicial personalizada. Não sei se há um tópico de documentação. O tópico que me lembro é

3 curtidas

A ‘documentação’ está em DEV: allow themes to render their own custom homepage by pmusaraj · Pull Request #26291 · discourse/discourse · GitHub, eu acredito. Eu não acredito que haja um tópico de #documentação adequado para isso.

2 curtidas

É se você pousar pessoas nele :smiley:

Se precisar ser a página inicial, também é possível ter páginas iniciais totalmente personalizadas usando o outlet custom-homepage em um tema: DEV: allow themes to render their own custom homepage by pmusaraj · Pull Request #26291 · discourse/discourse · GitHub… seguindo este caminho, você conseguiria construir conteúdo personalizado baseado em quaisquer condições que você precise. Você poderia mostrar conteúdo diferente usando um parâmetro de query como /?src=ad-campaign, por exemplo.

3 curtidas