First of all, thanks for this nice module. I really like it and I think I'm going to use it a lot. However, I would like to be able to control the way the tags are ordered in the tag cloud without changing the code. The attached patch implements hook_settings, and allows one of the following sort orders to be set:

1. by weight, ascending
2. by weight, descending
3. by title, ascending (default, as it is now)
4. by title, descending
5. random

CommentFileSizeAuthor
tagadelic_order.patch1.63 KBDriesK

Comments

Bèr Kessels’s picture

Great!! I had this feature planned for next week :) It saves me a lot of work.

Though I had it in mind to do it in-url:
/tagadelic/chuck/4,5,7/alpha/desc (im actually working on a /tagadelic/Foo+Bar (to list all entries in foo AND bar))

But Ill leave that url magic for later.

Bèr Kessels’s picture

Status: Needs review » Fixed

Committed, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)