Featured Courses

Blocks ::: block_featuredcourses
Maintained by Daniel Neis Araujo
This blocks allow to select some courses to be displayed on front page. It is also possible to set sort order.
Latest release:
333 sites
146 downloads
50 fans
Current versions available: 4

With this block you can select a set of courses to be displayed on frontpage.

For each course, the block will show it's name with a link to course page, it's summary and summary files.

The following steps should get you up and running:

  • DO NOT PANIC!

  • Put these files at moodle/blocks/featuredcourses/

  • Log in in your Moodle as Admin and got to admin/index

  • Follow the instructions to install the block

  • This block is only visible on site front page

  • To select featured courses, add the block to front page, got to edit settings, click on the link on the settings screen.

  • The order of the courses displayed by the block is defined by the "sortorder" field. It is an integer field that the records are ordered by.

Good luck!

Screenshots

Screenshot #0

Contributors

Daniel Neis Araujo (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Mon, May 21, 2018, 4:09 PM
    Hi Daniel,
    Does it work on Moodle 3.5? It would be great if people could select courses to display either in front page or in dashboard or both.
  • Thu, May 24, 2018, 10:56 AM
    Hi Daniel,

    1) I can't seem to sort the order of the featured courses. I can change the numbers for the sort order but there doesn't seem to be any way to apply the settings. The only button on the page is not enabled unless you are adding a new course to featured.

    2) I created an account on GitLab however your project seems to be missing (or hidden) from your account. I get a 404 error when I try to access the project files and the bug tracker.

    3) If I choose to display the sessions on the site calendar, they just don't appear. This wasn't the case with a previous version and I can still change the dates on the old sessions to make them show up in the calendar again. Just can't add new ones.

    4) Would you happen to have some CSS handy to make sessions appear as seen in the screenshot for the Featured Courses plugin?

    4)
  • Thu, May 24, 2018, 11:49 AM
    Sorry, ignore #3 above. That one is for a different plugin.
  • Wed, May 30, 2018, 2:45 AM
    Hello, Michael

    I fixed the visibility of the project on gitlab. Could you please try again and maybe submit a pull request to fix #1 ?

    Unfortunately, I don't have the CSS, it was from a client's website I can't remember de address. But the new Moodle Dashboard has something that looks like that with the images of the courses in 3.5 version. You could take a look there =)

    Best regards!
  • Wed, May 30, 2018, 2:46 AM
    Hello, Phuong

    it may work on 3.5, I didn't test it yet. Could you please test and report for us if it is working?

    It would really be a nice feature if one could choose in which pages each course appear in. When I find some time to work on the plugin, I will consider it. In the mean time, consider sending a pull request =)

    Best regards!
  • Wed, Jun 27, 2018, 2:05 AM
    Hello!

    I installed the plugin (I'm using Moodle 3.5) and, after adding an instance of the block, I can't seem to find the option to include it on the frontpage (via admin/settings.php?section=frontpagesettings). There isn't any link to configure the block in admin/blocks as well. Where should I configure the block?
  • Wed, Aug 22, 2018, 4:05 AM
    You must "Turn editing on" and go to your frontpage or the dashboard or a course. It will depend on your theme where you'll be able to add block on the frontpage.
  • Thu, Nov 12, 2020, 9:54 AM
    Hi everyone, I'm running a moodle website for internal training, the featured course plugin is awesome,

    is it possible to select courses to be displayed in horizon or vertical?
  • Wed, Jul 14, 2021, 3:29 AM
    Saludos, por favor auxilio, una vez instalado, añadido y configurado el bloque en la página de inicio, me aparece el siguiente mensaje de error "Class 'course_in_list' not found", estoy usando Moodle 3.10. Gracias por su ayuda
  • Wed, Jul 14, 2021, 5:35 AM
    Saludos, tampoco se encuentra uno de los métodos, tengo otro mensaje que aparece: Excepción - Call to undefined method stdClass::has_summary()
  • Thu, Jul 22, 2021, 1:38 AM
    Hello, Mariuxi

    I just release a new version with this fixed.
    Let me know if it works for you.

    Best,
    Daniel
  • Thu, Jul 22, 2021, 8:20 AM
    Gracias Daniel, tengo un problema y necesito tu ayuda. Debido a que con el plugin anterior se me presentaron los errores que cité en mensajes anteriores decidí desinstalarlo, pero desde el administrador de moodle no fue posible y se me cayó mi plataforma sin tener acceso a ninguna pantalla, entonces eliminé el plugin manualmente de mi sitio, es decir, fui al directorio de moodle y eliminé a su vez el directorio: futuredcourses/, luego ingresé a la base de datos y también borré manualmente la tabla mdl_block_futuredcourses.

    Ahora, he descargado la nueva versión y la instalé, pero se me presenta el siguiente mensaje: "Error al leer de la base de datos", he verificado en la base de datos y no se ha creado la tabla que corresponde al plugin, interpreto que es la razón del mensaje, no se creó la tabla en la base de datos. Y de la instalación anterior, dejé cargado el bloque anterior en la pagina de inicio con el error y no logré eliminar el bloque (solo lo que hice manualmente). Por favor algún procedimiento que deba realizar para solucionar esta situación. Saludos y gracias.
  • Thu, Jul 22, 2021, 9:31 PM
    Olá, Mariuxi
    Você deve ir em Administração do site / Plugins / Visão geral dos plugins e "Desinstalar" o bloco.
    Depois disso você não deve remover o código do plugin, mas seguir a interface e fazer a reinstalação.
    Isso deve resolver.
  • Fri, Jul 23, 2021, 1:46 AM
    Hola Daniel, he logrado resolverlo, muchas gracias, la complicación que se me presentó fue con la instalación del plugin anterior. Ahora todo está correcto y funcionando bien, el bloque se encuentra añadido a la derecha de la plataforma moodle. Adicional, quería consultar si es posible con algun código corto colocar el plugin en el centro de la página de inicio de tal manera que se muestre de forma horizontal. es posible hacerlo de alguna manera? algo similar a como se muestra en la captura de pantalla de este plugin. Agradezco nuevamente.
  • Fri, Jul 23, 2021, 6:03 AM
    Olá, Mariuxi
    As áreas de blocos são definidas no tema, então isso vai depender do seu tema.
    Infelizmente não tenho um código CSS que deixe o plugin com aquela cara, mas sei que não precisa de muita coisa.
    Se você definir a imagem do curso é possível que ele mostre ali também.
1 2 3
Please login to post comments