Topic: Last posts at front page with modx CMS, extern.php?

Hi all!

Does anyone know how to do this?
http://modxcms.com/forums/index.php/top … l#msg95051

I'm confused smile

Re: Last posts at front page with modx CMS, extern.php?

So you can't include it using the URL?

Re: Last posts at front page with modx CMS, extern.php?

Yes smile

Is there a way to get the latest posts without using the extern.php?
At modx they recommend to store extern.php as snippet and include
it to the page. But i guess i have to edit extern.php alot to make it work...

Re: Last posts at front page with modx CMS, extern.php?

You would have to do some coding to get the posts without extern.php as well wink

Re: Last posts at front page with modx CMS, extern.php?

Haha , okay big_smile

I have my modx isntallation in the root. I copy the content of extern.php to snippet inside modx and save it as 'forum'.
What parameters should i change in the snippet? define('PUN', 1); define('PUN_ROOT', './forum/');?