Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 12:41 am (All times are UTC )

 


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.



Post new topic Reply to topic  [ 22 posts ] 
Author Message
Posted: Wed Sep 17, 2008 7:44 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Please use this topic if you have any questions concerning this plugin.

http://extensions.joomla.org/component/ ... Itemid,35/

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Nov 17, 2008 1:50 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Aug 21, 2005 1:45 am
Posts: 35
Location: France
Hi Jean marie,
I use your plugin more and more and i just discovered its great scroll function.
I searched to set the ordering of the displaying items of the feeds.
In other word, the items of the RSS are ordered in discending way of their date.
If you use a RSSfeed to display events by date, you need to displayed them by date ascending.
I look at your plugin code, but i can't find the part that ordered the item.
Could you help me about that?
Do you think we could create a new setting that permit to choose if one flux could be sorted by ascending or descending date

_________________
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce


Top
  E-mail  
 
Posted: Mon Nov 17, 2008 10:24 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Not sure.
Is this feed displaying Ok for you or not:
http://news.google.com/nwshp?hl=en&tab= ... output=rss

More recent first.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Nov 17, 2008 1:19 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Aug 21, 2005 1:45 am
Posts: 35
Location: France
Quote:
Is this feed displaying Ok for you or not:
http://news.google.com/nwshp?hl=en&tab= ... output=rss
More recent first.

Yes this feed display the more recent first
But if you have a flux that is seted to see the more older first you obtain allways the more recent first

In French (so i am sure to be more clear ;-) )
j'utilise des fluxs que je crée moi même (base XML transformé via XSL)
Lorsque je choisi d'afficher ces flux du plus vieux au plus récent, cela fonctionne via un lecteur de flux, mais lorsque j'affiche ce flux via le plugin, le flux est toujours affiché du plus récent au plus vieux.
je vais t'envoyr par MP l'adresse d'un flux de test que j'ai réalisé; si tu le test via un lecteur RSS et via le plugin tu verras que les ordres sont inversés.
Je pense que cela vient d'un paramètre de Joomla mais je n'arrive pas à trouver le fichier qui gère cela.
A priori, d'autre modules de gestion de flux arrivent à contourner cela mais peut être qu'ils n'utilisent pas les scripts de joomla lors de la lecture du flux.
En ayant de meilleres pistes de recherche dans les codes (traitement des flux par Joomla et par kl_rssfeed), je pourrais peut être trouver le moyen de créer une variable dans le plugin afin d'agir sur le traitement du flux par Joomla (ce qui éviterai de hacker joomla ou le plugin et de proposer une nouvelle fonction dans le plugin)
Je suis un peu dans le vague concernant les processus de traitement des flux via Joomla et le plugin, si tu peux m'orienter à ce sujet, j'essayerai de voir ce qui peut être modifié.

_________________
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce


Top
  E-mail  
 
Posted: Mon Nov 17, 2008 3:53 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
This is an English-speaking forum, so let's speak English :)

In fact, there is a function in simplepie ( the RSS library Joomla uses) which decides of the chronological order. It is set to descending by default.
Code:
function enable_order_by_date($enable = true)
   {
      $this->order_by_date = (bool) $enable;
   }


in libraries/simplepie/simplepie.php
The default is set by the variable:
var $order_by_date = true;

Maybe we could use it.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Nov 17, 2008 5:52 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Aug 21, 2005 1:45 am
Posts: 35
Location: France
Quote:
This is an English-speaking forum, so let's speak English :)

Ok i continue with my terrible english ;)
Thank you for the information about : libraries/simplepie/simplepie.php
I will study that file
Quote:
Maybe we could use it

Maybe is not french ;)

_________________
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce


Top
  E-mail  
 
Posted: Mon Nov 17, 2008 9:23 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Aug 21, 2005 1:45 am
Posts: 35
Location: France
Quote:
Maybe is not french ;)

That was a joke of course :-[
In fact, i see how we could create a setting about this matter of ordering.
But i can't see how we could enable this setting without hacking the file simplepie.php :'(

_________________
Plus tu te fais mal en tombant plus tu rebondis haut...
The harder you fall the higher you bounce


Top
  E-mail  
 
Posted: Tue May 05, 2009 7:50 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue May 05, 2009 7:45 pm
Posts: 13
Hi, mine is not working at all.
It's as if the tags are not read, and the code will just show in the output page.
I know multiple people are experiencing the same problem, but when switching hosts, it works.

I'm not a developer/expert, but I'm looking around the php settings and I noticed:
allow_url_fopen On On
allow_url_include Off Off

should allowurlinclude be on?? or is there other possible settings that need to be enabled in order for this to work.


Top
  E-mail  
 
Posted: Mon Jun 15, 2009 3:16 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Sep 23, 2005 2:53 pm
Posts: 17
Hi,

How do you display kl_rssfeed in a Module in J1.5?

kl_rssfeed used to work in a Module in J1.0, with parameter Mambots=Yes. Now it does not work in J1.5?

Thanks!
Derrick

_________________
Best Regards,
Derrick


Top
  E-mail  
 
Posted: Mon Jun 15, 2009 3:51 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Plugins do not load in modules (Custom html) in 1.5.

The solution is to use a specific module CustomContent, and then load in that module an article containing the plugin calls.

Module is here : http://extensions.joomla.org/extensions ... 75/details

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Jun 15, 2009 4:40 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Sep 23, 2005 2:53 pm
Posts: 17
Hi,

Thanks for the info. It works now, although need one extra step to create the article for each module.

Would be good to include that as a module parameter in the J1.5 core.

Just a few small but powerful plugins change the whole website. Thanks for your useful contributions :)

_________________
Best Regards,
Derrick


Top
  E-mail  
 
Posted: Sun Sep 20, 2009 10:29 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Sep 20, 2009 10:25 pm
Posts: 4
Hi,
I have loaded the plugin, and i can see that i can align it to the right or left .
Is there is a way that i can align it to the center (middle) ?

thenks in advance,
Ofer


Top
  E-mail  
 
Posted: Mon Sep 21, 2009 5:56 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
The result is displayed in a table with a class you define in the plugin parameters. The class is also available for the ul and li.

You should be able to edit your CSS to obtain what you want.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Sep 21, 2009 7:42 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Sep 20, 2009 10:25 pm
Posts: 4
I am not an expert in CSS (but i can fix small things).
Can you please explain where can i find the CSS file,
and what is ul and li .

thanks
ofer


Top
  E-mail  
 
Posted: Tue Sep 22, 2009 6:11 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Sep 20, 2009 10:25 pm
Posts: 4
oferme wrote:
I am not an expert in CSS (but i can fix small things).
Can you please explain where can i find the CSS file,
and what is ul and li .

thanks
ofer


Pleas, i need HELP regarding the above.

Ofer


Top
  E-mail  
 
Posted: Wed Sep 23, 2009 7:52 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
I am afraid we can't teach you here the basics of CSS.
There are specialized sites for this.
Look at your page under source and wou will see exactly what are the necessary classes to create in template.css
The extension web developper in Firefox will help you create these classes and check various formatting on the fly.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Wed Sep 23, 2009 7:30 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Sep 20, 2009 10:25 pm
Posts: 4
OK,
I'm not asking for teaching, only help for directions, what to look for. :(
which you did . ;)

what are (only small explain :-\ ) the ul and li ?


Top
  E-mail  
 
Posted: Thu Sep 24, 2009 4:43 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Sep 01, 2009 1:19 am
Posts: 8
Location: Phuket, Thailand
As per charlynancy above, I too am looking for a way to display the feed from oldest to newest. However, I need this to be incorporated into the parameters rather than doing a core hack, as some feeds need to be oldest to newest whereas others need to be newest to oldest. Is there any way to achieve this?


Top
  E-mail  
 
Posted: Sat Oct 31, 2009 8:10 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
dosboy wrote:
As per charlynancy above, I too am looking for a way to display the feed from oldest to newest. However, I need this to be incorporated into the parameters rather than doing a core hack, as some feeds need to be oldest to newest whereas others need to be newest to oldest. Is there any way to achieve this?

I am afraid not.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon Nov 09, 2009 3:00 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Nov 09, 2009 2:23 pm
Posts: 1
Hello,

I have one question reagarding the title of each news/information in the particular feed. It looks like somehow there is a dash "-" added before the title. I was trying to look inside the code but I can not find the source of this dash.

For example title looks like this:

— Sądne godziny dla Cadbury

how to make it like this:

Sądne godziny dla Cadbury

Thanks in advance !
Great plugin !



I think I have found it by myself, here it is:

<h4<?php echo $class; ?>><a href="<?php echo $currItem->get_link(); ?>" target="_blank">&mdash;
<?php echo $currItem->get_title(); ?></a></h4>


Top
  E-mail  
 
Posted: Mon Nov 09, 2009 3:55 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Yep, you did. ;)

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Tue Nov 24, 2009 4:18 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Apr 24, 2009 7:42 pm
Posts: 2
infograf768, I have incorporated your plugin and am currently utilizing it in a module position using a custom content module. I have modified the kl_rssfeed.php file and my template css to suit my needs.

I am quite pleased with it! I have attached a screenshot of it in my dev environment.

What I would like to do though is have the first item load at the top of the scrollable area rather than scroll up from the bottom.

I also would like to know if you have explored having each item in the feed pause for a few moments before scrolling to the next item?

Thank you for this great plugin.


You do not have the required permissions to view the files attached to this post.


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 

Quick reply

 



Who is online

Users browsing this forum: H4N5, p3drosola and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group