Joomla 1.0.x Return Cat ID?

Locked
travisdh
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Fri Oct 19, 2007 3:29 am
Location: Australia
Contact:

Joomla 1.0.x Return Cat ID?

Post by travisdh » Fri Aug 15, 2008 12:55 am

Hello.

Quick question that is no doubt very easy but does anyone know how i could return the current category id of a page in joomla (displayed in a module) and by doing so be able to show the number of entries for that id.

What i am trying to achieve is a slight module modification for jreviews where it returns the current category id the module is being displayed in, and works out the true Bayesian estimate rating, which needs to know the average rating for that entire section, so in this case it would look for the category id, and then show all results in that section, and from that i could work out the average of all results.

Thanks for your help, what is the suggestion for working out category id of current page being displayed?
New Project coming shortly, a new management platform for the home.... powered by Joomla!, will post more information shortly and may need testers :)

Locked

Return to “Joombie Coding Q/A”