Hi,
Cumulus is a really nice stuff - attractive for users, and still practical, as all tag clouds.
But Cumulus loses its potential by its present simplicity.
What I mean:
Cumulus is just another cloud type, right? So maybe it should become another Views'
display style? Then we could use it for hundreds of ways because of Views' filters,
sorting, arguments, and so on... Now I use all my tag clouds filtering them for the last
two weeks, presenting to users only present topics - I can't do it with Cumulus... :/
So, maybe Cumulus should go to the Views' bright side of Drupal life? :]
Szy.
--
Warszawa | Fjords of Norway
Comment | File | Size | Author |
---|---|---|---|
#44 | 3terms.png | 42.27 KB | fredo_m |
#11 | cumulus_views-integration_11.patch | 27.86 KB | stBorchert |
#7 | cumulus_views-integration_7.patch | 27.87 KB | stBorchert |
Comments
Comment #1
szy CreditAttribution: szy commentedComment #2
Ivo.Radulovski CreditAttribution: Ivo.Radulovski commentedexactly! This would open a new dimension for cumulus ;=)
Comment #3
bcarlson33 CreditAttribution: bcarlson33 commentedViews support would be a huge improvement on an already excellent module.
Comment #4
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedsubscribing. I like this idea
Comment #5
metabits CreditAttribution: metabits commentedSubscribing...
It be really cool to have it as a views style so we could make cumulus clouds of any content displayed by a view, not just tags. Just the way Views Cloud works but with Cumulus 3D effect.
Comment #6
catorghans CreditAttribution: catorghans commentedWho would be able to build this? I might have budget for this.
Email me if you are interested.
Comment #7
stBorchertHere's a complete rewrite of cumulus to make this work as a Views style plugin.
I've created 2 example views to show how to build clouds based on nodes or tags. The tag cloud required the additional module term_node_count to add a views field that calculates the count of nodes per term (you can use views_customfield also).
Weight calculation of the cloud items is based on the sort order or on a special field you can select in the style options.
View "node_cloud": http://drupalbin.com/12993
View "tag_cloud": http://drupalbin.com/12994
Comment #8
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis gives "Page not found" error: View "node_cloud": http://drupalbin.com/12993
Comment #9
stBorchertStrange, the site is working for me but not for others.
Try http://drupalbin.com/12995 instead.
Comment #10
aschiwi CreditAttribution: aschiwi commentedI successfully imported the view in #9 and get a cumulus as expected. This is great, thank you stBorchert :-)
I also managed to successfully change the settings and use views filters. I created a small block for a sidebar and it's looking pretty good!
Comment #11
stBorchertUhm, I forgot a single "s" in the template that caused transparency to fail.
Now with working transparency.
Comment #12
aschiwi CreditAttribution: aschiwi commentedI confirm transparency works now.
Comment #13
catorghans CreditAttribution: catorghans commentedGreat rewrite.
Is it now still possible to make a cumulus tag cloud with weighted tags?
Can't find a way to let views show such a weight.
Comment #14
stBorchertYes, there is a way: look at my second example view. I've used the module term_node_count to add a views field the cloud weighting depends on.
Otherwise you can configure the plugin to use general sorting as calculation base for item weights or any other field (that returns reasonable numeric values).
Comment #15
catorghans CreditAttribution: catorghans commentedThanks!
Yes, I found the plugin settings, but needed the actual "term_node_count".
Comment #16
nirad CreditAttribution: nirad commentedInstalled this and it worked great... only I can't get it to do what I want, and I'm not sure if it's possible. I'd like to have cloud blocks that show the top tags for each category on my site (i.e. "Top Tags in Arts," "Top Tags in Entertainment" blocks on their respective pages). But as far as I can tell, there is no way to relate the free tagging vocabulary to the separate category vocabulary. Perhaps this is a bit out of scope for this issue queue, but anyone know a way to accomplish this?
Comment #17
metabits CreditAttribution: metabits commentedThanks to all of you for working on a solution for Views...
I know this might sound very silly but, how can I use this patch? I have no idea how to install this to test the module for Views...
psc
Comment #18
stBorchert@psc: Applying patches.
Comment #19
aschiwi CreditAttribution: aschiwi commentedIs this ready to be RTBC'd?
Comment #20
metabits CreditAttribution: metabits commented@stBorchert: Thank you. I think this is still to much for my little knwoledge, so I will wait this becomes in the module to test it. Thanks again!
Comment #21
LeDucDuBleuet CreditAttribution: LeDucDuBleuet commentedThis patch works like a real charm!
Thanks stBorchert!
Comment #22
karengrey CreditAttribution: karengrey commentedHi,
Ive applied the patch, but when trying to import your tag cloud view, i keep getting the error that the cumulus style plugin is missing.
I checked the cumulus module file and the patch worked fine. In views itself it shows the style 'cloud' but not 'cumulus'
Am i forgetting to do something that isnt explained in this thread?
Any help will be much appreciated! :)
Comment #23
stBorchert@Karen: did you clear your caches after applying the patch?
I've tested it right now and it works for me.
Comment #24
karengrey CreditAttribution: karengrey commentedOk i started from scratch and reapplied the patch (it turned out i only patched the module file originally)
I am using tortoise SVN to patch and it didnt create the three extra files itself so i had to do it manually.
Can i confirm the filenames:
cumulus.views.inc
views_cumulus_style_plugin.inc
views-view-cumulus.tpl.php
Do these new files stay in this module directory?
Your view imported fine now, but there is no 3D cloud showing, just plain text of terms.
Is there anything else i have missed to do?
Comment #25
stBorchertDid you install the javascript? http://pratul.in/files/cumulus.js is needed (and swftools as far as I remember).
Comment #26
karengrey CreditAttribution: karengrey commentedyep done all that. the module worked perfectly before i changed it to a views style. thats why im a bit baffled!
Comment #27
chansion.vc CreditAttribution: chansion.vc commentedGood Patch ~I like it.
But I can't edit The swf file.When I change the swf file ..
http://www.roytanck.com/2008/08/04/how-to-add-more-characters-to-wp-cumu...
no dispaly.
Some people, like me,need change the swf file ,becouse the language like chinese Korean and ...
If the cumulus module and this views&cumulus patch , support the unicode version cumulus -----well done!
http://www.roytanck.com/2009/11/27/help-me-test-wp-cumulus-unicode-support/
The new unicode version swf file very small only 4.6kb. and do not need add more characters.
Now, the unicode version can't lik the url. But WP OK.......Roy test it so long time. Do not know how many time need..
Sorry for my english.
Good day~
Comment #28
AntiNSA CreditAttribution: AntiNSA commentedsubscribe... need unicode support
Comment #29
leigen CreditAttribution: leigen commentedI'd like to suggest that the module be rewritten to avoid Flash technology. The integration of Flash with other video technologoes is particularly difficult as a result of Adobe policies. The wonderful new Apple iPads will not even display this module dynamically at all. The support posts herein show many people having trouble configuraing the module to work because of the Flash dependency.
Comment #30
CinemaSaville CreditAttribution: CinemaSaville commentedI completely agree with #29. Hesitant to put any Flash on my site at all these days. However would love to have this module and functionality
Comment #31
aschiwi CreditAttribution: aschiwi commentedwell cumulus IS flash, it's not specific to drupal either. you guys could put your feature requests into the other tag cloud modules for drupal.
Comment #32
AntiNSA CreditAttribution: AntiNSA commentedYou guys are crazy. IPAD is a niche market. Flash owns som much world market share. You would only be hurting yourself by trying to cripple flash. Google tablet will rock ipads anyways. Tablets are old news anyways...
Comment #33
leigen CreditAttribution: leigen commentedI personally hope that you are right, but I am amazed at how many iPads have been sold already and I see many people using them for web browsing. But Apple has a way of setting a trend (standard) like Microsoft. For all I know, Adobe may want too high a license fee for Apple and they didn't support Flash for that reason. But there are many things weak about Flash--especially the length of the file and the creation process which is very inefficient. But there is a high percentage installed base, but Apple could change that -- especially if Microsoft follows apple, And what will Google do?
Comment #34
stBorchert@all: this issue is not about generalizing the module cumulus (and removing flash dependency), its about making cumulus a views style plugin.
thanks,
Stefan
Comment #35
Kars-T CreditAttribution: Kars-T commented#347883 by stBorchert | aschiwi, catorghans, psc: Added Cumulus as a Views' style?.
Hi
from today I am happy to announce that I am co-maintainer of this project. I started a 6.x--2 Branch for the Views version of this module. :)
Comment #37
bsarchive CreditAttribution: bsarchive commentedGreat patch/module but I'm having problems with links in the swf. I'm using the views style plugin on a term view but the links on the term names (there are about 25 terms in the view) always go to one particular term, the one with the highest term ID as it happens.
Anyone got any ideas?
Comment #38
zydu CreditAttribution: zydu commentedHaving exactly the same problem as in #37.
Great patch anyways!
EDIT:
I didn't look at the examples in the first place. That helped.
Link has to be built manually so:
1. Add term id as a field
2. Add term as second field and click "Output this field as a link" with the "Link path" set to taxonomy/term/[tid]
Cheers
Comment #39
aschiwi CreditAttribution: aschiwi commentedKars-T: you mentioned you started a 6.x--2 Branch for this. Where are you keeping it? Would like to help test this.
Comment #40
mariomc CreditAttribution: mariomc commentedI'd like to test it as well.
I think I could help around with some ideas!
Comment #41
Kars-T CreditAttribution: Kars-T commentedSad that I didn't see this before. Sorry!
The current status from the sprint camp hannover is that I still have to increase the views integration so it's easier to really implement any link you can build. But thats not easy as it sound due to the structure of data cumulus needs. I have to try different things and look for a AS3 programmer to fix all this.
Please stay tuned :)
Comment #42
kenorb CreditAttribution: kenorb commentedKars-T:
- more than half an year passed, where is this feature?
- where is 2.x branch available?
- can you publish at least dev version on the project page?
Thanks.
Similar issue:
#338038: How do I create multiple instances of this block?
#368290: Tagadelic views integration
Comment #43
Kars-T CreditAttribution: Kars-T commented- more than half an year passed, where is this feature?
Feel free to add it any time :P
- where is 2.x branch available?
- can you publish at least dev version on the project page?
Nope it is not stable and shouldn't be released!
The main problem with this is that the swf should be rewritten and this keeps at least currently away from the project.
I spoke to stefan a lot about this and the main problem is that if you want a realy wide views support you can't use his solution. It will work in some cases but sadly not always. Thats why I did not directly could use his patch and the issue was solved.
I believe there where newer issues and at least my "RFC" Issue so I am closing this again.
Comment #44
fredo_m CreditAttribution: fredo_m commentedGreat patch, I love to see cumulus in views!
I'm trying to modify the code in a way it takes duplicate terms of a field as weight ( and doesn't show the duplicate terms in the cloud) but I'm really stuck since the code cumulus uses is rather complex.
Has anyone tried that before and may share his/her experience here?
(see screenshot, that should only be 3 terms.. :)
Comment #45
mrsbean CreditAttribution: mrsbean commentedThe Patch doesn't work for the new Version 6.x-1.5 of cumulus.
When I try to patch, this error occurs:
Can you please update it?
Comment #45.0
szy CreditAttribution: szy commentedSignature added.