This project is read-only.

right column for other pages

Mar 1, 2009 at 9:24 PM
I would like to keep the right column on post pages.  But the data to render the archives is not included when that page is rendered. How would I go about changing that? I'm new to ASP.NET MVC so I could use a little guidance.
Mar 4, 2009 at 6:02 PM
We're working on some things to make this much easier and help you not have to touch the Oxite code and just add your own code on top to do this, but for now you can change Oxite to get the data you need.  In the Oxite.2009.2.15 release if you look at Oxite.Mvc.OxiteApplication at the registerActionFilters method, take a look at the listActionsCriteria variable and the methods that are added to it.  These are the controller actions that will run the action filters specified at the bottom of that section of code.  Just add a line that adds the PostController.Item method and you should get the same data that is in the sidebar on list pages.

For future reference, the location of this code will be changing (to make it easier to add to it without changing the Oxite code) so the above only applies to release Oxite.2009.2.15.