json not work Status:

This topic is: resolved

This topic contains 7 replies, has 2 voices, and was last updated by  Marian 2 years, 11 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)

  • Hi
    im tryng to use the json format and tested on my webspace.
    I already checked all files and it loads all of them but nothing appear on the page
    test can be see here: http://www.forroroma.it/calendar/

    I loaded the json on a separate file called data.asp with the example you provided.

    {
    “2014-06-25″:{“available”: “1”, // Number of Available Items
    “bind”: 0, // Set if a day is a part of a group (0 = none; 1 = first day of a group; 2 = in the group; 3 = last day of a group)
    “info”: “info”, // Day informations
    “notes”: “note”, // Day notes
    “price”: “300”, // Price
    “promo”: “230”, // Promotional Price
    “status”: “available”}, // Day status (none, available, booked, special, unavailable)
    // Another day
    “2014-06-29″:{“available”: “1”,
    “bind”: 0,
    “info”: “info”,
    “notes”: “note”,
    “price”: “100”,
    “promo”: “90”,
    “status”: “available”}
    }



    Marian Support Team #20060

    Hello

    Please send us your ftp info ( as private reply ) to fix your problem.

    Best Regards,
    Support Team



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    Marian Support Team #20198

    Hello

    First problem is because is not loading jQuery:

    I’ve added a new jQuery Link. ( Now is working )

    Second problem is the way you load & save data. Please use our loader and saver files ( dopcp/php-files/save.php and load.php )

    Best Regards,
    Support Team



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    Marian Support Team #20398

    Hello

    Of course you can use asp file.
    You just need to create a Frontend Calendar.
    I’ve made an example in index.html. Now is working perfectly with your data.asp file
    Please take a look in index.html at line @21

    The problem was because you put in data.asp
    json with comments. ( you must put only json NOT comments )

    You can test here :http://www.forroroma.it/calendar/

    Best Regards,
    Support Team



    This reply content has been deleted.

    This is an automatic action, which occurs after a week, if the user provided sensitive information in a private reply.



    Marian Support Team #20497

    Hello

    Glad i could help you.If you like our item & support please don’t forget to rate it. ( Just go here: http://codecanyon.net/downloads )

    Best Regards,
    Support Team


Viewing 8 posts - 1 through 8 (of 8 total)

The topic json not work is closed to new replies.