Actions

1.7.0 Syndication module broken

From Joomla! Documentation

Revision as of 01:39, 25 July 2011 by Infograf768 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Syndication module (mod_syndicate) is broken in 1.7.0.

To solve the issue, edit the file modules/mod_syndicate/helper.php, and replace its content by

<?php
/**
 * @version             $Id: helper.php 21913 2011-07-25 05:21:57Z infograf768 $
 * @package             Joomla.Site
 * @subpackage  mod_syndicate
 * @copyright   Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license             GNU General Public License version 2 or later; see LICENSE.txt
 */
 
// no direct access
defined('_JEXEC') or die;
 
class modSyndicateHelper
{
        static function getLink(&$params)
        {
                $document = JFactory::getDocument();
 
                foreach($document->_links as $link => $value)
                {
                        $value = JArrayHelper::toString($value);
                        if (strpos($value, 'application/'.$params->get('format').'+xml')) {
                                return $link;
                        }
                }
 
        }
}

In trunk, was also updated the beez2 and 5 position.css to prevent display of a border for the livemarks.png image.

img { border: 0 none; }