Log in

View Full Version : Add Recent Posts to custom page?


firebrand media
05-22-2012, 08:30 PM
I've successfully made a custom page with a slew of feeds from external sources.
The data is stashed in "registered" values and displayed in a related template.

One of the last feeds I need is recent forum posts.
I tried just dropping the guts of block_newposts in my custom page template, but I'm missing whatever #include is needed to create the values that code needs.

My searching on this site has not been productive.
Anyone have a lead for me?

I'd rather not write another query and format it all myself when there must be a simple way to bring this in.

Lynne
05-22-2012, 09:55 PM
You will need a query to do this - there is no way around it.

firebrand media
05-23-2012, 06:31 PM
I'm sure you're correct Lynne, but I don't understand how that could be. The code already exists in the system for both widgets and blocks. And yet not available for custom pages?

Oh well...