How to reflect PHP code changes for custom block code

How to reflect PHP code changes for custom block code

by Achintya Bakre -
Number of replies: 1

I am new to PHP / MySQL development and starting with moodle customization. I am using moodle on Windows desktop machine.

As a trial, I tried creating a sample block and imported it in moodle successfully. I added the block to the Dashobaord of admin user. Its working fine.

 However after adding, I wanted to do further changes in PHP files. I tried making changes in PHP file  D:\moodle\server\moodle\blocks\<block name>\block_<block name>.php

 But the changes are not reflecting in moodle.

I tried several things like restarting moodle, purging all cache through Site Admin->Development, deleting cache and local cache under moodledata folder. Nothing seem to work.

Can you please help how to reflect the changes done in PHP code?

Average of ratings: -
In reply to Achintya Bakre

Re: How to reflect PHP code changes for custom block code

by Achintya Bakre -

The issue is resolved. Rather it was not an issue at all.

I had set up some default parameter and expecting it to reflect as default in Settings page. Now realized that the default value comes from parameter passed to get string function in settings page.