I use the plugin to display the list of subcategories of a specific category.
What I see now:
cat1 >> subcat1
cat1 >> subcat2
cat1 >> subcat3
...
What I would like to see:
subcat1
subcat2
subcat3
...
Is it possible? How can I do?
Thank.
Display only catogory name
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display only catogory name
Hi, then you need to customize the php code (to not display the whole part of category - subcategory)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 21 Dec 2010, 23:36
Re: Display only catogory name
Ok. I arranged the plugins/content/phocagallery.php code like this:Jan wrote:Hi, then you need to customize the php code (to not display the whole part of category - subcategory)
Jan
find:
Code: Select all
. $category->title.'</a> <span class="small">('.$category->numlinks.')</span>'
Code: Select all
. substr($category->title, strrpos($category->title,"»") + 7).'</a> <span class="small">('.$category->numlinks.')</span>'
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Display only catogory name
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project