• Resolved dngdesigns

    (@dngdesigns)


    Hello, I need help with this json url, I am trying to display the “codes” and its fields in a list but no matter what I do it doesn’t work. I have no Idea what i’m doing x))

    Thank you very much!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author berkux

    (@berkux)

    Hi,

    try this:
    [jsoncontentimporter url=https://shift.orcicorn.com/tags/borderlands3/index.json]
    {subloop:meta:-1}{meta.version}{/subloop:meta}<hr>
    {subloop-array:codes:-1}
    {codes.reward} {codes.game}<br>
    {/subloop-array:codes}
    [/jsoncontentimporter]

    Bernhard

    Thread Starter dngdesigns

    (@dngdesigns)

    Thank you so much!

    Plugin Author berkux

    (@berkux)

    You‘re welcome. Feel free to post a review here. Happy new year!

    Thread Starter dngdesigns

    (@dngdesigns)

    I’m sorry, can you help me with this too?
    I am trying to display the games also with the image(s).
    The number 1 is the currently free game and the number 2 and 3 the ones expired.
    https://store-site-backend-static.ak.epicgames.com/freeGamesPromotions

    I tried with the one you’ve send me but seems like it needs something more. Or it just doesn’t work.

    I’m really sorry, is the first time I’m doing something like this.

    Ofc I will leave a review now! x)

    Happy new year to you too!

    • This reply was modified 3 years, 10 months ago by dngdesigns.
    Plugin Author berkux

    (@berkux)

    Hi,

    try

    
    [jsoncontentimporter url=https://store-site-backend-static.ak.epicgames.com/freeGamesPromotions basenode=data.Catalog.searchStore.elements]
    {title}<br>{subloop-array:keyImages:-1}<img src="{keyImages.URL}" /><br>{/subloop-array:keyImages}
    [/jsoncontentimporter]

    Bernhard

    • This reply was modified 3 years, 10 months ago by berkux.
    Thread Starter dngdesigns

    (@dngdesigns)

    Hello, thank you very much!

    https://store-site-backend-static.ak.epicgames.com/freeGamesPromotions
    Is it possible to get the data for just one element? With one picture only?
    For example to show element 0 in one shortcode, element 1 in another etc?

    I want to display them on a table in columns because I also have to write for example that the element 0 is the next free game, the element 1 is the current Free game and 2/3 the finished offers.

    Also, How can I display fmtPrice, originalPrice from here: https://imgur.com/Co3sXfN

    I’m so sorry I’m asking all the time, I’m totally lost and new to this. I promise to buy the pro version when I’ll be able to. I feel bad. x))

    Thank you so much

    • This reply was modified 3 years, 10 months ago by dngdesigns.
    • This reply was modified 3 years, 10 months ago by dngdesigns.
    • This reply was modified 3 years, 10 months ago by dngdesigns.
    • This reply was modified 3 years, 10 months ago by dngdesigns.
    • This reply was modified 3 years, 10 months ago by dngdesigns.
    • This reply was modified 3 years, 10 months ago by dngdesigns.
    Plugin Author berkux

    (@berkux)

    Hi,

    {subloop-array:keyImages:1} gives you the first element.

    You can’t select the 2nd etc. element only, this is a PRO-Plugin thing. For any PRO questions switch to
    https://jsoncontentimporter.freshdesk.com/widgets/feedback_widget/new?searchArea=no
    plase.

    Bernhard

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Newbie needs help’ is closed to new replies.