Page 1 of 1

::{TAG_CLOUD}:: >= 1.3.3(?) (3-8-2007 updated)

Posted: Thu 2. Aug 2007, 15:40
by Freemann
oke I had what time and build "my own" RT: TAG_CLOUD

With a couple of hours i'm on vacation so i can give no (or a little bit) of comment on it. Here is the code:

Needed to work:
- PHPWCMS version is: 1.3.3
- will only been showed when the keyword field is filled with "keywords"/tags that are seperated by spaces " ".
Example:
Image
- an article with a search content part:
Image

download:
tag_cloud.php
place the file in "/template/inc_script/frontend_render" :)

examples:
Image
Image

I hope somebody can use it and i'm its by the copyright rules :)

Things to do:
- make it a function
- make the color,max font size,min font size a part of the RT
(if somebody has some sparetime, don't hesitate to make is possible ;))

Posted: Thu 2. Aug 2007, 16:31
by Goran
Great idea Freeman, but unfortunately not work for me...nothing displayed using {TAG_CLOUD} tag(clean 1.3.3 installation). :?

Posted: Thu 2. Aug 2007, 16:42
by Freemann
Goran wrote:Great idea Freemann, but unfortunately not work for me...nothing displayed using {TAG_CLOUD} tag(clean 1.3.3 installation). :?
Oeps i forgot; you need to fill the keywords field in a article.
changed it in the opening post by "needed to work"

A have maded a small code change. Please replace the code by the new code from the openingspost.

I hope its working now :)

let me no ;)

Posted: Thu 2. Aug 2007, 17:32
by Pappnase
hello

nice hack,

but it would be nicer if nobody needs to edit system files.

how about to create an script wich could be placed under the frontend_render folder ? :wink:

Posted: Thu 2. Aug 2007, 17:40
by Freemann
Pappnase wrote:hello

nice hack,

but it would be nicer if nobody needs to edit system files.

how about to create an script wich could be placed under the frontend_render folder ? :wink:
Thats a nice one!

I'm pretty new in PHPwcms and dit not now about that folder :)

That a "to do" when i'm back from my vacation :) In the mean while when you're bored (or somebody else);):D

Posted: Sun 26. Aug 2007, 06:21
by jsw_nz
I think this is a great idea - kind of a web2.0 standard....
- i hope OliG incorporates into core - !
cheers
(-john-) :)

Posted: Thu 6. Sep 2007, 19:58
by phalancs
adapted it for 1.2.6 . if anyones requests it i will post here.

thanx for sharing