Blocks: Site news

block_sitenews
Maintained by Picture of Jan EberhardtJan Eberhardt
Display site news in full scale at my startpage.
85 sites
60 downloads
10 fans
Current versions available: 2

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

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

Comments RSS

Show comments
  • Picture of Rex Lorenzo
    Thu, Nov 13, 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.
  • Picture of Jan Eberhardt
    Thu, Nov 13, 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.
  • Picture of Jan Eberhardt
    Thu, Nov 13, 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.
  • Picture of Rex Lorenzo
    Fri, Nov 14, 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.
  • Picture of Jan Eberhardt
    Fri, Nov 14, 2014, 8:33 AM
    "Ready for release". What do I have to do now?
  • Picture of David Mudrák
    Sat, Nov 15, 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!
  • Picture of Erwin Ancheta
    Fri, Jan 23, 2015, 9:02 AM
    Hello! I would like to ask how to post an entry in the Site News block? Thanks!
  • Picture of Jan Eberhardt
    Sat, Jan 24, 2015, 6:36 PM
    It's the usual way: Post a topic in the side-wide news forum.
  • Picture of BISS Edtech
    Thu, Apr 7, 2016, 9:06 AM
    Any plans for a Moodle 3.0 release?
  • Picture of Navin Kumar
    Mon, May 6, 2019, 11:05 AM
    Any plans for a Moodle 3.0 release? patrakar
  • Picture of Jan Eberhardt
    Tue, May 28, 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.
  • Picture of Geeta Meena
    Wed, Jun 5, 2019, 8:37 PM
    Any plans for a Moodle 3.0 release?
  • Picture of Jan Eberhardt
    Wed, Jun 5, 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.
Please login to post comments