Page 1 of 2

Json and data sources

Posted: Fri Mar 08, 2013 9:39 pm
by themac

Hi, i'm tryng to figure out how to supply a json file with link to images to show in a grid or carousel:

Let' see this example :http://help.gotiggr.com/getting-start...

Why if i simply change http://search.twitter.com/search.json... with http://www.zeg.it/document.json (it's well formatted), the app doesn't work anymore and show no images ? Is there some kind of debug to help me. Thanks !

P.S.
other simply ways to have some good slideshow/photo gallery ? Thanks in advance !

Victor


Json and data sources

Posted: Fri Mar 08, 2013 10:05 pm
by maxkatz

The service doesn't support cross-domain calls. Turn on the proxy.

http://docs.tiggzi.com/documentation/...


Json and data sources

Posted: Sat Mar 09, 2013 7:07 am
by themac

Thanks Max, everything works now, except that when i change the grid with a carousel (and an image inside it) it doesn't work anymore. I think i correctly connected everything. What am i missing ?

Thanks, again, in advance

Victor


Json and data sources

Posted: Sat Mar 09, 2013 3:28 pm
by maxkatz

What doesn't work exactly when you switch to carousel?


Json and data sources

Posted: Sat Mar 09, 2013 6:09 pm
by themac

it's ok now, i had to delete the datasource and add it again. Thanks !


Json and data sources

Posted: Sat Mar 09, 2013 6:14 pm
by themac

Ok, another question. Is there a way to invoke a service without having a button and using "click" event ?

Something like "onload" ?

Thanks


Json and data sources

Posted: Sat Mar 09, 2013 6:49 pm
by maxkatz

Sure, you can use any event to invoke a service.


Json and data sources

Posted: Sat Mar 09, 2013 7:05 pm
by themac

ok, but i have to insert it manually on the .js file ? it's not present on the combo box of events (neither for container nor for carousel).

Thanks.

Victor


Json and data sources

Posted: Sat Mar 09, 2013 7:28 pm
by maxkatz

The page has load event.


Json and data sources

Posted: Sat Mar 09, 2013 8:26 pm
by themac

ok, found it ! thanks !