-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help requested with creating custom home page #543
Comments
Great! Yes there is a lot of power in the classifier system, unfortunately it is not very well documented. We need more "how-to" guides to help expose some of these features. |
Actually after trying this a bit more I'm struck with one issue. How would I go about it if i want to have one "Latest Articles" block where I follow the ordering of a classifier, and then in another "Latest Pages" block I do not. Concretely I want to have one block where I have my headlines, and another where I have a "news stream" where news articles appear exclusively in the order which they were published. However all my articles are children of my one "Articles" page. What do you recommend I do in this case? |
@vsalvino tagging you in case you hadn't seen this. I'd be open to making a pull request if this is not possible, if we discuss the design and the how and what. |
I have added a new block that will hopefully fix this issue. However, even if I run migrations, I do not seem to be able to select this block. Is there anything else I need to do? |
I got this working thanks to finally (after reading through a lot of the code) understanding this issue and the solution inside of it: #305 However I feel like my use case is quite common, so I wonder if me making a pull request to change the existing PageListBlock would be appreciated? |
Hello,
First of all I would like to thank the creators for the cool software they put together. After struggling a little bit to put everything together I now am starting to grasp some of the ideas behind it and have a working website.
However, I now want to create a custom home page where my latest articles show up in a "news website" look. So, the "most important" article will have a headline format, and then other articles underneath it will show up in a more toned down way etc etc.
The best strategy for this seems to be based on this question I found: #530
In short, it is to create a custom "Latest Pages" block template. The advantages of this is that I would be using mostly pre-existing functionality.
However, I don't want just any article to show up in the headline. I was thinking of letting my editors use a "Headline" classifier term to point out what articles they want in the headline.
However, I also don't want only those articles showing up in the headline. Therefore what I would actually want to achieve is the following:
The step I'm unsure of is mostly number 2. I do not know how to do that.
So my questions are:
Edit: I guess what I'm asking is: how do I add a custom ordering of pages based on a classifier term?
The text was updated successfully, but these errors were encountered: