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


    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



    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.


    Stephane Van Eester


    how did you do it?


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


    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.


    Stephane Van Eester


    Makes sense. Thanks for the tip.


    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.


    I would also be interested in this functionality.


    I’m not clear on what the solution is.


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




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



    See (Purchase code hidden if logged out) -on-sortable-filters



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

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