ordre d'affichage item-categorie chiffres apres les lettres

More
11 years 7 months ago #35235 by tonnick
first option :

the option is not respected in frontend ordering

but maybe I didn't put the code on right place :

components\com_flexicontent\models\category.php

Line 1372 :
case 'alias' :
$filter_order = 'i.alias';
$filter_order_dir = 'ASC';
break;

administrator\components\com_flexicontent\models\forms\category.xml

line 273:
<option value="alias">Alias</option>


code changed quite a lot so maybe I didn't place it on right palce

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #35237 by ggppdk
Please restore file category.php
Code:
case 'alias' : $filter_order = 'i.alias'; $filter_order_dir = 'ASC'; break;
must be placed in file flexicontent.helper.php

in function buildItemOrderBy()


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #35241 by tonnick
ok it works ! great !!! thx !

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #35243 by ggppdk
Hello,

-- The ordering was moved there as it became common to all views/modules

e.g. to use in universal content module, you only need to edit the mod_flexicontent.xml

A note:
I am not sure that adding ordering by alias is worth it

it is rather uncommon, you said you use it because you want the items that have titles with numbers placed at end , so you enter a custom alias?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #35244 by tonnick
yes, as I have only few items beginning with number, just adding zz before alias, and it goes at the end of the list ;)

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.411 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline