jgarber / radiant-chronicle-extension

Provides history, diffs, and dev-only drafts to Radiant CMS
Other
42 stars 17 forks source link

cannot get to work with multi_site #54

Closed catmando closed 13 years ago

catmando commented 13 years ago

This might be some weird problem with my setup, but I get errors all over the place like the following unless I disable multi_site:

wrong arguments (1 for 0) 3/mnt/vendor/extensions/chronicle/lib/chronicle/page_extensions.rb:76:in `url'

seems to occur anyplace that page.url(...) is called.

jgarber commented 13 years ago

Yeah, I'm pretty sure it's not compatible with mult_site. I had intended to rewrite chronicle to be compatible, but haven't gotten around to it.

catmando commented 13 years ago

This appears to be a problem in multi_site:

page.url is aliased, but does not take the optional parameter. So Chronicle's calls to page.url where it passes the live value fail. I added the parameter to multi_site, and things are better. However I have not quite figured out what multi_site should be doing with that value.

I will put a problem in multi-site.