Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Hello,
New challenge with my Dotclear experience. I have review category that i would like to present in form of alphabetical list like in this example:
0-1 A B C D.... X Y Z
http://dev.dotclear.org/code/2.2/classes.html
I would like this category to be sorted by date as it is now, but also to give readers this option at the top, if they want to chose alphabetically.
Anyone did it before and could help me? Glad for any answer or clue.
Hors ligne
How do you sort categories in alphabetical order ?
Je préfère être atteint de parkinson plutôt qu'alzheimer : je prefère renverser un peu de ma bière plutôt qu'oublier de la boire !
Présentez vos photos simplement avec Phyxo !
Hors ligne
I believe it is the posts from a particular category that jarekb wants to sort. It is possible with attribute sortby in <tp:Entries> loop ;)
Hors ligne
I guess, I must follow Philippe's instructions, i.e. to edit categry.tpl, find <tp:Entries> and add something there with "if" instruction. Do the alphabetical index appear automatically then?
Hors ligne
No, adding a sortby attribute will only sort entries as required, but the alphabetical index will not appear by itself.
However, the team used such a plugin for Dotaddict, but it was long ago. I will ask if somebody remembers what needed to be done.
Hors ligne
Hello Philippe,
Any feedback received from Dotaddict team on this plugin?
If not, i would need something to let the user choose, how he want to sort entries (by date, by alphabet, by author etc.).
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).