Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By emackn on
I'm trying to do my first totally custom theme with its own defined regions. I get the content laid out where I want it, but when I visit any admin/* pages, there is no content?? Am I required to have a "content" regioin for the admin pieces?
Here's the regions I've defined in template.php
function magazine_regions()
{
return array(
'rHeader'=> t('Region Header'),
'rContentLeft'=> t('Region Content Left'),
'rContent'=> t('Region Content'),
'rContentRight'=> t('Region Content Right'),
'rAdRight'=> t('Region Ad/Offer Right'),
'rFooter'=> t('Region Footer')
);
}
Help is very appreciated.
Thanks.
Comments
I believe you must always
I believe you must always have a 'content' region defined. Drupal looks for this region to place much of the output, so I think that is why your admin pages disappeared.
Try renaming 'rContent' to 'content'.
-Gman