开发者

How do i password protect a page in refinery cms?

Basically i am trying 开发者_StackOverflowto set up a password for a single page in refinery. Is there an extension which can do such a thing for me automatically or should i override internal parts? Thanks in advance.


There is no way to do this with a default install of Refinery, you'll have to write an engine or override some internal methods/before filters to do this. Unpack the refinerycms-core gem and look at the crud.rb file, where all the crudify methods are generated. It should help shed some light on what you'll need to do to make this happen.

Or look here: https://github.com/resolve/refinerycms/blob/master/core/lib/refinery/crud.rb

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜