“Number of images in category” How to remove?

Phoca Gallery - image gallery extension
hanlz
Phoca Member
Phoca Member
Posts: 32
Joined: 19 Apr 2010, 09:47
Contact:

“Number of images in category” How to remove?

Post 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!
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

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

Post 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.
hanlz
Phoca Member
Phoca Member
Posts: 32
Joined: 19 Apr 2010, 09:47
Contact:

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

Post by hanlz »

Thanks very much! 非常谢谢你!
It is ok.
I still have some problems, Sub category how to master category as detailed information as shown,
hanlz
Phoca Member
Phoca Member
Posts: 32
Joined: 19 Apr 2010, 09:47
Contact:

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

Post 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)
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

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

Post by GenkaiNashi »

我不明白...? 你要什么做的?

I do not understand? What do you want to do?
hanlz
Phoca Member
Phoca Member
Posts: 32
Joined: 19 Apr 2010, 09:47
Contact:

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

Post by hanlz »

就是让子类的显示方式和母类显示方式一样

Sub-class display and the display of the same parent class
hanlz
Phoca Member
Phoca Member
Posts: 32
Joined: 19 Apr 2010, 09:47
Contact:

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

Post by hanlz »

Hello GenkaiNashi
你好 GenkaiNash
Maybe you do not understand what I mean :x
你可能不明白我的意思
My mean:
我的意思是:
Sub category how to set the display mode
子类的显示方式怎么设置
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

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

Post by GenkaiNashi »

So you want the sub-category to show the details, but not the parent category?

[所以,你要分类别,以显示细节,而不是父类?]
hanlz
Phoca Member
Phoca Member
Posts: 32
Joined: 19 Apr 2010, 09:47
Contact:

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

Post by hanlz »

Can only be set in the settings in the parent category, can not set the sub-category
在设置里只能设置父类,不能设置子类
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

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

Post by GenkaiNashi »

So you're saying - you removed the lines I told you to remove, but the sub-category is still showing those things?

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