문제

I'd like to allow a certain role can add new content of a certain content-type ONLY between two dates. Before or after these dates the role shouldn't be able to create a new content of this content-type.

Is it possible through the Drupal core or any module? I haven't found anything about it.

도움이 되었습니까?

해결책

You can implement hook_node_access() (This is now a real hook in Drupal 7) and implement whatever you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 drupal.stackexchange
scroll top