Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Rss description in popup

Hi

I am show a image and a title from my rss feed. What I want to do is when I click on the image the rss description must show in a popup.

Can you help or direct me in a direction.

Thank you

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Rss description in popup

Hi Johnny,

You would need to use Image component On Click action.
You can use localStorage to pass data.
These references should be helpful:
http://docs.appery.io/tutorials/build... - building RSS app
http://docs.appery.io/documentation/w... - here you can find how to work with pop-ups and events

Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Rss description in popup

Cool I stored in local storage and is working 100%. But when I go and click on the next image the old description is still showing.

Must I do a refresh?

Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Rss description in popup

Ok I tried full page refresh but still same description. Must I clear the local storage var?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Rss description in popup

On Image click you would need to take text and show it in pop-up. Saving text to localStorage from mapping won't help.

Map your text to a hidden Label.
On Image click save Label text to a localStorage variable.
Then open pop-up that reads a localStorage variable value.

Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Rss description in popup

I did that like you explained. But same problem. Can you maybe check for me please? it is shared with support

Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Rss description in popup

If I can explain more, i can see that it sets the local storage correctly. So when I click on other image my description change in the local storage. But they don't change on the page...

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rss description in popup

Can you tell us your app name?

Johnny
Posts: 0
Joined: Tue Jul 23, 2013 10:09 am

Rss description in popup

Thank you, it is Trou Idees

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rss description in popup

So you added action on Click event on image in Carousel, but it doesn't work? Please try to add action on Click on Carousel, not on image.

Return to “Issues”