removing the Categories text in Categories view

Phoca Gallery - image gallery extension
yabelson
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 17 Nov 2009, 18:15

removing the Categories text in Categories view

Post by yabelson »

i defined several categories as Categories View, but i want only the Image of the category to appear - no Text (no description, no path, nothing).
i can't find how to do it - can you please advise?

URL : http://www.uzigraphics.com
http://www.n-site.co.il
InSight - Sites Made Easy
yabelson
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 17 Nov 2009, 18:15

SOLVED: removing the Categories text in Categories view

Post by yabelson »

i found the right code place to do it.
in categories->tmpl->default.php

i changed this part:

Code: Select all

/*echo '<td><a href="'.$this->categories[$i]->link.'" class="category'.$this->params->get( 'pageclass_sfx' ).'">'.$this->categories[$i]->title.'</a>&nbsp;';
		/* remove the text from Categories view - Yair */
		
		if ($this->categories[$i]->numlinks > 0) {/*echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';*/}
works fine for me 8)
http://www.n-site.co.il
InSight - Sites Made Easy
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: removing the Categories text in Categories view

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply