[development] that admin theme (from money/ work point of view),
call for arms?
Jeff Eaton
jeff at viapositiva.net
Sun Nov 20 23:16:16 UTC 2005
I'm in.
The 4.7 update patch for section that I contributed is probably a little
more complicated because it includes the block-like 'change the section
if this PHP evals to true' functionality. With it, though, making a PHP
block that test for all normal admin-only pages in one fell swoop is
relatively simple.
There are other wish-list features I'd love to tinker with, but I have
the feeling that they don't fit in your vision for sections. ;) Even
still, I think that it's tremendously powerful, especially when combined
with drupal's ability for themes to inherit code and functionality from
each other. (One main theme, with named sub-themes for each section,
using sections.module to assign them, is VERY easy to pull off)...
--Jeff
-----Original Message-----
From: Bèr Kessels [mailto:ber at webschuur.com]
Sent: Monday, November 21, 2005 1:09 AM
To: development at drupal.org
Subject: Re: [development] that admin theme (from money/ work point of
view),call for arms?
Op maandag 21 november 2005 00:05, schreef Karoly Negyesi:
> A one-line in hook_init() will do:
>
> if (arg(0)=='admin' || arg(2) == 'edit') $GLOBALS['custom_theme'] =
> 'admin';
>
> or something very close to this.
nah, unfortunately its a littlebit more co+plicated
user/ , node/add , comment, forums edit/moderation/edit, qnd so on.
Drupal is
a littlebit more complex then two locations.....
More information about the development
mailing list