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
Version 2.2
- Added browsecat parameter
Version 2.3
- Changed to use multiple database templates Old file templates will not work.
- Now allow for admin approval to change news state from draft to published.
- Pagination is now available in the default summary templates
- More.
Version 2.3.0.2
- Minor fixes to the help, changelog, to the number parameter, and to add a missing CreatePermission call.
- Fixes to the start parameter to work differently
Version 2.4
- Added a form on the frontend to allow users to submit news articles. This should be wrapped with customcontent to prevent spamming, etc.
- Fixes to allow 1.0.x compatibility.
- Updated the help.
Version 2.5
Adds an extra field that can be re-used for anything (associating with a file, an extra image, etc.
Version 2.5.1
Removes a small error I left in a template.
Moves the default templates into their own tab to remove confusion.
Use SelectLimit in the summary view instead of the LIMIT n,start or LIMIT n offset startelement
Bumped minimum version to 1.1
Version 2.6
Adds user defined fields, including text areas, text input, checkboxes, and \'files\' which allows you to associate a file with a particular news article.
Adds the ability to bulk change the category of selected news articles
Adds the ability to bulk delete selected news articles
Adds a new permission \'Delete News\'. Users will need this permission to be able to delete news articles.
Fixes some frontend editing capabilities (extra fields aren\'t in there yet)
Adds a preference to allow hiding the summary text area for adding and editing articles.
Remove the news content type (was deprecated in News 2.5.1)
Now Requires CMS 1.2 or later
Fixes some hardcoded lang strings in the articles tab
Adds a preference that allows specifying the default number of days before an article expires (if expiry is used)
Fixes the browsecat mode so that extra parameters added on the tag are carried down through the links
Adds multiple database templates to the browsecat action.
Version 2.6.1
Now use cms_move_uploaded_file instead of move_uploaded_file.
Fixes a minor issue with the start parameter.
Now Require CMS 1.2.1 or later
Fixes an issue where I was assuming that the db prefix was cms_
Fixes some warnings if no custom fields were defined.
Fixes some calls to GetModuleInstance().
Version 2.6.2
Decode entities for the template name when editing a template
Fix an issue with warnings if no custom fields are defined
Version 2.7
Fixes to news fesubmit and html entities
Adds an optional dropdown category box for fesubmit
Adds a preference indicating to disable the wysiwyg for the summary view
Adds a preference to determine which page to redirect to after fesubmit
Fixes to author id and author management wrt frontend submitted articles
Adds a preference to allow defining a landing page for links generated in the rss feed
Updates the pretty urls in the rss feed
A slight tweak to the rssfeed.tpl to use the feed title.
Adds custom field support to the frontend submit form
Version 2.8
Now require CMS 1.3-beta1 at least
Now use cms_html_entity_decode to ensure php4 compatibility
Support the extra field in the fesubmit form
Add fieldsbyname values to detail and summary reports
Fix minor issue with missing table prefix when deleting a category
Fix browsecat if there are one or more child categories with the same name
Cleanup and some minor bug fixes
Version 2.8.1
Fixes a minor problem with custom fields.
Fixes a minor problem with sorting by news_extra.
Version 2.8.2
Fixes a minor problem with registered routes
Version 2.8.3
Fixes a minor problem with fesubmit redirect actions
Version 2.9
Adds notification output
Adds prevpage and nextpage url variables in the summary view.
Get rid of the dateformat parameter and preference.
Remove any and all RSS code
Add support for syntax hilighter when editing templates.
Bug fixes
Version 2.9.2
Add the showall parameter.
Minor cleanup to parameters.
Add a new preference to allow showing expired articles in search results. If you plan on using this parameter, you may need to re-index all search content.
Version 2.9.3
Fix help wrt the number and pagelimit parameters.
Add the articleid=-1 capability to the detail view.
No longer add empty values for empty extra fields submitted via the fesubmit action.
Add keys to the fieldvals table.
Fix problem with draft articles being searchable.
Version 2.9.4
Hide the expiry date stuff when adding/editing an article, unless use expiry date is checked.
Add create date and modified date to be available in the summary template (usefull for rss feeds in cgfeedmakr).
Fix problem with browsecat counting non published articles.
Version 2.10
Numerous bug fixes and minor enhancements.
Version 2.10.1
Fix minor warning.
Version 2.10.2
Fix minor permission related template issues.
Version 2.10.3
Fix minor template issue.
Version 2.10.4
Minor bug fixes.
Version 2.10.5
Minor bug fixes.
Version 2.11.1
bug fix to #5861 ... a fix to the custom field on error.
Version 2.11.2
Fix pretty urls for search results.
Fix canonical url in detail view.