国外设计欣赏网站 - DOOOOR.com

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,微信登陆

搜索

[Drupal模块] drupal6/7标签云模块tagadelic模块,cumulus模块,Taxonomycloud模块

[复制链接]
发表于 1-27-2012 03:04 | 显示全部楼层 |阅读模式
Tagadelic标签云模块可以为Drupal站点的标签生成一个区块,如果再结合Cumulus模块一起使用的话,则可以实现标签云的动态显示;
. p, e" n! k; q. M. y1 E) L/ @7 \) h! ^  P# b$ [! S
Tagadelic的设置和使用都非常简单,如果你不习惯英语,可以在官方下载一个汉化包,这样就更方便了。
5 w' Q3 ]6 u: J$ O( E; Z) Z. m4 a, j8 p7 A: x
下载地址:http://drupal.org/project/tagadelic
, K0 J2 l  F! O$ n7 D3 u; f% P5 L

7 Q2 V( z+ k" |1 e( l$ m! C9 k

Tagadelic is the module to generates tagclouds: pages with weighted tags. The more often a tag is used, the bigger it gets.

It is simple in usage, with only very few settings but complex and heavy lifting done "under the hood". It tries to take most situations in consideration: privacy-settings, permissions to access tags and content, heavy load, touch caching, pressflow and so forth.

However, if your case is not met, Tagadelic offers a simple API to program against. This API lets you build tagclouds from any database-query that returns a list of things with a count, like a cloud of usernames based on the amount of comments they made.

Tagadelic offers various ways to add terms and vocabularies in one tag cloud. By using the urls, you can create your own clouds pages., [. f3 K. [+ q6 e
It also offers a sideblock for each taxonomy.

Issues, Bugs and Feature requests on Github

Issues, feature-requests and bugreports should be posted and tracked on Github. Issues posted on Drupal.org will be ignored and closed.

Developers and Drupal 7 version

Feel free to fork me on github. Github is the place where we develop (with timely synchronisations to Drupal CVS)
1 G( d4 T- k( r6 hThe Drupal7 branch is found there as well. It is reported as stable and usable, but needs refactoring and better testing until being released on drupal.org. Untill we have trusted real world tests or an entirely passing testsuite, I will not consider releasing a beta or even alpha.

Related modulesDonations

If you like this module please consider a donation in bitcoins at1MRoFaVLPWbrzFmfinotmDAzRPMnAhAa9Q, or Flattr.

9 Y6 f' R3 Z; ^) G: D, r0 ]7 f
----------------------------------------------------------------------------------------------------
4 O6 }# P8 a( [/ u  Y/ i" v

下面是关于Tagadelic模块的使用的一个drupal教程:
: R: W  m0 U* [1、首先,Tagadelic模块是跟分类(即Taxonomy)相关的,有了分类才有Tagadelic模块。7 _" w& w  d; E6 U0 J5 _
2、其次,写文章的时候一定要选择这个文章的分类,只有进入分类的文章,才能被标签搜索到。- {: x/ H. O7 Y: H. @7 `
3、下图是配置情况:位置在 管理 》站点配置 》Tagadelic configuration

“Tagadelic sort order:”指的是标签的排列方式。" [% @! |) o3 i
“Tagadelic sort order:”指的是每页标签的显示数目。; m( n  C( i. u- d* r% L, h4 |
“Number of levels:”标签的最不受欢迎和最受欢迎的等级,这个等级只是一个显示效果的不同,由css控制。

1 ]3 u8 ~  o; z
----------------------------------------------------------------------------------------------------

* C  h# h' y: C% x6 Y7 K

) K6 y3 D# L; t6 L# p! R9 D
1tagadelic

# W2 s* S$ U" H3 G
这是最原始的标签云了
2 e6 ]0 P8 R5 f, i) m% A! [/ d
启用模块后,生成若干区块,分别对应taxonomy分类 及一个已发表的

2 G8 U7 F, B+ U
编辑区块可以设置显示数量
  T2 V) _2 {1 u/ F) o( V! q
4 C+ S7 L9 V( H9 B/ d
导航到站点设置,可以设置其他详细

3 G  w; N- m  S  \# s# T5 o) H
  F# u) k+ T( S$ G
2、tagadeliccumulus
Cumulustagadelic为基础
首先得到http://pratul.in/files/cumulus.js 下载cumulus.js去,然后放在cumulus文件夹中,再启用模块。
模块启用后生成一个区块
配置区块,可以控制显示那些Vocabulary中的terms,设置显示标签的数量,区块的大小,背景色,字体的颜色等。

6 B/ C1 c* b' \
导航到站点设置,可以清空其缓存

8 k6 g. `4 ]8 C1 I# A. Q2 q* V) i9 R# P, k
3、Taxonomycloud
启动后生成区块
$ x* U; ^" `3 c5 i
导航到站点设置,设置taggly
可以设置背景色,文本颜色,区块大小,及选择哪个Vocabulary

$ Z, g) ^7 ^5 a" c- H% g8 s( X1 i' P8 O9 A
; V# ]; n6 u* Y1 u


# ~! B: ~$ }- q! q* b% e


& p( I2 {. i! v' c* W4 u
4 w1 c- f. a" v0 t: [
5 }6 ?4 {! X# v$ I4 \( A

|2011-2026-版权声明|平台(网站)公约|DOOOOR 设计网 ( 吉ICP备2022003869号 )

GMT+8, 2-15-2025 15:01 , Processed in 0.543261 second(s), 430 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表