Showing posts from specific topic on custom page?

Started by MarkoKg, January 15, 2017, 11:35:30 AM

Previous topic - Next topic

MarkoKg

Hey there all,

I'm wondering if it's possible to show posts from specific topic I set on custom page (portal block, custom action, external php page, or whatever)?

Ideal would be to have system like "Disqus" on custom pages I made, so I can show posts from topic ID I set. Is this doable?


MarkoKg

Thanks for your quick answer lurkalot, I appreciate it!

However, in linked documentation I can't find a way to actually show posts from specific topic, I also take a look at the advanced SSI manual here:
http://wiki.simplemachines.org/smf/SSI_FAQ_Advanced

Any pointers regards this, am I missing something?

d3vcho

Hello!

You can check SSI_examples.php (http://www.simplemachines.org/community/ssi_examples.php) and see the first exampel displayed, Recent Posts.

Regards :)
"Greeting Death as an old friend, they departed this life as equals"

MarkoKg

I don't think you understood what I asked for :)

I don't need recent posts, nor random topics or latest topics, nothing about that. I want *posts* from specific topic to be displayed below my content on custom action/blog post. Is that possible? Like for example to get all posts from this very topic and display it somewhere?

Kindred

No...  you can fetch a specific post, but not a Specific topic with all posts
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

MarkoKg

No way to do that? Well, is it possible to use few last posts from specific topic, or something like that?  O:)

MarkoKg

Okay, so this is possible with SSI and a little tweaks, I found an answer here:
http://www.simplemachines.org/community/index.php?topic=460906.5

Thanks everyone! :)

Advertisement: