The Joomla! Forum ™



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  [ 59 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Sep 17, 2008 7:44 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Nov 17, 2008 1:50 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 21, 2005 1:45 am
Posts: 37
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
 Profile  
 
PostPosted: Mon Nov 17, 2008 10:24 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Nov 17, 2008 1:19 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 21, 2005 1:45 am
Posts: 37
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
 Profile  
 
PostPosted: Mon Nov 17, 2008 3:53 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Nov 17, 2008 5:52 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 21, 2005 1:45 am
Posts: 37
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
 Profile  
 
PostPosted: Mon Nov 17, 2008 9:23 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 21, 2005 1:45 am
Posts: 37
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
 Profile  
 
PostPosted: Tue May 05, 2009 7:50 pm 
Joomla! Apprentice
Joomla! Apprentice

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
 Profile  
 
PostPosted: Mon Jun 15, 2009 3:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 23, 2005 2:53 pm
Posts: 21
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
 Profile  
 
PostPosted: Mon Jun 15, 2009 3:51 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Jun 15, 2009 4:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Sep 23, 2005 2:53 pm
Posts: 21
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
 Profile  
 
PostPosted: Sun Sep 20, 2009 10:29 pm 
Joomla! Fledgling
Joomla! Fledgling

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
 Profile  
 
PostPosted: Mon Sep 21, 2009 5:56 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Sep 21, 2009 7:42 am 
Joomla! Fledgling
Joomla! Fledgling

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
 Profile  
 
PostPosted: Tue Sep 22, 2009 6:11 pm 
Joomla! Fledgling
Joomla! Fledgling

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
 Profile  
 
PostPosted: Wed Sep 23, 2009 7:52 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 7:30 pm 
Joomla! Fledgling
Joomla! Fledgling

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
 Profile  
 
PostPosted: Thu Sep 24, 2009 4:43 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Sep 01, 2009 1:19 am
Posts: 10
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
 Profile  
 
PostPosted: Sat Oct 31, 2009 8:10 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
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
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Mon Nov 09, 2009 3:00 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Nov 09, 2009 2:23 pm
Posts: 2
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
 Profile  
 
PostPosted: Mon Nov 09, 2009 3:55 pm 
User avatar
Joomla! Master
Joomla! Master

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

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Tue Nov 24, 2009 4:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Apr 24, 2009 7:42 pm
Posts: 11
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
 Profile  
 
PostPosted: Wed Nov 25, 2009 6:25 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
Location: **Translation Matters**
The scroll functionnality in kl_rssfeed is a simple html one.
See http://www.bbc.co.uk/dna/h2g2/A789942
One can scroll up or down, right or left a specific content through the <marquee> tag.
But one cannot change the order of the rss content.
If you choose to scroll down in the plugin parameters, it will present the last item first.
Nothing can be done concerning that.
Concerning the pause, it is the same issue. The <marquee> tag does not care about the content it scrolls. It has no idea what it is and can't therefore act on it.
Hovering on the content will pause the scrolling.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Wed Nov 25, 2009 7:39 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Nov 09, 2009 2:23 pm
Posts: 2
Hi,

in some of the RSS feeds there are images files attached to the particular news (many in one feed). Is there any chance to set the plugin up not to show such images ?

Thank you in advance for your answer,
Masako


Top
 Profile  
 
PostPosted: Thu Nov 26, 2009 7:26 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
Location: **Translation Matters**
Masako wrote:
Hi,

in some of the RSS feeds there are images files attached to the particular news (many in one feed). Is there any chance to set the plugin up not to show such images ?

Thank you in advance for your answer,
Masako

If you have set the class to klrssfeed (default), then adding in your template.css the following could do the trick.
li.klrssfeed img {display:none;} // will prevent images from display for each feed item
.klrssfeed img {display:none;} // will prevent any image from display, including eventual channel image.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Tue Dec 22, 2009 1:07 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 22, 2009 12:58 am
Posts: 5
Dear master;

I want to remove any link from klrssfeed. In other word, dont show link in rss title.

Please inform me how to insert code for showing BOLD title for per item.

regards


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 12:35 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
Location: **Translation Matters**
reza345 wrote:
I want to remove any link from klrssfeed. In other word, dont show link in rss title.

That can only be done by editing the php file.
line 204, take off the part in bold
<h3<?php echo $class; ?>style="direction: <?php echo $kl_params['rssrtl'] ? 'rtl' :'ltr'; ?>; text-align: <?php echo $kl_params['rssrtl'] ? 'right' :'left'; ?>"><a href="<?php echo str_replace( '&', '&amp', $feed->link ); ?>" target="_blank">
<?php echo $feed->title; ?></a></h3>
Quote:
Please inform me how to insert code for showing BOLD title for per item.

This is easy when editing the css.
As shown above the tag is h3. If you define a class for the feed, then add a
.name_of_class h3 { }
in your CSS file.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 3:29 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 22, 2009 12:58 am
Posts: 5
I had edit that code. but rss link in title, dont change !


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 5:24 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17178
Location: **Translation Matters**
reza345 wrote:
I had edit that code. but rss link in title, dont change !

You have also to do it for

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

The h3 concerns the title of the rss, the h4 concerns each item.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
PostPosted: Thu Dec 24, 2009 5:54 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Dec 22, 2009 12:58 am
Posts: 5
Thanks a lot dear master... it's work.

Thank you very much.

Yours truly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 59 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: No registered users and 32 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® Forum Software © phpBB Group