How to display the posts list on a page

Post Reply
nogajun
Jr. Bludit
Posts: 6
Joined: Sun Apr 05, 2020 4:08 am
Location: Japan

Hi,

I am looking for a way to get a posts list on a page.
In home, it can get the posts list from $content, but in page, $content only has page info.

Is there any way to get the posts list on a page?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

I think, this will help:

viewtopic.php?t=2211
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
nogajun
Jr. Bludit
Posts: 6
Joined: Sun Apr 05, 2020 4:08 am
Location: Japan

Thank you for your answer, and sorry for the lack of explanation.

Set the page on the home page of the predefined page (in admin panel).Then, home in $WHERE_AM_I changes to blog(URL FILTERS).

blog is left as it is, and I want to display the blog posts list on the home page (predefind page) as well.

The home page will replace the template with that thread as a reference.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Do I understand it right? You want the home page and another page with the same content?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
nogajun
Jr. Bludit
Posts: 6
Joined: Sun Apr 05, 2020 4:08 am
Location: Japan

I have created a site with the following structure

Code: Select all

Top page (Predefind page - homepage / static page) <- I want display blog titles list!
 +-> blog 
 |  +-> posts 
 +-> service (static page)
 +-> about (static page)
I want to display a new blog post titles list on this top page. But $content has only page information. What should I do?
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Can you please share the link to the website.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply