How make the block visible lef region as default
19 Mar
2009
19 Mar
'09
1:21 p.m.
How to make custom block , by default left region, this is my snippet <?php function contactus_block($op='list', $delta=0) { // listing of blocks, such as on the admin/block page if ($op == "list") { $blocks[0] = array('info'=> t('Contact Us Block'),'weight' => 0, 'enabled' => 1, 'region' => 'left'); return $blocks; } else if ($op == 'view') { $ganesh = "weclome"; $block['content'] = $ganesh; return $block; } } function contactus_perm() { return array('access contactus', 'create contactus', 'administer contactus'); } -- உங்கள் நண்பன் பரணி குமார் Regards B.S.Bharanikumar POST YOUR OPINION http://bharanikumariyerphp.site88.net/bharanikumar/
6276
Age (days ago)
6276
Last active (days ago)
0 comments
1 participants
participants (1)
-
bharani kumar