Enable module

Navigate to blocks page

Find CPR BLOCKS tab

On creation page creat CPR block

DO NOT TYPO MACHINE NAME // proved to cause huge problems

Drag roles up to be considered for filtered content before saving

SAVE

Go to CPR block list

Edit new CPR block

Enter content and content filter (e.g., full html) for each role

SAVE again

Navigate to Blocks page

Find CPR block in disabled blocks

BEFORE ANYTHING

Config your block!

1 Name it
2 Set any role ability to see to ALL ROLES described in CPR block you set up
3 Etc ...

SAVE BLOCK

Drag block to your desired Content area!

If you have trouble deleting, see my other post here on deleting CPR blocks.

This is a great block with some bugs ...

Peace ... benefit from my troubles ....

Odisey

Comments

odisey’s picture

HIERARCHY of roles! IMPORTANT

Something else undocumented of huge importance ..... The list items of roles apparently are weighted in the code calls. To make things appear properly on your page arrange CPR block roles as:

1 paid_role * PREMIUM content on top e.g., ROLE paid for premium access
2 authorized_user * Purchase role to get premium access content after log in
3 unauthorized_user * Purchase role to get premium access content before log in

Arranging things differently results in broken content ....

Peace --- Odisey .... benefit from my toils ....