Version: 1.0
This module is a hacked and extended version of Ted Kulp's News module. I simply added another field to the database, and some more code to make that field worl.... I also re-cleaned the code a bit, so it was a little easier to read, other than that, it's Ted's code.
Version: 1.1
Added the ability to set an automatic expiry date from a pulldown, moved the category selection, and on the main page you now filter the entries you want to see.
Version: 1.2
Added summary, no_anchor and length parameters. In summary mode links are made to the real articles, tags are stripped, and links are insreted to the news page and the specific news item.
Version: 1.3
Minor cosmetic changes
Version 1.5
Merged into the trunk News module
Version 1.6
Added pagination, and moved the add button to the top (calguy)
Version 2.0
Re-written to use smarty templates, and several other significant improvements
Version 2.0.1
Minor tweaks to the RSS output to allow it to work correctly on different browsers, and to support non alpha numeric characters in the description.
Version 2.0.2
- Add a "start" parameter to specify a start offset for news items
- The template tabs now have a "reset to default" button on them
- Start menu item is now required, but end date is optional when useexpirydate is on,
- Change the permissions model significantly, The "Modify News" permission is only for articles and categories. "Modify Templates" permission is required to edit the templates, and "Modify Site Preferences" is required to edit the options.
- Put the rss feed titile into the lang entries
Version 2.0.3
- Added the ability to track the original author of an article
Artikulu bat gehitzen denean bidalia.
Artikulu bat editatzen denean bidalia.
Artikulu bat ezabatzen denean bidalia.
Kategoria bat gehitzen denean bidalia.
Kategoria bat editatzen denean bidalia.
Kategoria bat ezabatzen denean bidalia.
News is a module for displaying news events on your page, similar to a blog style, except with more features!. When the module is installed, a News admin page is added to administration menu that will allow you to select or add a news category. Once a news category is created or selected, a list of news items for that category will be displayed. From here, you can add, edit or delete news items for that category.
The user must belong to a group with the 'Modify News' permission in order to add, edit, or delete News entries.
In order to edit the layout templates, the user must belong to a group with the 'Modify Templates' permission.
In order to edit the global news preferences, the user must belong to a group with the 'Modify Site Preferences' permission.
The easiest way to use it is with the {news} wrapper tag (wraps the module in a tag, to simplify the syntax). This will insert the module into your template or page anywhere you wish, and display news items. The code would look something like: {news number='5'}
{news number='5'}