ordre d'affichage item-categorie chiffres apres les lettres

More
12 years 5 months ago #25957 by tonnick
Bonjour,

Dans l'affichage des items de ma categorie, les items commencant par des chiffres s'affichent en premier puis les textes en ordre alphabetique..

Hors, je souhaiterai qu'ils s'affichent en dernier.

c'est à dire :
Item 1
Item 2
Item 2
1 Item
2 Item
etc
Y a t il des options a modifier ? un code a modifier pour cela ?

merci !

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

More
12 years 5 months ago #25975 by ggppdk
Ordering is done by SQL Query with is then limited to e.g. 10 to get 10 items per category page.

So what you ask is not trivial

1. Maybe it is possible to do something via hacking he SQL query of category view to create a TEXT manipulated column of category title and then order by it

2. Another alternative is to hack FLEXIcontent code extensively to retrieve ALL category items, do custom ordering in PHP , and then implement some custom category pagination

Number 2, i strongly discourage to DO,

About number 1, you could ask a freelancer MySQL developer

Best Regards


-- 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
12 years 5 months ago #25977 by tonnick
ok I'll try first option. On which file did you put the queries in order to try to modify it ?

thx

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

More
12 years 5 months ago #25978 by ggppdk
Please note that we discourage hacking flexicontent core code, as you will have difficulties upgrading, since you will have to reapply your customizations

The file to change is the frontend category model (Joomla architecture)

components/com_flexicontent/models/category.php


-- 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
12 years 5 months ago #25979 by tonnick
queries are on category.php ?

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

More
12 years 5 months ago #25980 by ggppdk
yes


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.370 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