Koha/koha-tmpl/intranet-tmpl/prog/en/modules/help/tools/koha-news.tt
Martin Persson 1f15b585d4 Bug 14248: Optionally display authorship for news
Test plan:

* Apply dependant patches 14246 and 14247.
* Apply current patch.
* Log into the Staff client, go to
 'Administration' -> 'Global Preferences' -> 'Tools',
  a new section titled 'News' should appear with a single option named 'NewsAuthorDisplay'.
  Available values should be 'Not at all', 'OPAC only', 'Staff client only' and
  Both OPAC and staff client'. By default the value should be 'Not at all'
  (to mimic existing behaviour, important!).

* Change the value to something different and save the changes.
* Go to 'Tools' -> 'News' and add some news items (at least 2).
* Use the MySQL command line tool to edit the opac_news table,
  removing the user id from one of the news items:
  $ mysql -u kohaadmin -p -D koha
  > SELECT `idnew`, `title`, `borrowernumber` FROM `opac_news`;
  * Make a mental note of one of the 'newid' numbers to change.
  > UPDATE `opac_news` SET `borrowernumber` = NULL WHERE `idnew` = <your-id-here>;
  * Now one of the news items will have no user id, and no author should be shown for it.
* Go to OPAC and Staff client and make sure the display modes works as intended.
  * Repeat for all values, making sure that the settings works as intended.
  * The changed news item should have no author info shown at any time.
  * The unchanged news item should show your own user name if the
    settings match the section where it is displayed.

Sponsored-By: Halland County Library

Tested on top of Bugs 1246 and 1247, works as advertised.
Note: Some whitespaces changed / removed in koha-news.tt to pass qa tools.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-10-27 16:26:22 -03:00

29 lines
1.4 KiB
Text

[% INCLUDE 'help-top.inc' %]
<h1>News</h1>
<p>Koha's news module allows librarians to post news to the OPAC, staff interface and circulation receipts.</p>
<p>To add news to either the OPAC, the Staff Client or a Circulation receipt:</p>
<ul>
<li>Click 'New Entry'
<ul>
<li>Under 'Display Location' choose whether to put the news on the OPAC, Slip (circulation receipt) or the Librarian (Staff) Interface.</li>
<li>Choose a title for your entry</li>
<li>Using the publication and expiration date fields you can control how long your item appears</li>
<li>'Appear in position' lets you decide what order your news items appear in</li>
<li>The 'News' box allows for the use of HTML for formatting of your news item</li>
</ul>
</li>
<li>After filling in all of the fields, click 'Submit'</li>
<li>News in the OPAC will appear above the OpacMainUserBlock</li>
<li>News in the Staff Client will appear on the far left of the screen</li>
<li>News on the circulation receipts will appear below the items that are checked out</li>
<li>The news item's author will be set to the currently logged in user.</li>
<li>The system preference 'NewsAuthorDisplay' can be used to hide or show the author for news item.</li>
</ul>
<p><strong>See the full documentation for News in the <a href="http://manual.koha-community.org/[% helpVersion %]/en/tools.html#newstool">manual</a> (online).</strong></p>
[% INCLUDE 'help-bottom.inc' %]