<br clear="all">How to make custom block , by  default left region,<div><br></div><div>this is my snippet</div><div><br></div><div><div>&lt;?php</div><div>function contactus_block($op=&#39;list&#39;, $delta=0) {</div><div>
  // listing of blocks, such as on the admin/block page</div><div>  if ($op == &quot;list&quot;) {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>    $blocks[0] = array(&#39;info&#39;=&gt; t(&#39;Contact Us Block&#39;),&#39;weight&#39; =&gt; 0, &#39;enabled&#39; =&gt; 1, &#39;region&#39; =&gt; &#39;left&#39;);</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>    return $blocks;</div><div>  }</div><div>  else if ($op == &#39;view&#39;) {</div><div>  <span class="Apple-tab-span" style="white-space:pre">        </span>$ganesh = &quot;weclome&quot;;</div>
<div>    $block[&#39;content&#39;] = $ganesh;</div><div>    return $block;</div><div>  }</div><div>}</div><div><br></div><div>function contactus_perm() {</div><div><br></div><div>return array(&#39;access contactus&#39;, &#39;create contactus&#39;, &#39;administer contactus&#39;);</div>
<div><br></div><div>} </div><div><br></div><div><br><div><br></div><div><br>-- <br>உங்கள் நண்பன் <br>பரணி  குமார் <br><br>Regards<br>B.S.Bharanikumar<br><br>POST YOUR OPINION <br><a href="http://bharanikumariyerphp.site88.net/bharanikumar/">http://bharanikumariyerphp.site88.net/bharanikumar/</a><br>

</div></div></div>