Personal tools

Translations of this page:
You are here: Getting started » Extensions » addon » News
Trace: » IIS - Using BIGACE with Microsoft Internet Information Services » News

News

The News System is a fully fleged Extension, initially written for BIGACE 2.4.

Note: Since BIGACE 2.6 the “News Entry” template includes the comments include if Comments plugin is loaded

Key features:

  • Creating, editing and deleting of News in a new Admin Panel
  • Comes with Templates for “News Home” and “News Entry”
  • Unlimited News Categories
  • Permissions for creating, editing and deleting News; and for managing News Categories
  • Setup language and template once and then ONLY write (easy authoring for none-experienced User)
  • Each News has a title, teaser, image, date, content and optional categories
  • RSS Feed to display the latest Items
  • automatically inserts RSS url in your template (using metatags_more)
  • Several Smarty TAGs to write your own templates and use News wherever you want

Downloads

Installation

  1. Download (see below) and install the News.zip
  2. Activate the Plugin
  3. Assign the news.* Permissions to your Administrator account and to all required Usergroups (see below)
  4. Reload the Administration, you see the new Menu entry “News” below “Menus”
  5. Configure your News System (see below “Configuration”)
  6. Open Administration/Menu/News and create your first “Hello World” Test News

Now open your News page (as created in “Configuration”) and enjoy your posting.

Permissions

Names:

  1. news / news.edit
  2. news / news.create
  3. news / news.delete
  4. news / news.categories

Descriptions:

  1. Allows to edit existing News entries
  2. Allows to create News entries
  3. Allows to delete News entries
  4. Allows to create new Categories while editing/creating News entries

Configuration

  • Create the page “News” (News will be created below here) and assign the “News Home” template
  • Create a “News” category (following News Categories will be stored below)
  • Configure your News System at Configurations with package “news”:

Names:

  1. category.id: choose formerly created category
  2. default.language: choose the language used to create your news
  3. root.id: choose formerly created news page
  4. rss.latest.template (optional)
  5. template.news (optional)
  6. unique.name.extension (optional)
  7. unique.name.pattern (optional)

Description:

  1. Category ID to create News Categories below. Children of this category can be selected when editing/creating News.
  2. Language to use for creating News entries. Used by the {news} TAG and for the list of News entries in News Administration.
  3. Menu ID, where all News will be created below.
  4. Template used to render the News Feed. If you want to customize it, create a copy of the original template and assign it here. Otherwise leave as is.
  5. Template Name, which is assigned to each created News.
  6. The file extension to be used for unique URLs. Only used with activated URL rewriting.
  7. The unique name pattern for new items, which will be used as prefix for the News entry unique name. The pattern will be piped through stftime, so its easy possible to create a date in the unique name (for example %Y-%m-%d/ would create News with unique URLs like 2008-04-01/Example-News.html). Only used with activated URL rewriting. (expert option)

Smarty TAGs

The News System comes with some specialized Smarty TAGs.

Please visit their page for further information:

Interesting extensions

You might be interested in these extensions as well:

Changelog

Version 1.3: Please update all links to your RSS feed by using Smarty TAG {link_news_rss} and then delete /addon/rss/news.php OR use metatags in your template.

  • moved News Admin Plugin
  • moved RSS feed to /plugins/news/rss.php
  • moved jscalendar to /plugins/news/jscalendar/
  • added xmlrpc.php and IXR_Library.inc.php
  • auto-include comments include if comment plugin is loaded
  • show comment counter only if comment plugin is loaded
  • using new admin styles
  • displays RSS feed automatically using the metatags_more action

Version 1.2.2:

  • Hide/publish news
  • using new css classes
  • Fixed RSS utf8 bug
  • Fixed whitespace bug
  • Sitename in rss feed

Version 1.1:

  • fixed bug with BIGACE 2.5
  • fixed date problem in RSS feed
  • choose and siplay time of news creation
  • changed some icons for more usability
  • display whether news are unreleased (hidden) or released

Version 1.0:

  • do not set module on update news, cause it might have changed in between by manually setting it via menu admin
  • support unique name pattern, to create news at a default path/location
  • preview link
  • do not save image with id 0 if none was set (fix includes also changes in bigace, will not work before 2.5!)
  • added RSS Atom 2.0 feed to display latest items (customizable via Template)

Version 0.9:

  • added news date (and javascript popup) to assign a date instead of using the createdate
  • added option to {news_category} and {news_categories} to render HTML inside Smarty TAG for easy usage
  • auto assign the news category id to each new and udpated news

Version 0.8:

  • Moved News Archiver to own Extension
 

Recent changes RSS feed Valid XHTML 1.0 Valid CSS