Site news

Blocks ::: block_sitenews
Maintained by Jan Eberhardt
Display site news in full scale at my startpage.
Latest release:
90 sites
15 downloads
15 fans
Current versions available: 3

A small block, which was designed to fit our needs. 

We want to use the "My Home" page as default page after login, but The normal "site news" block was small and reached no attention by our users. I.e. sometimes important notes (e.g. shut-downs) where not read. The normal "site news" block isn't designed to placed in content area and will look ugly.

Because of that, we decided to print the site news in an own block. Maybe someone else will find that handy as well.

Potential privacy issues

There are no privacy issues known.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Jan Eberhardt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Mostrar comentarios
  • Rex Lorenzo
    jue, 13 nov 2014, 7:44 AM
    Please run the Moodle code checkers on your code:
    https://moodle.org/plugins/view.php?plugin=local_codechecker
    https://moodle.org/plugins/view.php?plugin=local_moodlecheck

    There are some coding issues with whitespaces and trailing ?> tags that should be removed.

    For your instructions in your README, step 2 has a misspelling "konfiguration", should be "configuration".

    Also, step 3 can be clarified and maybe broken into sub-bullet lists?

    Also, I followed the instructions, but the content of the Site news block is not displayed in the center of any Moodle pages. I am using Moodle 2.7.3 and running the Clean theme.

    Is there a screenshot of what I should be seeing? Also the "Website URL" doesn't lead a particular useful documentation site to learn about more this plugin.
  • Jan Eberhardt
    jue, 13 nov 2014, 10:59 PM
    Hi,

    I did change the problem with the ending ?> tags and resolved some warnings because of my comment style. What I won't change are the "issues" with the white spacing. I won't stop using tabs. It's much easier to remove an indent, when it's done with them. Because of that, there will always be tabs and white spaces in some lines of my code.

    But as you suggested I changed the description in the README. I have done it step-by-step with a new Moodle and got the expected result. I don't know, why it shouldn't work for you. When you already have an instance of the block at your "My home page" the result may differ. I made a screenshot of what the settings should look like. I will upload screenshot of the block itself later.

    Please note, that if one opens the block settings the block will be shown on the left (even if the settings say "content" region). This behaviour comes from Moodle itself, and I can't change it (I appreciate any suggestions on that topic).

    There is no version of the moodlecheck plugin for Moodle 2.7.x. Therefore I skipped that one as well.
  • Jan Eberhardt
    jue, 13 nov 2014, 11:05 PM
    On the subject of the "Website URL" I may say, that the url of the codechecker plugin doesn't lead to an documentation of the plugin itself. It's just leading to the coding styles. That is either no documentation site to learn about more of this plugin.

    In fact, there is no such site. But I'm working for that site and this plugin will be used there. Because of that, it's more likely to find support on that site than one will find on any other (except the GIT repo site, which I didn't wanted to mention again).

    If that doesn't fit the need of a website URL I'll delete the link.
  • Rex Lorenzo
    vie, 14 nov 2014, 2:47 AM
    Thanks for fixing the code checker problems and I understand the problem with whitespacing. The current version of moodlecheck works, even though it doesn't explicitly say so.

    The screenshots help and I now see the block appearing on "My home". Works as expected and ready for release.
  • Jan Eberhardt
    vie, 14 nov 2014, 8:33 AM
    "Ready for release". What do I have to do now?
  • David Mudrák
    sáb, 15 nov 2014, 1:34 AM
    Thanks Jan for sharing this block with the community, and thanks Rex for the peer-review. I am happy to approve it now. Welcome to the Plugins directory!
  • Erwin Ancheta
    vie, 23 ene 2015, 9:02 AM
    Hello! I would like to ask how to post an entry in the Site News block? Thanks!
  • Jan Eberhardt
    sáb, 24 ene 2015, 6:36 PM
    It's the usual way: Post a topic in the side-wide news forum.
  • BISS Edtech
    jue, 7 abr 2016, 9:06 AM
    Any plans for a Moodle 3.0 release?
  • Jan Eberhardt
    mar, 28 may 2019, 3:26 PM
    Martin Gauk from TU Berlin gave a version update to make the Plugin ready for 3.6. It is untested on versions below, but feel free to test.
  • Geeta Meena
    mié, 5 jun 2019, 8:37 PM
    Any plans for a Moodle 3.0 release?
  • Jan Eberhardt
    mié, 5 jun 2019, 9:48 PM
    No, there's no such plan. However a Moodle 3.6 compatible version is online, you may try that one for lesser versions but there is no guarantee that it will work.
  • Iwan Awaludin
    dom, 17 may 2020, 11:54 AM
    trying to use this plugin for Moodle 3.8.
    1. Install is OK, the plugin is available.
    2. Try to add site news block to my sites (3.8.2 and 3.8.3) but it raised Exception - Call to undefined function forum_get_course_forum() and I cannot access the website as user. Fortunately I am still logged in as admin so I can uninstall the plugin. After uninstall, the sites are accessible.
Please login to post comments