473,395 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Very simple tag cloud help please

hi

I have a bunch of video categories, and I'm trying to make a simple tag cloud of the available categories (with the larger sized category having the most videos in it)

This code already generates a loop of all the categories, I just can't workout how to have this also lookup the number of entries in each category and then spit that out as an array (trying to use this code for the tag cloud: http://www.v-nessa.net/2007/02/12/how-to-make-a-sexy-tag-cloud/)

Expand|Select|Wrap|Line Numbers
  1.     /* FIND CATEGORIES */
  2.     if (!is_array($categories = explode("|", $CONF["VIDEO_CATEGORIES"]))) $categories = array();
  3.     foreach($categories as $catName) $categoriesArray[] = array("category.name" => $catName);
  4.     $tpl -> Loop("categories", $categoriesArray);
tia
Jul 9 '07 #1
0 1193

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Michael Champagne | last post by:
Does anyone have any examples or links to examples of generating a simple unordered list menu with multiple levels from an XML file? We are redesigning the navigation on our website and I was...
9
by: Robert Misiorowski | last post by:
Hello, I have a very perplexing (at least to me) problem that hopefully someone can help me with. I'm making a site with a 3 column layout. In the middle column (my fluid column) I am trying to...
0
by: lkrubner | last post by:
I apologize for being a bit dense, but I'm trying to wrap my head around the sentence "Its purpose is to allow processes to register with a cloud to be notified of updates to the channel,...
3
by: thermate | last post by:
We give you the top links and material on the subject. THIS IS REAL SMOKING GUN !!! EVIDENCE: 911 was CONTROLLED DEMOLITION to make muslims 2nd class We have now video evidence that 911 was an...
0
by: yawnmoth | last post by:
According to <http://www.rssboard.org/rss- specification#ltcloudgtSubelementOfLtchannelgt>, " specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST,...
1
deephill
by: deephill | last post by:
hi i need cloud tags for my website. how to create??? please tell me how to make. is there any script to try. thank you,
14
by: Aaron Watters | last post by:
So, in between skiing runs I noticed a Business Week cover story on "cloud computing". The article had lots of interesting information in it like about how somebody's mom used to be an airline...
1
by: Bill Fuller | last post by:
Is anyone familier with Amazon's Elastic compute cloud for hosting applications? It appears to be UNIX based. I am wondering if anyone is familier with something similar for utility computing for...
0
by: knorth | last post by:
The DataServices World conference offers a program for those interested in technology for data integration and data access, with emphasis on service-oriented architecture (SOA), web-oriented...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.