portfolio-post

  • Posted in : BookCard
  • oratorio
    Participant

    In index.html /PORTFOLIO when I click on the photo the portfolio-item-03. html does not appear. On the site I am now developing AND on the file I downloaded from ThemeForest. Thanks

    oratorio
    Participant

    To be certain to be well understood: When I open index.html, in the files I have downloaded from ThemeForest, in the Portfolio section, the thumbnail on the left, as an example, is linked to portfolio-item-01.html. When I clicked on the thumbnail the portfolio-item-01.html does not open over the portfolio page as it should. Same for all the thumbnail-photos that are linked to single pages. Thanks.

    Mehmet S.
    Keymaster

    Hi,

    It works in a real server.

    Thanks

    oratorio
    Participant

    http://www.ombredor.com/BookCard/index.html

    I downloaded a fresh version of your theme and installed it on the server I use for many websites I bought on ThemForest. Can you tell me why your is not working?
    Again, the portfolio-item.html is NOT showing up when I click on one of the images in the portfolio section. The screen becomes blank. Thank you for your help.

    oratorio
    Participant

    When I try to open on my computer the portfolio-item-01.html from the downloaded files from ThemeForest here is the error message I get:

    file:///Volumes/…./BookCard/index.html/portfolio-item-01.htmlFailed to load resource: The requested URL was not found on this server.

    oratorio
    Participant

    http://www.ombredor.com/BookCard/index.html/portfolio-item-01.htmlFailed to load resource: the server responded with a status of 404 (Not found)

    Here is the error message I get on my server where I downloaded the files I got from ThemeForest when I try to click on the photo in the portfolio section.

    Mehmet S.
    Keymaster

    I will assign this thread to developer, he will respond to you.

    ahmetsali
    Keymaster

    Hi, your url shouldn’t contain “index.html”, try like this;

    http://www.ombredor.com/BookCard/#/portfolio/portfolio-item-01.html

    oratorio
    Participant

    I understand that, but what makes in your design/coding include index.html?
    I have NOT changed anything. I have NO choice, that’s what happens when I click on the link.
    So WHY does the link you designed includes index.html?
    Don’t you think the problem has to come from the ajax portion of the main.js file:

    // AJAX PORTFOLIO DETAILS
    var pActive;

    function showProjectDetails(url) {

    showLoader();

    var p = $(‘.p-overlay:not(.active)’).first();

    pActive = $(‘.p-overlay.active’);
    $( ‘#rm-container’ ).addClass( ‘rm-in rm-nodelay’ );

    if(pActive.length) {
    hideProjectDetails();
    }

    // ajax : fill data
    p.empty().load($.address.baseURL() + ‘/’ + url + ‘ .portfolio-single’, function() {

    // wait for images to be loaded
    p.imagesLoaded(function() {

    hideLoader();

    $(‘html’).addClass(‘p-overlay-on’);

    // responsive videos
    $(“.portfolio-single”).fitVids();

    if(Modernizr.csstransforms && Modernizr.csstransforms3d) { // modern browser
    p.removeClass(‘animated ‘+ outAnimation + ” ” + inAnimation ).addClass(‘animated ‘+ inAnimation).show();
    } else { //old browser
    p.fadeIn();
    }
    p.addClass(‘active’);

    });
    });
    }

    function hideProjectDetails(forever, safeClose) {

    $(“body”).scrollTop(0);

    // close completely by back link.
    if(forever) {
    pActive = $(‘.p-overlay.active’);

    $(‘html’).removeClass(‘p-overlay-on’);
    $( ‘#rm-container’ ).removeClass( ‘rm-in’ );

    if(!safeClose) {
    // remove detail url
    $.address.path(portfolioKeyword);
    }
    }

    pActive.removeClass(‘active’);

    if(Modernizr.csstransforms && Modernizr.csstransforms3d) { // modern browser
    pActive.removeClass(‘animated ‘+ inAnimation).addClass(‘animated ‘+ outAnimation);
    setTimeout(function() { pActive.hide().removeClass(outAnimation).empty(); } ,1010)
    } else { //old browser
    pActive.fadeOut().empty();
    }
    }

    function giveDetailUrl() {

    var address = $.address.value();
    var detailUrl;

    if (address.indexOf(“/”+ portfolioKeyword + “/”)!=-1 && address.length > portfolioKeyword.length + 2 ) {
    var total = address.length;
    detailUrl = address.slice(portfolioKeyword.length+2,total);
    } else {
    detailUrl = -1;
    }
    return detailUrl;
    }

    // ——————————

    // ——————————
    // AJAX LOADER
    function showLoader() {
    $(“.loader”).show();
    }
    function hideLoader() {
    $(“.loader”).hide();
    }
    // ——————————

    ahmetsali
    Keymaster

    I didn’t not include any “index.html” to any url in the template demo files. Also when i check your site through you url; portfolio pages works just fine, no index.html in the url.

    http://www.ombredor.com/BookCard/

    slaika
    Participant

    Hello,

    I have the same problem than Oratorio.

    What’s the process to delete “index.html” in the URL please?

    Thank you

    ahmetsali
    Keymaster

    @slaika

    just manually delete “index.html” form the url.

    IlaK
    Participant

    I also have the same problem…it doesnt work after downloading straight from themeforest…
    I have NOT changed anything.
    I have already posted on a forum but no response….
    can you tell me where I can “just manually delete “index.html” form the url.”
    where is it linking “index.html” ?

    ahmetsali
    Keymaster

    @IlaK

    Hi, just replied in your topic.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register