开发者

Drupal regions not showing in admin

I've updated my theme info file with regions but they are not showing in the block admin page

/admin/build/bloc开发者_开发技巧k/list/

I have cleared all my caches but that doesn't seem to do anything. Any suggestions would be appreciated.


It sounds like your page.tpl.php file may not be getting read. Are you maybe doing a sub-theme and the base theme's page.tpl.php is being read for some reason?


By default, your theme .info file doesn't need to list regions, if you are planning to use the default regions.

However, as soon as you want to add a custom region, you need to list all default regions in your theme .info, and your custom region as well.

So make sure that not only your new region is defined in your info file, but all the default Drupal regions.

Read this for a more detailed explanation : http://mydrupalblog.lhmdesign.com/creating-custom-regions-drupal-6-themes


You also have to print the new regions in page.tpl.php.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜