Display Multiple Site Announcements on the River Dashboard
One of our clients, the Institute of Physics, wanted to display multiple site announcements on the dashboard of a new site under development, so found the standard riverdashboard - which is hardcoded to allow one announcement only - too restricting.
As part of the development, we were asked to correct this shortcoming by overriding the original functionality to allow multiple announcements, the number of which is admin-configurable.
So, rather than mess with the original plugin - which would get overwritten during an upgrade - we decided to encapsulate this new functionality in the "announcements" plugin (which must appear later than the riverdashboard in order to override the original code).
And, given that this plugin could well be useful on many other sites, the Institute of Physics have decided to make it publicly available to the Elgg community.
Nice work C4LPT. I installed it. It works but there are some visual differences. On the regular announcement code there is a white background bordered by the standard gray and the alignment is neatly placed. On this new plug-in, the announcements have just a gray background and the alignment is a little off. The plug-in works fine though, just some minor cosmetic issues. Thanks for sharing.
Hi Cofelice, glad you are finding it useful.
Although we did the development, it was our client who was very keen to make this functionality available to the Elgg community.
Regarding the aesthetics, I am in total agreement. However, I must tell you that I have made absolutely no changes to the html/styling of the original plugin.
Out-of-the-box, the (single) announcement appears on a boring grey background! All I have done is to output multiple announcements with the same structure. (The only slight change in format is that the posting date now accompanies the corresponding announcement).
Naturally I am interested to discover why your output is different. Are you using a 3rd party theme, or perhaps one of the rewritten/upgraded riverdashboard plugins?
I am sorry. I think I do have a plug-in that changed my riverdashboard, it had been a while since I installed it. The plug-in I am using adds some colorful icons to the controls and places the announcement in a white box outlined in gray (it's very clean). My site is called FatWow.com if you want to check it out.
thanks for your useful plugin.
I used site announcements for a while, and now I installed in my new elgg 1.7.2 site (under construction), but I'm having some troubles: I cannot delete any announcement, cause it bring me to a white page when I try, with this url:
But nothing happen.
could you help me to fix that? Maybe the metter has nothing to do with the plugin, but my elgg is misconfigured? (I just re-installed it)
Thank you very much!
It doesn't appear any screenshot, it just open a white page with the url above, but fails to delete the message. Maybe something wrong with my curl?
you can find announcements switching on the dashboard river plugin, on the left coloumn of the dashboard
This is an extremely useful pluggin but I am having the same problem as @francescomda
I cannot delete any postings.
The screen just goes white and I get:
Can you suggest any way to delete these postings?
Thanks in advance.
Clearly this pluggin is not being maintained.
I think its extremely useful.
Does anyone feel like upgrading it so it will work with 1.7+
The only problem with it is that it doesn't delete anything once its been posted.
If nobody is interested in upgrading this pluggin, could someone please tell me where it puts the text once its been posted?
I'd like to be able to go in a update or delete new postings regularly.
Thanks in advance.