Форумы / Cotonti / Skins / Changing color of Tag Cloud

Where can we change the colors of the tag cloud?

pieter
#1 04.02.2009 20:02
Where can we change the colors of the tag cloud?

I tried to find it, but I did't found anything.
Can someone help me?
... can we help you ...
rayblo
#2 04.02.2009 20:18
Pieter have a look in plugin/tags/js

choose jquery.tagcloud.js
[b]www.dutchcotonti.com[/b]<br />
De plaats voor nederlandse ondersteuning voor Cotonti.<br />
The place for support for Cotonti in Dutch
Trustmaster
#3 04.02.2009 22:56
First see plugin/tags/js/set.js
May the Source be with you!
pieter
#4 05.02.2009 04:36
Would be nice if this was in the CSS.
So you can change it for each skin individually.
... can we help you ...
zboy812
#5 01.05.2009 03:58
call me crazy .....but, i am not finding any /js in the plugin/tags/ i do not see any .js files at all in the /tags folder. Am i going crazy? I just want to change the colors :)
Kingsley
#6 02.05.2009 07:59
change what colors? of the text..? well that you can change through the skinname.css file.
zboy812
#7 03.05.2009 15:06
How are you changing the classes (class="xs") in your plugin?

Is this forums DEAD???

No one can help me after so long?
Отредактировано: zboy812 (03.05.2009 16:36, 15 лет назад)
aiwass
#8 03.05.2009 17:26
.tag_cloud {
	display:block;
	border:0;
	padding:4px;
	text-align: justify;
}
.tag_cloud li {display: inline;}
.tag_cloud a {padding: 0 2px;}

.tag_cloud a.xs {font-size:10pt;color:#c4c4c4;}
.tag_cloud a.xs:hover {color:#000;}
.tag_cloud a.s {font-size:12pt;color:#336699;}
.tag_cloud a.s:hover {color:#000;}
.tag_cloud a.m {font-size:14pt;color:#A0522D;}
.tag_cloud a.m:hover {color:#000;}
.tag_cloud a.l {font-size:16pt;color:#B0C4DE;}
.tag_cloud a.l:hover {color:#000;}
.tag_cloud a.xl {font-size:18pt;color:#aad815;}
.tag_cloud a.xl:hover {color:#000;}

That code is located here : plugins/tags/style.css and if you change any of #XXXXXXX to another #XXXYYY then you'll get the change in your tag cloud. Are you with me ZBOY812 ??

If you want the css classes to be within your skins/sed-light/sed-light.css then you need to change the parameter in the file called tags.header.php which is located plugins/tags/tags.header.php and what you need to change is this
$out['compopup'] .= '<link rel="stylesheet" type="text/css" href="'.$cfg['plugins_dir'].'/tags/style.css" />';
to this :
$out['compopup'] .= '<link rel="stylesheet" type="text/css" href="skins/{PHP.skin}/{PHP.skin}.css" />';
or you can just write it out in plain like this :
$out['compopup'] .= '<link rel="stylesheet" type="text/css" href="skins/sed-light/sed-light.css" />';
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
zboy812
#9 04.05.2009 01:59
Thank you for your reply! I really apreciate it!

This css is already there in my /tags/style.css

But i dont see how this is going to help, as you can see in my source, my tags only have a class of:

class="xs">

there is no class class="s"> class="m"> class="l"> or class="xl">

It would be nice if there was a class to apply those nifty css to.

Here is my "tag cloud" source code from my website:



 <div class="tag_cloud"><a href="plug.php?e=tags&amp;a=pages&amp;t=adwords" class="xs">Adwords</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=community+website+videos" class="xs">Community Website Videos</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=embed+video+player" class="xs">Embed Video Player</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=google+business+listing" class="xs">Google Business Listing</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=google+marketing" class="xs">Google Marketing</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=mysql" class="xs">Mysql</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=php+programming" class="xs">Php Programming</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=search+engine+optimization" class="xs">Search Engine Optimization</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=seo" class="xs">Seo</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=video+website" class="xs">Video Website</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=website+design+company" class="xs">Website Design Company</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=website+marketing" class="xs">Website Marketing</a> <a href="plug.php?e=tags&amp;a=pages&amp;t=website+video" class="xs">Website Video</a> </div>
					</div>

Thanks again for your help it is much apreciated.


**UPDATE**

Ok i figured it out, the frequency is determined by the re-occurence of the tags. I guess i was only using the tags once. Thanks for your help everyone.
Отредактировано: zboy812 (04.05.2009 02:46, 15 лет назад)
aiwass
#10 04.05.2009 23:24
Zboy812 :
If you want to see a really huge Tagcloud with all classes displayed, then take a look here : http://www.megamind.se/plug.php?e=tags&a=pages

Feel free to use a reference !
Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com