문제

I am creating a blog using joomla 3.2, my menu item type is a category blog. I have set the # Articles in Category to show. What I would like is that the number appears within brackets, like this: "General (1)" instead of just "General 1", where "General" is my subcategory.

도움이 되었습니까?

해결책

Found the solution!

Here is what you need to do:

create an override of com_content/category and open the blog_children.php. Look for line 47 and change the following

<?php echo $child->getNumItems(true); ?>

to

<?php echo '('; echo $child->getNumItems(true); echo ')'; ?>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top