Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • manwlios Friend
    #731789

    Hello (again!),

    i want to display the featured items first but its not working.

    I set the Featured first option in every possible place (Menu item, module, component settings, even K2 category settings) but it dont want to work!

    Please have a look. Thanks in advance 🙂

    Page with sorting problem: http://doctors.readmore.gr/index.php/eidikotites (the featured item is the blue one)

    Luna Garden Moderator
    #752775

    Hi,

    The solutions is posted here: http://id.joomlart.com/forums/topic/jak2filter-ordering-not-working/#post-706156

    Kindly follow the instruction and tell me the results.

    manwlios Friend
    #752962

    I’ve added the code but the featured first ordering dont work. What else can i try?

    But even if it worked what will happen on the next update? Are you going to implement the fix on the next release?

    Luna Garden Moderator
    #753025

    Hi,

    Please keep the fix I told you before and add additional code as below:
    Go to file: componentscom_jak2filtermodelsitemlist.php
    find for:

    case 'featured' :
    $orderby['featured'] = 'i.featured ASC, i.created DESC';
    break;

    Change to:

    case 'featured' :
    $orderby['featured'] = 'i.featured DESC, i.created DESC';
    break;

    <blockquote>But even if it worked what will happen on the next update? Are you going to implement the fix on the next release? </blockquote>
    Yes, of course. If it was our bug, we’ll update for upcoming release version.

    manwlios Friend
    #753056

    Nice, now it works fine 🙂 thank for the support.

    Take care

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

This topic contains 5 replies, has 2 voices, and was last updated by  manwlios 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum