I believe this is the case on the blocks page because you have to be rendering the selected theme to correctly display where the blocks would show up in the theme (ie. the yellow parts that have the block region name in them). They wouldn’t render at all if still showing the garland theme.

 

Greg

 


From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of William Smith
Sent: Friday, August 10, 2007 11:02 AM
To: support@drupal.org
Subject: Re: [support] how to add blocks to place in regions on my home page

 

Yeah, I've noticed that on D5 as well .. there are a couple of admin pages (the blocks page included) that don't seem to use the specified admin theme.  It's never been a big problem for me, so I haven't looked into it, but I imagine that there is some information regarding this on drupal.org if you were to poke around.  Or maybe someone else on the list can explain why this is the case.

Anyways, I'm glad that adding $tabs helped you out!

William

On 8/10/07, Sarah Adams <mr.sanders@geekjock.ca> wrote:

>     2) How do I create a new block and ensure that it is editable by the
>     site owner? I've seen mention a few times that I should to to
>     "administer > blocks > add block" but I don't see this option in my site
>     admin; the closest thing to it is "administer > site building > blocks",
>     but this page does not include an "add block" function.
>
>
> It really should have an add block function.  There should be two
> options at the top - "List" and "Add block".  What theme is your backend
> admin area using?  If you are using a custom theme, it is possible that
> it isn't printing out $tabs as it should.


I think that is definitely the problem. I'm using the garland theme for
the admin, but the blocks admin page shows up using the custom theme (as
does the add content page). Unless there is a way to force these pages
to also use the admin theme, I guess I'll have to add the $tabs to my
custom theme...

OK, so I edited my theme to output $tabs, and that helps a lot! Now I
see the "Add block" tab :) Seems weird that it keeps jumping back and
forth between using the admin theme and my custom theme - when I click
"Add block" it switches back to the admin theme.

--
sarah adams
web developer & programmer
portfolio: http://sarah.designshift.com
blog: http://hardedge.ca
--
[ Drupal support list | http://lists.drupal.org/ ]