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 stallman on
Hi guys.
I had a page.tpl.php with a few regions and blocks inside of it. every thing was right, I decided to rearrange regions and block so I deleted the old regions and blocks. but I cannot add new regions anymore!!! Drupal errors that you cannot place any block in this region and besides that when I click on demonstration of regions button in structure->block->Demonstrate block regions, it doesnot display this region
this is info file:
name = Pars Institution Theme
description = This theme is designed for Pars Institution
core = 7.x
;Regions
regions[hidden_block]=Hide
regions['leftside']=Leftside
;CSS
stylesheets[all][] = css/style.css
stylesheets[all][] = css/login_block.css
this is php code
.
.
.
<div id="leftside_column" style="float:left;width:280px;height: 100%;">
<?php
print render($page['leftside']);
?>
</div>
I also cleared the cache. what is the problem?
Comments
regions['leftside']=Leftside
regions['leftside']=Leftside
should be
regions[leftside]=Leftside
crazy mistake!
OH MY GOD !!!!!!!!!
it was a crazy mistake!
tnx