Page specific block content

Page specific block content

by john snow -
Number of replies: 0

Hello, I want a block to change it's content depending on which page we are. I have seen enabling blocks to specific contexts like frontpage, course page etc. But I want to make it page specific contents in my custom pages. I would like to know the conventional way of handling this. If we can somehow manage to detect in which page we are, we may simply return from get_content accordingly.
I am new to moodle and would appreciate any help or clue. Thanks in advance smile .

Average of ratings: -