Responsive design

Notice: Undefined index: social_google in /home/webroot/www.kusoftas.com/cms/templates_c/demo^7b9c5ab6cf20f7b62a4fced0b8a945dae9af628c_0.file.skin-template-header.tpl.cache.php on line 163

Download

Last stable v 5.2 2024-11-01

    News

    Table of Contents:


    News is CMS plugin to manage and show news on site page. It allow:

    • Show news items on page
    • Show news item topics
    • Show news item selected by ID on separate page containing news item metadata as page metadata
    • Expand / collapse news data content area
    • Delegate news content to site search index
    • Provide news RSS service

    Plugin data storage is located in folder /cms/data/plugins/news (may be changed) and contains files:

    • conf.xml - XML file containing available topic list and base URL for news item selected by item ID on separate page
    • id.xml - XML file containing news data; id - news id usually is language code (ex. eng.xml))
    • other XML files containing news data with different id

    Plugin delegates to site:

    • js include file: cms-plugin-news.js containing cms_plugin_news() jQuery plugin
    • css include file: cms-plugin-news.css
    • Smarty template plugin {cms_plugin_news}
    • Smarty template plugin {cms_plugin_news_rss}
    • php class cms\plugin\news\content which helps to provide news data content for local search index

    News items in several pages are filtered using page optional data key pairs:

    • 2014: news => year=2014 (filtering by year = 2014)
    • Actual: news => topic=act (filtering by assigned topic id = 'act'); breaking news always are actual
    • Archive: news => topic=arc (filtering by assigned topic id = 'arc')
    • All: no optional data defined

    jQuery plugin docs available at cms_plugin_news()

    Smarty template plugin docs available at {cms_plugin_news}

    Smarty template plugin for RSS docs available at {cms_plugin_news_rss}