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

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
Freemann
Posts: 14
Joined: Fri 27. Jul 2007, 16:17

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

Post 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 ;))
Last edited by Freemann on Thu 2. Aug 2007, 23:57, edited 5 times in total.
Goran
Posts: 81
Joined: Thu 27. Nov 2003, 11:43
Location: Zagreb, Croatia
Contact:

Post by Goran »

Great idea Freeman, but unfortunately not work for me...nothing displayed using {TAG_CLOUD} tag(clean 1.3.3 installation). :?
Freemann
Posts: 14
Joined: Fri 27. Jul 2007, 16:17

Post 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 ;)
Pappnase

Post 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:
Freemann
Posts: 14
Joined: Fri 27. Jul 2007, 16:17

Post 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
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post by jsw_nz »

I think this is a great idea - kind of a web2.0 standard....
- i hope OliG incorporates into core - !
cheers
(-john-) :)
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Post by phalancs »

adapted it for 1.2.6 . if anyones requests it i will post here.

thanx for sharing
2008
Post Reply