Group-based and url-based access restriction
jrbeeman - November 8, 2006 - 18:53
| Project: | OG Block Visibility |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
This module is very cool and helpful, except it totally negates the ability to use url-based visibility (i.e. "Show on only the listed pages.") This is documented in the readme, but the module isn't very useful to me unless I can combine the 2 pieces of functionality.
Are there any plans to improve the module such that it doesn't brute-force insert PHP for the block visibility and allows more refined control over visibility?

#1
I can't envision a way to do this, no... Core would need a more powerful block visibility mechanism.
But I believe I fixed a bug awhile back so that you can now add to the PHP code that the module generates for you, in order to check for arg(0) and such.
#2
Yeah, I've been trying to puzzle out a way to solve the issue, but it keeps coming back to what you describe. Thanks for the feedback, and I'll let you know if I come up with any ideas for a solution.