Hi, I just noticed the introduction of the option to use PHP code to control visibility (on the block configure page). Is there any documentation on this or any links to the conversation that led to this decision? Besides being IMHO decidedly un-user-friendly, this could very likely lock an admin out of his entire site. I couldn't find any information on drupal.org or in the mailing lists. Apologies if this has already been addressed elsewhere. Thanks Karthik.
On Sat, 31 Dec 2005 15:39:18 +0100, Karthik <narakasura@gmail.com> wrote:
Hi,
I just noticed the introduction of the option to use PHP code to control visibility (on the block configure page). Is there any documentation on this or any links to the conversation that led to this decision? Besides being IMHO decidedly un-user-friendly, this could very likely lock an admin out of his entire site.
Dries' letter: http://lists.drupal.org/pipermail/development/2005-April/004310.html The patch: http://drupal.org/node/21353 Regards NK
Thanks Karoly. I didn't realise that the issue was this old. Perhaps a link to a page on Drupal with a list of commonly used (block visibility) snippets might be handy here. It is currently very .. daunting to neophytes. A JS (or even AJAX) paste button with a similar list of snippets might also be suitable at the expense of a little tackiness. Thanks, Karthik. On 31/12/05, Karoly Negyesi <karoly@negyesi.net> wrote:
Dries' letter: http://lists.drupal.org/pipermail/development/2005-April/004310.html The patch: http://drupal.org/node/21353
Regards
NK
Op zondag 01 januari 2006 07:51, schreef Karthik:
Perhaps a link to a page on Drupal with a list of commonly used (block visibility) snippets might be handy here. It is currently very .. daunting to neophytes. A JS (or even AJAX) paste button with a similar list of snippets might also be suitable at the expense of a little tackiness.
I know this is a kneejerk, but unless someone steps up to compile these snippets, and to make such a jS paste button it will simply not happen. Sorry :) Maybe you want to maintain that section under php snippets? Ber
participants (3)
-
Bèr Kessels -
Karoly Negyesi -
Karthik