質問

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