Module Tags de Flexicontent

More
12 years 5 months ago #25585 by Pierot
Bonjour,

Le module de tags affiche au total une dixaine de tags.
Par contre, il affiche toujours les 10 premiers tags de la liste en ordre alphabétique.

Existe t'il un moyen de les afficher dans un mode aléatoire ?

Merci d'avance

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

More
12 years 5 months ago #25586 by ggppdk
Replied by ggppdk on topic Module Tags de Flexicontent
In the helper file of the module ...
Replace:
' ORDER BY no DESC'
with
' ORDER BY RAND()'


ORDER BY RAND() will cause no performance problem if you have less than 5000 tags


-- 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 #25587 by Pierot
Replied by Pierot on topic Module Tags de Flexicontent
thank you very much ggppdk !

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

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