开发者

How do i password protect a page in refinery cms?

开发者 https://www.devze.com 2023-04-08 10:47 出处:网络
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?

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

精彩评论

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