General add-ons

 
 
Picture of M Adil Mazhar
Re: Tool for Import activities to all courses at 1 click
 

Now thinking to develop a new block but being a newbie, I'm facing difficulties in this regard.

I'd developed a block by following this link but moodle (at localhost) doesn't display the page after adding my newly developed block to the blocks folder. After trying many techniques, I still didn't succeeded in getting the required results. 

Atlast, I once again just created two files as described in the starting paras of the Blocks_Howto page with nothing special in these:-

  1. blocks/(myblockname)/block_(myblockname).php &
  2. (myblockname)/lang/en/block_(myblockname).php 

According to that page, the simple block should display on my moodle account but after adding my block folder with just these two files in the block folder, I'm still getting the same issue i.e. page doesn't display.

Kindly see the attached files and identify my stupidity in these files if any smile. I also changed the version information and much more but nothing worked!

 
Average of ratings: -
Picture of M Adil Mazhar
Re: Tool for Import activities to all courses at 1 click
 

I found my very basic mistake smile

sorry for the last comment!

 
Average of ratings: -