General developer forum

How to call moodle block using id or block unique name in php?

 
Picture of Muhammad Syahmi MD Yusoff
How to call moodle block using id or block unique name in php?
 

In this case i have tried this link below : https://moodle.org/mod/forum/discuss.php?d=276705

but it doesn't work. I want to dispay my block in page content module. Is there any ways to get it done? Any simple syntax just to call that block since i refer to Page API but there was no clear explaination about this.

Hope anybody can help me

Thanks and regards.

 
Average of ratings: -