Hi,

I hacked magnolia (trunk) a little bit, and I now have a version which runs author and public in a same instance (on small sites I don't think there is really need for two instances, it only eats the resources twice.)

briefly I:

- changed Server.isAdmin() to Server.isAdmin(HttpServletRequest request).. and modified all the code to use this new method. - made PublicEntryServlet and two new ServletFilters, one to handle security and other to do mapping of author and public contexts. - modified SimpleNavigationTag to show only activated pages in public "instance"
- modified Syndicator so it can be configured to syndicate to itself.

Everything I've tested works fine. It only needed few modifications here and there. My version can be configured to work as separate instances as before. The only difference there is the modified (but activated) pages go to public without activation.

If anyone is interested I can share my code.

Janne



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to