I want to create few blocks inside a parent block in Moodle.s there a way to create block instance manually???
OR
Modify block content as it look like a block by adding some html etc..
As far as I know, there's no support in Moodle for nested blocks. On the other hand, it would probably make no sense to have it, since the "block" is a well defined stand-alone entity, embedding some very simple logic.
What you may want to do is to create a new block and to use the functions from weblib.php
to create the graphic elements that you need within it. If you need something more complicated, you will probably need a "module" (in Moodle terms).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.