Next and previous buttons do not work for RSS: news RSS always show the same information

Created:

2017-07-03 09:06:02 UTC

Modified:

2017-08-16 17:26:13 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Next and previous buttons do not work for RSS: news RSS always show the same information

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk for Linux
  • Plesk Onyx for Linux

Symptoms

Next and Previous buttons do not work for RSS: news RSS always show the same information

Cause

This issue is caused by a product bug #PPPM-6631 that will be fixed in the future Plesk releases.

Resolution

As a workaround, perform the following steps:

1. Log in to the server over SSH .

2. Back up original file:

# mv /usr/local/psa/admin/application/smb/views/scripts/partials/rss-feed-custom-spot.phtml /usr/local/psa/admin/application/smb/views/scripts/partials/rss-feed-custom-spot.phtml.bak

3. Create new file with the following text:

# vi /usr/local/psa/admin/application/smb/views/scripts/partials/rss-feed-custom-spot.phtml 
<<?php
// Copyright 1999-2017. Parallels IP Holdings GmbH. All Rights Reserved.
?>
<div id="rssFeedCustomSpotContent" class=""></div>
<script type="text/javascript">
    //<![CDATA[
    Jsw.onReady(function () {
        new Smb.RssFeedCustomSpot({
            cls: '',
            renderTo: 'rssFeedCustomSpotContent',
            customSpotsBlock: <?php echo $this->jsEscape($this->id); ?>,
            renderMode: 'after',
            itemCount: <?php echo $this->jsEscape($this->itemCount); ?>,
            locale: <?php echo Zend_Json::encode(Zend_Registry::get('translate')->getSection('components.custom-spots'));?>,
            dataUrl: <?php echo $this->jsEscape($this->rssFeedDataUrl); ?>
        });
    });
    //]]>
</script>
Have more questions? Submit a request
Please sign in to leave a comment.