• Resolved AdamBrgmn

    (@adambergman)


    Hello,

    For some reason, your plugin refuses to display our latest regulatory posts. According to the plugin, our latest regulatory post is posted on April 2018. The fact is that we have published two regulatory posts since then, one in September and one in June.

    What could be the reason?

    And also, we would like to display both regulatory AND regular posts in our feed. How can we accomplish that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cyclonecode

    (@cyclonecode)

    Hello Adam

    This seems very strange. Have you checked so the older feed items is one of the type(s) you have selected at the configuration page? Would be great if you could send me your feed in json format and I will check what is going on.
    You can use the following URL to retrieve your feed:

    https://publish.ne.cision.com/papi/NewsFeed/FEED_IDENTIFIER?format=json&detailLevel=detail&PageSize=100

    Replace FEED_IDENTIFIER above to the unique id of your feed, go to the page and save it and email me at [email protected], would be great if you also could include your current settings from the “Cision Block Settings” page.

    Regarding your other question: “And also, we would like to display both regulatory AND regular posts in our feed. How can we accomplish that?”

    One way to do this would be to use two separate blocks at to different pages:

    
        <!-- only displays regulatory releases -->
        [cision-block regulatory=true]
    
        <!-- display all releases -->
        [cision-block]
    

    If you are up for adding code, then you could also use the supplied template cision-block.php and check in the loop if an item is regulatory or not:

    
       if ($item->IsRegulatory):
       <!-- this item is regulatory -->
       else:
       <!-- not a regulatory item -->
       endif;
    
    Plugin Author cyclonecode

    (@cyclonecode)

    This problem was related to a couple of different issues:

    • The “Regulatory” checkbox was checked, the number of feed items were set to 1 and the number of items per page was also set to 1. The following setup would not rendering anything unless the first feed item actually was regulatory.
    • We also found a bug in the widget, the “Feed source id” was never used, instead always the default settings for this field was used, which might have triggered some invalid results. This is now fixed in version 1.4.9.1
    • This reply was modified 6 years, 1 month ago by cyclonecode.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feed is not displaying the newest regulatory post’ is closed to new replies.