Page 1 of 2

“Number of images in category” How to remove?

Posted: 06 May 2010, 07:31
by hanlz
Hello
I am chinese, sorry, my Enlish is so-so.I encountered some problems:
In the female category details, How make them disappear

“ Number of images in category: 0
Category viewed: 0 x ”

谢谢!Thank you!

Re: “Number of images in category” How to remove?

Posted: 06 May 2010, 07:40
by GenkaiNashi
In components/com_phocagallery/views/categories/tmpl/default.php (not administrator) remove this:

Code: Select all

echo '<tr><td>'.JText::_('Number of images in category') .': </td>'
		.'<td>'.$this->categories[$i]->numlinks.'</td></tr>'
		.'<tr><td>'.JText::_('Category viewed') .': </td>'
		.'<td>'.$this->categories[$i]->hits.' x</td></tr>';
from Lines 185-188.

Re: “Number of images in category” How to remove?

Posted: 06 May 2010, 11:01
by hanlz
Thanks very much! 非常谢谢你!
It is ok.
I still have some problems, Sub category how to master category as detailed information as shown,

Re: “Number of images in category” How to remove?

Posted: 06 May 2010, 11:11
by hanlz
In other words, Sub category how to display the following way:

http://hi.baidu.com/%C4%D1%C9%E1%B5%C4% ... 7987a.html (This is the website of China, may be slow to open)

Re: “Number of images in category” How to remove?

Posted: 06 May 2010, 11:23
by GenkaiNashi
我不明白...? 你要什么做的?

I do not understand? What do you want to do?

Re: “Number of images in category” How to remove?

Posted: 06 May 2010, 11:46
by hanlz
就是让子类的显示方式和母类显示方式一样

Sub-class display and the display of the same parent class

Re: “Number of images in category” How to remove?

Posted: 07 May 2010, 04:18
by hanlz
Hello GenkaiNashi
你好 GenkaiNash
Maybe you do not understand what I mean :x
你可能不明白我的意思
My mean:
我的意思是:
Sub category how to set the display mode
子类的显示方式怎么设置

Re: “Number of images in category” How to remove?

Posted: 07 May 2010, 06:44
by GenkaiNashi
So you want the sub-category to show the details, but not the parent category?

[所以,你要分类别,以显示细节,而不是父类?]

Re: “Number of images in category” How to remove?

Posted: 07 May 2010, 07:11
by hanlz
Can only be set in the settings in the parent category, can not set the sub-category
在设置里只能设置父类,不能设置子类

Re: “Number of images in category” How to remove?

Posted: 07 May 2010, 08:04
by GenkaiNashi
So you're saying - you removed the lines I told you to remove, but the sub-category is still showing those things?

[ 那么,你是说 - 你删除了线我告诉你删除,但子类是仍然显示这些东西?]