By Viktor on Friday, 03 January 2014
Posted in General Issues
Likes 0
Views 758
Votes 0
In the category of materials displayed subcategories. Can this be fixed?
Hello Viktor,

Sorry for the late reply. I am really sorry but unfortunately this wouldn't be possible currently. If you need to customize this, take a look at the file

JOOMLA/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>';

Hope this helps.

Thanks!
·
Friday, 03 January 2014 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry, but I do not understand what I need to change. I do not know PHP.
·
Saturday, 04 January 2014 01:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Viktor,

Sorry for the late reply as it's the weekends. If it is so i would suggest that you not do this hack. I can do it once for you but you will need to re-apply this hack when you upgrade EasyBlog, If you are familiar with CSS you can alternatively try this CSS codes to hide the subcategories.
#eblog-wrapper .profile-child {
display: none;
}

Hope this helps.

Thanks!
·
Saturday, 04 January 2014 09:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I give you access to ftp-server. Please help.
·
Saturday, 04 January 2014 21:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello! Will you help me with subcategories? Access to the site I provided.
·
Saturday, 11 January 2014 05:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post