Hi! do u have any plans for d7?

CommentFileSizeAuthor
#44 cloud (2).txt12.63 KBAnonymous (not verified)
#42 i1042554.png46.91 KBattiks
#36 nodes_cloud.view_.txt7.01 KBattiks
#25 views_cloud-d7-upgrade_1042554-25.patch843 bytesWorldFallz
#21 d7-1042554-21.patch843 byteswapnik
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rj-dupe-1’s picture

subscribe

likewhoa’s picture

Title: d7 version? » Port to Drupal 7
Category: feature » task

subscribing to this.

danielnolde’s picture

Dear maintainers, how is the timeframe/planning for a D7 port of views cloud?
Are you working on it, do you need help?

OFF’s picture

Subscribe

poprocks’s picture

subscribe

pcsupport’s picture

Subscribe

chillihot’s picture

subscribe

erdembey’s picture

subscribe

chevron’s picture

subscribe

lesleyfernandes’s picture

subscribing

erdembey’s picture

Title: Port to Drupal 7 » Port Views Cloud to Drupal 7

Renaming for better tracking ...

izus’s picture

Subscribing

rogical’s picture

+1

Jerome F’s picture

subscribe

AlexeyB’s picture

Subscribe!

StevenWill’s picture

subscribing

Tsubo’s picture

subscribe

jack_tux’s picture

subcribe

elgandoz’s picture

Subbing. D7 really need it.

basicmagic.net’s picture

subscribe

wapnik’s picture

Status: Active » Needs review
FileSize
843 bytes

Initial patch against 6.x-1.x branch.

goldlilys’s picture

Subscribing

cees.vanegmond’s picture

Subscribing

Niubbo75’s picture

Subscribing

WorldFallz’s picture

For some reason the patch in #21 didn't attach properly. I'm reattaching the same patch.

@wapnik -- did you test this? are you saying that you only have to change the views api designation to completely upgrade to a d7 version?

cees.vanegmond’s picture

Hi,

Against 6.x-1.2 I'm getting:
patch.exe --binary 0 patching file views_cloud.info
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file views_cloud.info.rej
patching file views_cloud.module
Hunk #1 succeeded at 7 (offset 1 line).

D7 modules says:
This version is not compatible with Drupal 7.x and should be replaced.

wapnik’s picture

@WorldFallz: yes, it's working for me. I also used a patch from #893054: Problem with field rewrite and nid, which is not yet in.

neurojavi’s picture

Subscribing

esculcar’s picture

Subscribing

rodrigoaguilera’s picture

submarine

causalloop’s picture

I'm getting:

Checking patch views_cloud.info...
error: while searching for:
description = Allows views and summaries to be displayed as clouds of weighted items.
dependencies[] = views
package = Views
core = 6.x

error: patch failed: views_cloud.info:2
error: views_cloud.info: patch does not apply
Checking patch views_cloud.module...
shiroitatsu’s picture

sub...

AniaMi’s picture

subs.

Anonymous’s picture

subscribe...

wapnik’s picture

or follow?

attiks’s picture

FileSize
7.01 KB

FYI: in Drupal 7 you can do this with just views as well since it has support for aggregation, attached an exported view, the only thing you need is some css like

span.count-1 {font-size: 0.7em;}
span.count-2 {font-size: 0.9em;}
span.count-3 {font-size: 1.1em;}
span.count-4 {font-size: 1.3em;}
span.count-5 {font-size: 1.5em;}
span.count-6 {font-size: 1.7em;}
span.count-7 {font-size: 1.9em;}
Anonymous’s picture

@attiks
i've import your view and add the css to my theme.css but it doesn't work.
do i have to create a css class in views?

Anonymous’s picture

i've added the css to the views.css and now it works.

thanks for that

regards

konsul

mgifford’s picture

@attiks @konsul - So you're suggesting we just close this issue (say won't fix), post a diff to the views.css file and point folks to doing it that way.

Perhaps it is something that should be contributed back to Views so it can come bundled with the next version.

If the maintainers are keen about putting out a D7 version, great. Not sure that Views Cloud does more than what this CSS does.

attiks’s picture

@mgifford: i just posted my work around so other people might benefit, it's working for me, but i doubt if it's a general solution for all situations.

Anonymous’s picture

@attiks

the only problem with this solution is that if a user tags 1000 contents with "whatever" i have to write 1000 times span.count-x...if i dont the default font-size is used each time a count isnt determined via css.

is it possible ...

1. to assign lets say count 1-10 to fontsize 1em, 11-30 to 1.2em and so on?

2. to determine 10 default fontsizes, count the number of all tags (on all nodes from logged in user) and convert them to %...like span.count-(1-10%), (11-20%) and so on?

attiks’s picture

FileSize
46.91 KB

@konsul, that's true and there's no clean solution, you can always try to add a field of type Global: Math Expression and the calculation and use it in the rewrite. But it means you have to now the max number of tags, and divide the count by the total.

i1042554.png

A proper solution is to use a custom field handler that returns the total number of tags so you can use it to do the calculation, it means an extra query, but doing this type of calculation in one query will be difficult.

attiks’s picture

I created a sandbox project (http://drupal.org/sandbox/attiks/1451746) containing a views field that returns that max count so you can use Math Expressions like: (([title] / [dummycount]) * 6) + 1 // Classes named as in #36

Anonymous’s picture

FileSize
12.63 KB

@ all...i've got it to work with attiks sandbox project and the following view as an example.

many thanks to attiks...i've looked for a good solution for a long time

brunodbo’s picture

I tried cloning the repo on http://drupal.org/sandbox/attiks/1451746, but it only contains a README.txt file. Or am I missing something?

attiks’s picture

you did: git clone --branch 7.x-1.x attiks@git.drupal.org:sandbox/attiks/1451746.git views_dummy_count

brunodbo’s picture

Great, thanks!

brunodbo’s picture

Just wanted to confirm that this solution (attiks' sandbox + konsul's view) works great, thanks guys!

jimmyko’s picture

I tried git clone --branch 7.x-1.x attiks@git.drupal.org:sandbox/attiks/1451746.git views_dummy_count. It asked me for the password...

Please ignore it :P I found what's wrong I have.
The command is: git clone --branch 7.x-1.x [username_in_Drupal]@git.drupal.org:sandbox/attiks/1451746.git views_dummy_count

attiks’s picture

Or use git clone --branch 7.x-1.x http://git.drupal.org/sandbox/attiks/1451746.git views_dummy_count

Yet Another User’s picture

Hi Everyone,

I need a View Cloud for Drupal 7 for my site too.

Can anyone give me a tar ball? They have only released it for D6 on their page.

Please help?

Leeteq’s picture

FYI: there is a D7 -dev release of tagadelic_views now.
http://drupal.org/project/tagadelic_views

OFF’s picture

Issue summary: View changes

Do we have working version?

OFF’s picture

Thanks for #36

This views work fine.

But how about perfomance?