IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

Bugs in html.helper.php

More
6 years 3 months ago #24129 by kohjacky
kohjacky created the topic: Bugs in html.helper.php
There seems to be a bug in html.helper.php. i follow category submenu under backend admin and on the right, projects should be calculated based on $cat_id and not $group_id. It should be calculating the no. of projects in each category if i'm not wrong. Tell me if i'm wrong. Thanks!

Bug:
function getCatCount($group_id){
$database = JFactory::getDBO();
$database->setQuery( "SELECT COUNT(id) FROM #__projectlog_projects WHERE group_access = ".$group_id );
return $database->loadResult();
}

Fix:
function getCatCount($cat_id){
$database = JFactory::getDBO();
$database->setQuery( "SELECT COUNT(id) FROM #__projectlog_projects WHERE category = ".$cat_id );
return $database->loadResult();
}

Please Log in or Create an account to join the conversation.

Moderators: vinny
Time to create page: 0.189 seconds