Portfolio items do not load via Ajax

  • Posted in : impressivCard
  • darokel
    Participant

    Great template! However, out off the box the portfolio ajax feature doesn’t seem to load the portfolio pages? I get this JS error in the console when clicking a single portfolio item.

    Failed to load resource: Resource failed to load file://localhost/Users/david/Downloads/impressivCard-responsive-html5-template/impressivCard-html5/index.html/http://themes.pixelwars.org/impressivcard/portfolio-item-02.html

    Any idea on this issue?

    ahmetsali
    Keymaster

    Hi, here is a list that may cause this;

    1-) Chrome doesn’t allow ajax load on local machine, move to ftp or try with firefox on your local machine.

    2-) Change portfolio link url to relative;

    http://themes.pixelwars.org/impressivcard/portfolio-item-02.html
    

    make this link relative;

    portfolio-item-02.html
    
    darokel
    Participant

    Same issue on Firefox. Is there anyway you could update this issue on the theme so it’s available to download with the bug fixed? It came this way out of the box.

    ahmetsali
    Keymaster

    1-) Did you try step 2 : make links relative
    2-) Also we have improved portfolio ajax functionality in v1.1.1, make sure have the latest version of the template.

    darokel
    Participant

    The links already seem to be relative but the issue is still there. I assume when I download from themeforest it already gives me the latest version? (v1.1.1). Doesn’t look like there’s an option to download earlier versions so yeah I think I have the latest one. Here is a piece of code from the main index.html:

    http://pastebin.com/QXNZVU1v

    ahmetsali
    Keymaster

    Ok, i see now, in v1.1.1, we have updated the portfolio ajax script to support also full urls not just relative urls. This made the script not to work in local but it will work online. I will optimize the script to make it work on local machines too, thanks for the feedback.

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

The forum ‘impressivCard’ is closed to new topics and replies.