test
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • dbc021191 Friend
    #944515

    Hi there

    I have tried to edit the sorting field for quite some time now:/

    I want to remove the field "standard" and the opt group label which says "rejser", so the last field "Pris – numeric" is at same level as "Nyeste" and "Mest populære"

    Is there anyone who have worked with this before?

    Best regards
    Daniel


    1. Screen-Shot-2016-06-27-at-11.18.26
    Luna Garden Moderator
    #945407

    Hi,

    You can try this, go to file:

    modules\mod_jak2filter\helper.php

    Find and comment out these lines:

    $options[] = JHtml::_('select.option', '', JText::_('JDEFAULT'));
    if($group != $item->group_name) {
                    if($group != '') {
                        $options[] = JHtml::_('select.option', '</OPTGROUP>', $group);
                    }
                    $group = $item->group_name;
                    $options[] = JHtml::_('select.option', '<OPTGROUP>', $group);
                }

    dbc021191 Friend
    #945784

    Hi Luna

    You are my hero of the day !

    Do you now how I can dit the attribut "pris -numeric"?

    I am only interested in removing the auto generated "- numeric"

    Luna Garden Moderator
    #946007

    Just go to file:

    language\en-GB\en-GB.mod_jak2filter.ini

    Find

    XFIELD_ORDER_ALPHABETICAL="%s - Alphabetical"
    XFIELD_ORDER_REVERSE_ALPHABETICAL="%s - Reverse Alphabetical"
    XFIELD_ORDER_ASCENDING="%s - Numeric"
    XFIELD_ORDER_DESCENDING="%s - Descending"

    change to:

    XFIELD_ORDER_ALPHABETICAL="%s "
    XFIELD_ORDER_REVERSE_ALPHABETICAL="%s "
    XFIELD_ORDER_ASCENDING="%s "
    XFIELD_ORDER_DESCENDING="%s "

    dbc021191 Friend
    #946672

    Great !

    Another problem is that I have said It should order by default the newest first. I have did that in the menu attribute, the global setting and in the module.

    But it’s ordering it in a strange way, that doesn’t give sense :/

    Luna Garden Moderator
    #946876

    Yes, we’re aware of this issue in JA K2 Filter, its fixed and will be included in upcoming release version of this extension.

    In the meantime, you can use this package for temporary fix (BACKUP your site first)

    https://www.joomlart.com/content/uploads/sites/4/2016/06/com_jak2filter.zip

    dbc021191 Friend
    #950529

    Hi Luna

    It is working with the fil you send me.

    But there is one fail now, I can’t see and fill out the extra field that is associated with the choosen category.

    I have attached a picture where you can see there is nothing showing. But the extra field is still there and on all items on the front end, I can easily sort in them :/


    1. Screen-Shot-2016-07-15-at-19.43.17
    Luna Garden Moderator
    #951428

    We see the issue, our developer is looking into this and will get back to you.

    dbc021191 Friend
    #952918

    Hi Luna

    Do your developer have had time to look on this ?

    best regards
    Daniel

    Luna Garden Moderator
    #953292

    Hi,

    Please try this package I attached here & tell me the result.

    New version with this fix will be released this week.


    1. com_jak2filter-1.zip

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

This topic contains 9 replies, has 2 voices, and was last updated by  Luna Garden 8 years, 4 months ago.

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