Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #9112

    Hi,

    When you click on a portfolio entry and the entry opens on the same page you get the + – x controls. Clicking on the x closes the entry and switches back to overview.

    Is there a possibility that if you click on the sortable links, the entry also closes?

    A lot of people trying out our website are confused when they click on the sortable links and nothing happens because you look at the expanded entry and the sorting happens off screen. It’s a bit confusing.

    So if I click on a sortable button, I want to collapse the entry and go back to portfolio overview.

    Thank you.

    Stephane Van Eester

    #63517

    Ok,

    After some searching and coding I added the functionality myself. Maybe a suggestion for future updates. It makes the interaction more intuitive for novice users.

    Greetings,

    Stephane Van Eester

    #63518

    how did you do it?

    #63519

    Please share. This one’s on my list of to-dos as well. Thanks!

    #63520

    Well, it required some editing in avia.js. The function you need to adjust is $.fn.avia_ajax_portfolio. Here you have a controls.bind function. Basically this binds some behavior to the 3 control buttons.

    When you take a close look at this function, you will notice that the latest else if binds a function to the close button. Its this function you also need to bind to the sort buttons. And the sort buttons can be found with a selector: sortButtons = $(‘#js_sort_items a’, container);.

    Maybe this can be a feature request for next updates. Until then, this works for me.

    Greetings,

    Stephane Van Eester

    #63521

    Makes sense. Thanks for the tip.

    #63522

    Glad that you found a solution :)

    I’ll report this thread to Kriesi – maybe he’s interested to include your suggestion in the next update.

    #63523

    I would also be interested in this functionality.

    #63524

    I’m not clear on what the solution is.

    #63525

    Can anybody provide a step by step of exactly which codes goes where?

    #63526

    indeed.

    #63527

    I’d be happy to get a bit more precise tip. Please someone. help. ;)

    #63528
Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘Portfolio Single Entry’ is closed to new replies.