Forum Discussion
I tried that but it doesnt give me all the threads inside each forum page for one category page.
For eg: I have one category page with ID : cat1
Inside this category i create four forum with ID: F1, F2, F3, F4
Now i want all the latest topic to be pulled from each forum in one component, i have achieved this by looping through each forum and rendering the HTMl, but i was wondering if there is any straight forward way with one URL which gives the consolidated information.
There is a built-in component in lithium saying 'Latest Topic' which does what i am looking for, but thats the built component and I want a custom component with similar feature.
Putting /nested in the URL is not giving me all the threads for each forum.
please help
Hi,
I believe this rest api should work for you :
/restapi/vc/categories/id/{category_id}/topics/recent
Thanks,
Sunny