UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Categories output issue

Mist · ·
1:31 PM Saturday, 08 March 2014
None
I am struggling for some time now to find a bug and can't solve it yet, maybe you can help me out.

I am trying to output the subcategories in a dropdown menu but for some reason only the first subcategory link gets the "li" wrapper

I am outputting the subcategories this way

<ul class="dropdown-menu dropdown-menu-right dropdown-scroll" role="menu">
<li><?php echo $category->nestedLink; ?></li>
</ul>


If i am looking at the generated html output i notice that only the first subcategory is rendered inside that "li" tag, all other ones are rendered outside the tag and the subcat names has some comma appended to them
Let me show you an example of the actual html output containing the bug

<ul role="menu" class="dropdown-menu dropdown-menu-right dropdown-scroll">
<li><a href="/subcategory1_link_here">Sbucategory 1</a></li>
<a href="/subcategory2_link_here">, Subcategory 2</a>
<a href="/subcategory3_link_here">, Subcategory 3</a>
<a href="/subcategory4_link_here">, Subcategory 4</a>
</ul>


As you can notice only the first subcategory gets inside the "li" tag.


So, where i can fix this ?
Where i can control the output for the following code

<?php echo $category->nestedLink; ?>


I think this output is hardcoded somewhere and basically i just want to wrap the links in some "li" tags
The replies under this section are restricted to logged in users or users with an active subscription with us