How to get such result? I would like to understand how this is coded through the landing page plugin. Dynamic page can come later.
Thatās covered in this section: https://coop.pavilion.tech/t/experimental-the-home-pages-add-on-integrate-static-content-from-landing-pages-and-add-dynamic-pages-too/3554?u=merefield#editing-simple-pages-5
(but you will first need to create your first page with the Create button).
If you need more dedicated help you can hire me or one of the team.
We can also help you with Dynamic pages.
Iāve been wrapping my head around this plugin and Iām finally starting to get the hang of it.
However - we have a private Discourse instance. I hadnāt realized that by not putting a group restriction that the page would be open to anyone whether logged in or not. So, I restricted the page to only trust level 0, figuring it would be anyone logged in.
But, when visiting the page when logged out, it returns an error; what I would like instead is to go to the login page. Is that possible?
I finally got the result I wanted with the sidebar and header by simply changing the settings related to enable and redirect homepage (see below screenshot).
However, when loading the same code, it didnt work as before, the category content wasnāt fetched. Not sure how to go about it.
Also tried to use the code in the example with the āsimple html boxesā (see below) and got an error msg that ābody is missingā.
Not sure what you mean by this?
Home pages doesnāt support any Category paths (yet, no funding/sponsor).
You are meant to either link the pages in the side bar or in a header component.
It only supports standalone pages.
the settings have to be very simple:
Note all the āblanksā.
Thatās stated in the guide:
Iāll change that to āsupportedā
Hi there. Is there a Idiot proof guidance for a noob like me to enable the Landingpage established via this plugin, as the Forums Homepage?
My landingpage is pointing to: āhttps://mydomain.com/homeā I can access this fine via the url bar. Now what I miss is that when users click inside discourse on the logo at the top left, or when they just enter āhttps://mydomain.comā to their url bar. Them to be moved to https://mydomain.com/home instead.
Hi, KilianS, sorry to be this late to your question but at the moment it is not possible to configure a landing page to be your homepage. If the capability gets added it will be notified here.
Wait, wait, if you use the Home Pages extension you can direct the home URL to one of your landing pages within Discourse.
Hi Team,
We are running a self-hosted version of Discourse at my company and weāve set up several Landing pages and display them through the Home Pages plugin, and everything works as intended as long as the pages are not restricted to a particular group.
As soon as we try to restrict a landing page to a group we just get the navigation and an empty page body. Iāve inspected the developers console and discourse logs and found the following:
-
The request for a restricted landing page returns a 403 response
-
Further processing of this requests throws a ānot valid JSONā response
-
After this, Discourse JS complains about the lack of data passed to safeHtmlContent method
-
The last error that I am seeing is related to a VM Bug on the page
This completely disables SPA navigation until the user performs a hard refresh of the page (Shift + F5).
Looking at the logs, the only related entries that I could see are these two:
Do you have any ideas on how to troubleshoot this? We have make sure that our Discourse instance is updated to the latest version 3.5.0.beta2-dev .
Let me know if there is any additional info that I can provide from my end in order to get to the bottom of this issue faster.
Hey Nikola,
This is because this is not explicitly supported, thatās essentially a feature request.
The client this extension was originally built for didnāt require this specific functionality.
The Home Pages add-on only works with a fairly simple setup in Landing Pages.
Iād review a PR to add this feature if you have someone who can submit one?
Or you are welcome to PM me to discuss contracting me to work on it.
Hey Robert,
Thank you for the prompt reply. Iāll consult with my team and get back to you if we decide to fund this enhancement request.