Moodle developer tutorial 5/5 - adding a setting to our new block and use that in the code

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 16

  • @umarfarooq-mk7eh
    @umarfarooq-mk7eh 4 года назад +4

    Thank you, sir
    This playlist has a lot for understanding the basic structure of moodle

  • @ΦώτηςΤσιούμας-κ2μ
    @ΦώτηςΤσιούμας-κ2μ 3 года назад +4

    This tutorial is very helpful! Thank you very much!

  • @z9607
    @z9607 3 года назад +1

    I would like to mention something that you taught us in the video 2/5 of the developer intro series. The settings.php file should have this line of code at the start of the file: "defined('MOODLE_INTERNAL') || die;", since this is a configuration file and it does not echo HTML code.

    • @moodletips
      @moodletips  3 года назад

      You are right, we should have one in there!

  • @alissonfelipe3621
    @alissonfelipe3621 4 года назад

    Best moodle course (only need to try VScode)
    I wanna to be like you someday, thanks

    • @moodletips
      @moodletips  4 года назад

      VScode is great too, glad you like the course and thank you!

  • @Magistrado1914
    @Magistrado1914 4 года назад

    Excellent course
    27/07/2020

  • @latinoboy100
    @latinoboy100 3 года назад

    Hi, very nice tutorial.
    I have a question, how can i add buttons with actions or html table in the settings.php page. Is this possible?

  • @wahyusas99
    @wahyusas99 3 года назад +2

    What VScode extension do you use ?

    • @moodletips
      @moodletips  3 года назад +1

      I use vanilla phpstorm, has more stuff out of the box than vscode. Check out my set up video ruclips.net/video/dArD8qeqTRk/видео.html

    • @wahyusas99
      @wahyusas99 3 года назад +2

      @@moodletips Great. Downloaded already and love it

    • @wahyusas99
      @wahyusas99 3 года назад

      Now the phpstorm early program is closed. I downloaded the 30 days trial version eventually.
      BTW, do you know how to show block configurable report in add new block menu ? I did some changes sometimes ago in some options in "Site Administration" -> "Users"->'Define Roles"->"Authenticated User" but I didn't notice that the impact is now there is no "Configurable Report block" option in add new block menu. I still have it in my administrator menu but I don't have options "Configurable Report block" if I want to add a new block for a teacher or other user.

  • @varunkumarmachipeddi1978
    @varunkumarmachipeddi1978 3 года назад

    sir i have project in my college to display the teacher wise course details and show them can you give some ideas on it

  • @ЮрийЛипко
    @ЮрийЛипко 2 года назад

    Can you help me? I'm trying coding with your video and stoped in adding string with my block name in Plugin menu. It's not showing there! I'm searched moodle docs and don't find answer.

    • @moodletips
      @moodletips  2 года назад

      Do you see your block in the menu just without your name? Or it doesn't show up at all?
      If the name is just wrong it could be caching the old string, try purging caches as well. A good practise with many moodle issues

    • @ЮрийЛипко
      @ЮрийЛипко 2 года назад

      @@moodletips Oh, i don't see my block name all time, but name in method is correct