Saturday Night Special

Categories

Component ID

146849

Component name

Saturday Night Special

Component type

module

Component security advisory coverage

not-covered

Downloads

603

Component created

Component changed

Component body

Saturday Night Special provides a content type which can be used as a 'single use template' of sorts. It allows a user with 'manage snspecial template' permission to create a node with various 'snippets' of copy, and then a PHP evaluated field which has the values of these snippets available in an array. Users with 'edit snspecial copy' permission can edit the snippets of copy, but will not be able to add additional snippet fields or view/modify the PHP code.

The purpose of this is to address the situation where you create a dynamic PHP page as a node, which has blocks of copy within it that you want the site's staff to be able to edit without knowledge or permission to use PHP code.

WARNING: For security reasons, you should never grant 'manage snspecial template' permission to any untrusted users.