0

I am having my custom theme. In the theme.info i have a region latest defined

regions[latest] = Latest 

How do i print that region in my theme? Is the below code correct?

<?php print render($latest);?>

I tried dragging the Recent Posts block to this, but nothing appears. What am i doing wrong?

1

clear your theme cache to see your custom regions working: http://drupal.org/node/337176

Also see this link to review if something more is missing in your process: How-to create custom regions in a theme?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.