Comatose 'Compatibility Mode'
OK, so after mentioning it in my "last post":http://mattmccray.com/archive/2006/09/20/Comatose_Version_07, I've decided to go ahead and implement it. Comatose version 0.7.1 adds a @DEFER_COMATOSE_LOAD@ flag that you can use to, well, defer comatose's loading. You will have to manually tell it to load in your @environment.rb@ using @Comatose.load@.See this "devblog post":http://comatose.rubyforge.org/dev-blog/another-day-another-update for more.Normally, I'd only post this on the "Comatose development blog":http://comatose.rubyforge.org/dev-blog, but I wanted to make sure anybody who's having problems using Comatose with other plugins/applications knows about this. If you have problems or questions, leave a comment here. Thanks!
You send the page's path into the @<%= render :comatose=>'slugs/to-the/target-page' %>. Normally, the path is comprised of the page's ancestor's slugs. However, the root page (the home page) always has a @path@ of ''. So, for the home page, you'd use:
@<%= render :comatose=>'' %>@
Leave a comment...