[Solved] Count of 0 item and 0 category after category

More
12 years 9 months ago #17016 by goum
Promis je teste cela aujourd'hui ;)

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

More
12 years 9 months ago #17017 by goum
Hello,
A
Code:
if ($i != $n) :
has been lost :)
You could replace lines 34 to 37 for the default template :
Code:
if ($this->params->get('show_itemcount', 1)) echo ' (' . ($sub->assigneditems != null ? $sub->assigneditems.'/'.$subsubcount : '0/'.$subsubcount) . ')'; $i++; if ($i != $n) : echo ', ';

By :
Code:
if ($i != $n) : if ($this->params->get('show_itemcount', 1)) { echo ' ('; if ($sub->assigneditems != null) echo $sub->assigneditems." ". JText::_( 'Items' ); if ($sub->assigneditems != null && $subsubcount) echo '/'; if ($subsubcount) echo $subsubcount ." ". JText::_( 'Categories' ); echo ')'; }
And now it works.
Thanks a lot ggppdk !

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.323 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline