By Jeff Koehler on Thursday, 28 November 2013
Replies 7
Likes 0
Views 799
Votes 0
This layout shows the parent category with all subcategories separated by a comma listed below it:
Parent
Sub1, Sub2, Sub3. . .

Could this be changed to look more like a list?
Parent
Sub1
Sub2
Sub3

Thanks!
Hello Jeff,

You are welcome

Thanks!
·
Saturday, 30 November 2013 01:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jeff,

I am really sorry but unfortunately this wouldn't be possible currently. If you need to customize this, take a look at the file /components/com_easyblog/views/categories/view.html.php and at line 97 onwards, locate the codes below and modify them accordingly.


$nestedLinks .= '<span class="more-subcategories-toggle"> ' . JText::_('COM_EASYBLOG_AND') . ' <a href="javascript:void(0);" onclick="eblog.categories.loadMore( this );">' . JText::sprintf('COM_EASYBLOG_OTHER_SUBCATEGORIES', count($row->childs) - $initialLimit) . '</a></span>';
$nestedLinks .= '<span class="more-subcategories" style="display: none;">, ' . $moreNestedLinks . '</span>';
·
Thursday, 28 November 2013 10:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, I don't node code that well. What changes would I need to make in order to do this?

Thanks
·
Thursday, 28 November 2013 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jeff,

Sorry for the late reply. Unfortunately customising this is not in our support scope and we would not be able to help you with this

Thanks!
·
Thursday, 28 November 2013 19:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Dang, any suggestions on what I could do to make this view a little more user friendly? The subcategories only separated by a comma all tend to blend in with each other.

Thanks
·
Thursday, 28 November 2013 23:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jeff,

This requires quite a bit of customization if you want it to display in a list form
·
Friday, 29 November 2013 01:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, I will think about it. I appreciate your support.
·
Friday, 29 November 2013 22:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post