1 Jun
2005
1 Jun
'05
3:19 p.m.
comments if you agree to make the custom PHP settings for blocks return an array of allowed paths instead of just TRUE or FALSE.
I'm afraid that isn't a workable solution.
Why do you think so? Your current code is something like:
if (arg(0) == 'forum') return TRUE; if (arg(0) == 'node') return TRUE;
The custom PHP settings are, well, custom PHP code. You may want to display a block only for new users. On the week of christmas. Under red moon. err... whatever.