Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8051

Static filters do not support multi-typed content

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 4.0RC3
    • 4.0RC1
    • Skins
    • None

      I declare a static content filter like this :

      	<extension point="org.ametys.cms.filter.ContentFilterExtensionPoint"
                     	class="org.ametys.web.filter.StaticWebContentFilter"
                     	id="org.ametys.web.events.RSS">
              		<title i18n="false">Les événements</title>
              		<description i18n="false">Les événements présents dans l'agenda de la page d'accueil</description>
              		<content-types>
      	            	<type id="org.ametys.plugins.news.Content.news"/>
          			</content-types>
                  	         <tags>
      	            	        <tag key="EVENEMENTS"/>
      			</tags>
          			<view>main</view>
          		</extension> 
      

      Then I display the result of this filter here:
      http://.../_plugins/web/www-ville/fr/filter/org.ametys.web.events.RSS/rss.xml

      The multi-typed content (org.ametys.plugins.newssubmission.Content.news-submission and org.ametys.plugins.news.Content.news) are not displayed.

            laurence Laurence Aumeunier
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: