Moodle plugins directory: Site news | Moodle.org
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.
Useful links
Contributors
Jan Eberhardt (Lead maintainer)
Please login to view contributors details and/or to contact them
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.
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.
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.
The screenshots help and I now see the block appearing on "My home". Works as expected and ready for release.
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.