Advertisement
Module Syndication Feeds not working in 1.7?
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
- chrisconradi
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Jul 22, 2011 6:17 am
Module Syndication Feeds not working in 1.7?
I did an upgrade yesterday from 1.6.5 to 1.7.
Everything works like a charm, but the RSS feed link (livemarks.png) I had in my header is gone. Making debug-changes like trying to insert <h1>test</h1> to modules/mod_syndicate/tmpl/default.php doesn't seem to do anything. Am I looking at the wrong file?
Anybody else experienced troubles with the syndication when upgrading from 1.6 to 1.7?
Edit: Made my question a bit clearer.
Everything works like a charm, but the RSS feed link (livemarks.png) I had in my header is gone. Making debug-changes like trying to insert <h1>test</h1> to modules/mod_syndicate/tmpl/default.php doesn't seem to do anything. Am I looking at the wrong file?
Anybody else experienced troubles with the syndication when upgrading from 1.6 to 1.7?
Edit: Made my question a bit clearer.
Advertisement
- chrisconradi
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Jul 22, 2011 6:17 am
Re: Module Syndication Feeds not working in 1.7?
Okay, don't ask me how I figured this one out, and don't ask me why this works, but I opened modules/mod_syndicate/mod_syndicate.php and changed line 19 from
to
and everything works. For some reason, adding a blank string to the end of the $link somehow activates the module.
Code: Select all
$link = modSyndicateHelper::getLink($params);
Code: Select all
$link = modSyndicateHelper::getLink($params)."";
- Nick Savov
- Joomla! Ace
- Posts: 1076
- Joined: Tue Apr 13, 2010 7:40 pm
Re: Module Syndication Feeds not working in 1.7?
I'm glad you got it sorted!
Joomla Templates created by the Wright Framework.
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
- chrisconradi
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Jul 22, 2011 6:17 am
Re: Module Syndication Feeds not working in 1.7?
Argh, sorry about that one. It turns out, my little hack only displays the little png image. The link, only links back to the same page. I.e. no rss support after all.
When looking at the code from mod_syndicate.php:
$link never gets set and is null for some reason. The issue seems to be in the call modSyndicateHelper::getLink($params);
Any ideas? It worked like a charm in 1.6.5.
When looking at the code from mod_syndicate.php:
Code: Select all
$params->def('text', 'Feed Entries');
$params->def('format', 'rss');
$link = modSyndicateHelper::getLink($params);
Any ideas? It worked like a charm in 1.6.5.
- chrisconradi
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Jul 22, 2011 6:17 am
Re: Module Syndication Feeds not working in 1.7?
Great success!
I changed /modules/mod_syndicate/helper.php from
to
No idea why this happens when upgrading to 1.7. But this code should do the trick.
I feel like I reverse-engineered halv of Joomla to get there At least I learned a lot about the API
I changed /modules/mod_syndicate/helper.php from
Code: Select all
class modSyndicateHelper
{
static function getLink(&$params)
{
$document = JFactory::getDocument();
foreach($document->_links as $link)
{
if (strpos($link, 'application/'.$params->get('format').'+xml')) {
preg_match("#href=\"(.*?)\"#s", $link, $matches);
return $matches[1];
}
}
}
}
Code: Select all
class modSyndicateHelper
{
static function getLink(&$params)
{
$document = JFactory::getDocument();
foreach($document->_links as $i=>$value)
{
if ($value[attribs][type] == 'application/'.$params->get('format').'+xml')
return $i;
}
}
}
I feel like I reverse-engineered halv of Joomla to get there At least I learned a lot about the API
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sat Jul 23, 2011 2:28 pm
Re: Module Syndication Feeds not working in 1.7?
Hi there!
I got the same problem.
Everything worked fine with Joomla! 1.5.23 and 1.6.5.
After upgrading to 1.7.0 my syndication-module didn't work as expected any more. It displayed the module title but no item text or link to bookmark or view the feed.
Fortunately I could fix the problem with the suggestion chrisconradi made in his last post.
Thanks a lot!
Oli
I got the same problem.
Everything worked fine with Joomla! 1.5.23 and 1.6.5.
After upgrading to 1.7.0 my syndication-module didn't work as expected any more. It displayed the module title but no item text or link to bookmark or view the feed.
Fortunately I could fix the problem with the suggestion chrisconradi made in his last post.
Thanks a lot!
Oli
- Nick Savov
- Joomla! Ace
- Posts: 1076
- Joined: Tue Apr 13, 2010 7:40 pm
Re: Module Syndication Feeds not working in 1.7?
Hi guys,
Is this in reference to the default Joomla module or to a 3rd party extension?
Kind regards,
Nick
Is this in reference to the default Joomla module or to a 3rd party extension?
Kind regards,
Nick
Joomla Templates created by the Wright Framework.
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
- chrisconradi
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Jul 22, 2011 6:17 am
Re: Module Syndication Feeds not working in 1.7?
Default Joomla module. Using the YouGrids framework. If that at all matters.Is this in reference to the default Joomla module or to a 3rd party extension?
It is a fresh install, as I'm just upgrading my webpage (www.hvafor.no).
- Nick Savov
- Joomla! Ace
- Posts: 1076
- Joined: Tue Apr 13, 2010 7:40 pm
Re: Module Syndication Feeds not working in 1.7?
Do you mind reporting it to the Joomla Bug Squad and then posting the link here once you've reported the issue?
http://docs.joomla.org/Filing_bugs_and_issues
Kind regards,
Nick
http://docs.joomla.org/Filing_bugs_and_issues
Kind regards,
Nick
Joomla Templates created by the Wright Framework.
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
- chrisconradi
- Joomla! Apprentice
- Posts: 35
- Joined: Fri Jul 22, 2011 6:17 am
- Nick Savov
- Joomla! Ace
- Posts: 1076
- Joined: Tue Apr 13, 2010 7:40 pm
Re: Module Syndication Feeds not working in 1.7?
Cheers Chris
Joomla Templates created by the Wright Framework.
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Module Syndication Feeds not working in 1.7?
Please test this patch:
http://joomlacode.org/gf/project/joomla ... m_id=26483
(as the one above does not work as should)
http://joomlacode.org/gf/project/joomla ... m_id=26483
(as the one above does not work as should)
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
- Nick Savov
- Joomla! Ace
- Posts: 1076
- Joined: Tue Apr 13, 2010 7:40 pm
Re: Module Syndication Feeds not working in 1.7?
Great job Jean-Marie!
Joomla Templates created by the Wright Framework.
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
Hi I have exactly the same issue in joomla 1.7 but how to install this 'patch' the extension is 'patch' i've watched the txt its parcelar there is a lot of modification,
how to install it ? thanks a lot....
how to install it ? thanks a lot....
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
- Nick Savov
- Joomla! Ace
- Posts: 1076
- Joined: Tue Apr 13, 2010 7:40 pm
Re: Module Syndication Feeds not working in 1.7?
Joomla Templates created by the Wright Framework.
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
Wow... hum, thanks a lot nick i was expecting an answer , but in fact i'm not a developper, i was just guessing to get my blog getting his rss back does i have to compile the whole joomla for that (if i understood ? i don't understood very well the doc) where is this php explorer ? i'll have to get the source of joomla in 1.7 apply the patch and get the corrected file to inject it to my blog ?
Sorry english is not my natural language but technically normally its not a problem, but i've never updated joomla unless with the traditional process "patch" with file copy or install. and my blog is online its not a LAB
My syndication module is well displayed but my rss feed is empty Does this patch well correct this issue ?
http://www.crashdebug.fr/index.php?format=feed&type=rss
Thanks a lot of what you can do,
Sorry english is not my natural language but technically normally its not a problem, but i've never updated joomla unless with the traditional process "patch" with file copy or install. and my blog is online its not a LAB
My syndication module is well displayed but my rss feed is empty Does this patch well correct this issue ?
http://www.crashdebug.fr/index.php?format=feed&type=rss
Thanks a lot of what you can do,
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
ok i'm certainly totaly wrong i'll open a new thread, thanks anyway,
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Module Syndication Feeds not working in 1.7?
Should be easier this way:
http://docs.joomla.org/1.7.0_Syndication_module_broken
Remember though: RSS feeds are only provided in Joomla for Blogs, Featured and Category.
http://docs.joomla.org/1.7.0_Syndication_module_broken
Remember though: RSS feeds are only provided in Joomla for Blogs, Featured and Category.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
Hi infograf68 glad to meet you, i modified the the file but nothing has change you can check http://www.crashdebug.fr/index.php?format=feed&type=rss
i dont understood this issue everything was working fine unless i publish the news of the AA+ for the usa, i dont have touch anything i just have upgraded automaticaly akeeba
its common on joomla 1.7 ? (i just have upgraded)
this bugging me because other blog copy my blog using rss,
thanks,
i dont understood this issue everything was working fine unless i publish the news of the AA+ for the usa, i dont have touch anything i just have upgraded automaticaly akeeba
its common on joomla 1.7 ? (i just have upgraded)
this bugging me because other blog copy my blog using rss,
thanks,
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Module Syndication Feeds not working in 1.7?
You are using a Joomlart template JA_Purity_ii with I guess their beta JAT3 plugin.Folamour wrote: i dont understood this issue everything was working fine unless i publish the news of the AA+ for the usa, i dont have touch anything i just have upgraded automaticaly akeeba
its common on joomla 1.7 ? (i just have upgraded)
This template/framework is not compatible with 1.7. It may be a matter of the template itself, or the plugin.
I suggest you ask the template provider.
The reference btw should be
http://www.crashdebug.fr/index.php/international
and not, as far as I see, http://www.crashdebug.fr
as this last one just presents an article and would not display the syndicate module anyway.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
Hi infograf78, i'm totaly desperate, this was working until this nigth at 3h31, what does i have to do to make it work again ?
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Module Syndication Feeds not working in 1.7?
1. Make sure you update their JAT3 plugin to
plg_system_jat3.v1.3.0 Beta.zip
http://www.joomlart.com/forums/download ... a&act=down
2. edit line 176 on of /plugins/system/jat3/jat3/core/joomla/documenthtml.php
change this function
to
and then let them know their stuff is not working...
plg_system_jat3.v1.3.0 Beta.zip
http://www.joomlart.com/forums/download ... a&act=down
2. edit line 176 on of /plugins/system/jat3/jat3/core/joomla/documenthtml.php
change this function
Code: Select all
/**
* Adds <link> tags to the head of the document
*
* <p>$relType defaults to 'rel' as it is the most common relation type used.
* ('rev' refers to reverse relation, 'rel' indicates normal, forward relation.)
* Typical tag: <link href="index.php" rel="Start"></p>
*
* @param string $href The link that is being related.
* @param string $relation Relation of link.
* @param string $relType Relation type attribute. Either rel or rev (default: 'rel').
* @param array $attributes Associative array of remaining attributes.
* @return void
*/
public function addHeadLink($href, $relation, $relType = 'rel', $attribs = array())
{
$attribs = JArrayHelper::toString($attribs);
$generatedTag = '<link href="'.$href.'" '.$relType.'="'.$relation.'" '.$attribs;
$this->_links[] = $generatedTag;
}
Code: Select all
/**
* Adds <link> tags to the head of the document
*
* <p>$relType defaults to 'rel' as it is the most common relation type used.
* ('rev' refers to reverse relation, 'rel' indicates normal, forward relation.)
* Typical tag: <link href="index.php" rel="Start"></p>
*
* @param string $href The link that is being related.
* @param string $relation Relation of link.
* @param string $relType Relation type attribute. Either rel or rev (default: 'rel').
* @param array $attributes Associative array of remaining attributes.
* @return void
*/
public function addHeadLink($href, $relation, $relType = 'rel', $attribs = array())
{
$this->_links[$href]['relation'] = $relation;
$this->_links[$href]['relType'] = $relType;
$this->_links[$href]['attribs'] = $attribs;
}
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
Hi Infograpf768 thanks you so much to dig the issue i have warned joomlart, no body else seem to take care of this issue, i dont know if i'm alone to face it..
anyway the modification on the file modules/mod_syndicate/helper.php is still active i have put the modification above but the feed still empty,
you can check on the site, if you want i can gave you some credential by pm, its up to you and the free time you get above you,
NB. the new plug in crash all the display http://www.crashdebug.fr
thanks a lot,
Folamour,
anyway the modification on the file modules/mod_syndicate/helper.php is still active i have put the modification above but the feed still empty,
you can check on the site, if you want i can gave you some credential by pm, its up to you and the free time you get above you,
NB. the new plug in crash all the display http://www.crashdebug.fr
thanks a lot,
Folamour,
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: Module Syndication Feeds not working in 1.7?
Have you used the plg_system_jat3.v1.3.0 Beta.zip?
Is your template
version 1.1.1 of ja_purity_ii ?
You can send me superuser access is the replies to both is yes.
Is your template
version 1.1.1 of ja_purity_ii ?
You can send me superuser access is the replies to both is yes.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
when i woke up after a nigth of debug fixing an angel came to me, its a compatriote ! 45 mn of phone call later the site was online
nervermind the lamer coding of joomlart, its a boys band ....
we was able to make the site/blog online, sadely only the atom feed work... but its ok for the blogger who follow us,
one more time i said : thank you jean marie, and about joomlart, you know what i think...
i need a professional template for my blog, no body can give me one....
nervermind the lamer coding of joomlart, its a boys band ....
we was able to make the site/blog online, sadely only the atom feed work... but its ok for the blogger who follow us,
one more time i said : thank you jean marie, and about joomlart, you know what i think...
i need a professional template for my blog, no body can give me one....
Last edited by Folamour on Tue Aug 09, 2011 9:55 pm, edited 1 time in total.
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
-
- Joomla! Apprentice
- Posts: 30
- Joined: Tue Aug 09, 2011 3:20 pm
Re: Module Syndication Feeds not working in 1.7?
thanks this discussion helped me
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
Finnaly the engineer of joomlart work well on the issue and found a clue, i'll digged more this way and found that in the description of my blog i got the folowing sentence "international & france "
and the rss was blocking on the "&" so i'll managed to replace it by "et" and all get back to NORMAL !!!!
Special thanks goes to starter, peter and of course jean marie, and the team of joomlart who is not so bad at all finally
Thanks you to all, and have a nice day full of RSS ; )))
an happy droopy,
folamour,
and the rss was blocking on the "&" so i'll managed to replace it by "et" and all get back to NORMAL !!!!
Special thanks goes to starter, peter and of course jean marie, and the team of joomlart who is not so bad at all finally
Thanks you to all, and have a nice day full of RSS ; )))
an happy droopy,
folamour,
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
- Peter_P
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Jan 04, 2010 8:50 pm
- Contact:
Re: Module Syndication Feeds not working in 1.7?
Glad you've been able to display your RSS Folamour !
Team Joomla.fr http://joomla.fr/
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Aug 29, 2011 7:19 am
Re: Module Syndication Feeds not working in 1.7?
Hi I'm having the same problem my syndicate feed doesn't work I tried jean Marie's patch still I have an empty link to my home page instead of the RSS feed
help me please
help me please
-
- Joomla! Explorer
- Posts: 315
- Joined: Sun Mar 07, 2010 11:19 am
Re: Module Syndication Feeds not working in 1.7?
check that in the description of your site in configuration you don't have character like '&' or things like that, this was one of my error,
; )
; )
https://www.crashdebug.fr talk about actualities and politics and many other topics.
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
How to boost the SEO of a Joomla site : https://www.crashdebug.fr/comment-ameli ... ite-joomla
Advertisement