ordre d'affichage item-categorie chiffres apres les lettres

More
12 years 10 months ago #35222 by tonnick
Hello !

Sorry to came back with this post, but I migrated with latest flexicontent version (FLEXIcontent version 2.0.1 (r1659)) but since then, I cannot make same effect. I guess that modification has been changed :/

would you help me in this new version ? thx !

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

More
12 years 10 months ago #35233 by ggppdk
Hello,

it should work,

what about the hack does not work?

1. the option is not respected in frontend ordering
2. the option is not show in category edit form
3. the option does not show to frontend user to select it ?you want this to


-- 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 review. Thanks!

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

More
12 years 10 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
12 years 10 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 review. Thanks!

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

More
12 years 10 months ago #35241 by tonnick
ok it works ! great !!! thx !

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

More
12 years 10 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 review. Thanks!

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

More
12 years 10 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
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
Save