I have refactored Aaron @ Geocachestore’s excellent “Group Functionality in the CMS Info Block” contribution to be a more general solution for hiding CMS pages from specific groups. It is available here for PrestaShop 1.2.4.
It’s a mess here ! Some anomalies, but I think it’s because of my former hack, ANDWHAT IT SEEMS TO BE A BUG of prestashop …
I noticed that if in blockinfo you select nothing (no cms) , then all cms are displayed !!!! you must select at least 1 cms.
In other hand, I would like in fact hide blocks in accordance of groups permissions. Not only contents … but the block itself (because to see an empty block is not smart ! ).
The only thing is that I didn’t update the mysql table, but it seems you made no change on that table.
My last test:
I login in front office as member belonging to an authorized group.
Then in BO I remove all restrictions to a cms.
This cms is visible in FO (normal !)
Then I set restriction to the cms so that my group can see the cms …
In FO the cms becomes invisible !
The idea of restricting default is that it will only show up for not logged in customers. That’s why I added “guest”. This is just how PS works; guess I’ll document it more thoroughly.
OK, I updated the documentation to include more details on the default group (which you rightly pointed out is confusing). Maybe in a future release I will remove it altogether; we’ll see.
1/ If I check “A” in restriction, and let “Default” unchecked, does it mean that A group won’t see CMS and default (and other groups) will see ?
2/ How can I make a CMS visible only for “A” ??? Do I have to let default unchecked ? In that case do you confirm that customers belonging only to default won’t see the cms ?