- Posts: 3
COMMUNITY FORUM
Feed Order Suggestion
- Dan Walker
- Topic Author
- Offline
- New Member
My suggestion is for you to create a toggle in the next version of SRFR to either sort by date (default) or keep RSS feed order. I think there would be others who want to keep the category blog sort order in the SRFR module.
Thanks.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
If you need content flexibility, you should probably look at K2. It's years ahead of Joomla articles and has all the right modules to fetch content in any way imaginable.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michel Pilato
- Offline
- New Member
@TOPIC AUTHOR
In the header.php at what level did you intervene?
Please Log in or Create an account to join the conversation.
- Michel Pilato
- Offline
- New Member
I would like to reverse my list to have the element first
"Stage calligraphy gesture in Lyon from 14 to 14 09 2019."
I would like to override the file helper.php.I do not know where to intervene. Can you advise me.
Excuse me for the translation I am French
Thank you
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Assuming you use the compact layout, copy /modules/mod_jw_srfr/tmpl/compact (the folder) into /templates/YOUR_TEMPLATE/html/mod_jw_srfr/ (create this folder if it doesn't exist) and then edit the file /templates/YOUR_TEMPLATE/html/mod_jw_srfr/compact/default.php and at about line 25 (as shown here github.com/joomlaworks/simple-rss-feed-reader/blob/master/tmpl/compact/default.php#L25) change this:
<?php foreach($output as $key=>$feed): ?>
to this:
<?php rsort($output); foreach($output as $key=>$feed): ?>
This is a quick change to swap the order, so I may have missed something. Let me know if it works.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michel Pilato
- Offline
- New Member
Having no answer I put
<? php foreach (array_reverse ($ output) as $ key => $ feed):?>
It works but I will try yours.
Your code works too but with errors (mine too)
michel-pilato.fr/(with my code)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Michel Pilato
- Offline
- New Member
I give you these details since you asked me. For me these codes go very well
With the thread of news of joomla one has the possibility in the backend to invert the elements and it is well displayed in the order 1-2-3-4-5-6-7-8-9-10
michel-pilato.fr/index.php/actualites/stages
With your code
<? php rsort ($ output); foreach ($ output as $ key => $ feed):?>
Element 4 of the news feed is last.
With my code
<? php foreach (array_reverse ($ output) as $ key => $ feed):?>
Elements 4 and 5 are reversed.
michel-pilato.fr/index.php
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Noted for the next release.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Dusty
- Offline
- New Member
- Posts: 1
Any progress on adding the ordering options to SRFR? Maybe a beta?
Thanks,
Dusty
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
- Posts: 6225
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Bibliosalut
- Offline
- New Member
- Posts: 6
Best regards
Please Log in or Create an account to join the conversation.
- Remko Rijpkema
- Offline
- New Member
- Posts: 1
At edstest.nl/videopro/online-video I have a YouTube playlist created with SRFR. For this list I use the feed www.youtube.com/feeds/videos.xml?playlist_id=PLNQ79I2NvKV4gksTUWegbV2DRKS2fg-83 . As you can see, the order in the feed (starting with the feed "Relatieproblemen") is different from the list on my (test)website.
How can I display the list in the order as YouTube shows in the XML feed?
Please Log in or Create an account to join the conversation.
- Dan Scott
- Offline
- New Member
- Posts: 1
Same issue here. The suggestions earlier in the thread are not making sense to me.I think I have a similar question.
At edstest.nl/videopro/online-video I have a YouTube playlist created with SRFR. For this list I use the feed www.youtube.com/feeds/videos.xml?playlist_id=PLNQ79I2NvKV4gksTUWegbV2DRKS2fg-83 . As you can see, the order in the feed (starting with the feed "Relatieproblemen") is different from the list on my (test)website.
How can I display the list in the order as YouTube shows in the XML feed?
Please Log in or Create an account to join the conversation.