Display block header problem

Display block header problem

by Zoran Jeremic -
Number of replies: 0

Hi,

I'm newby in extending Moodle, so this question should be very easy for some of you. I have developed one simple block. It works fine. However, I can't display block title at its header.

I have created init method like this

function

$this->title=get_string('blockdepthstitle','depths');$this->version=2008022300;

}

lang/depths.php is ok because I can see title in drop-down list and from Site Administration->Modules->Blocks.

If I change it from block configuration this title is available then.

Thanks

Zoran

init(){
Average of ratings: -