1856 Posts in 1610 Topics by 562 members
|Go to End|
4 October 2009 at 4:08am
I am facing a problem while fetching the Blog Entries from a Blog Holder.
The issue is that when I fetch the Entries from a particular Blog, it is not returning the result as in the order that I have arranged in the SiteTree.
I want to List/Display the entries in the same order that I have arranged in the Admin section.
Is it possible to fetch the Blog Entry List in the same order as in the Admin Section?
Please guide me. Awaiting your responses...
13 October 2009 at 3:15am
If I'm correct the blogholder lists the entries sorted by Date (as you would expect on a blog), so if you want that out, you'll need to open up BlogHolder.php (or BlogTree.php depending on the version), find the method called 'Entries', and remove the $order part.
|Go to Top|