{showCategories} Help

You made an own skin or theme for phpMyFAQ. You can share it here with others!

Moderator: Thorsten

Post Reply
skelly
Posts: 1
Joined: Wed Dec 15, 2010 6:07 pm

{showCategories} Help

Post by skelly » Wed Dec 15, 2010 6:17 pm

Hi All,

I am trying to find the location to make a small change.

{showCategories} lists the below in html. I need to change the <li><a class="active" href= TO <li class="active" ><a href=

Like example below:

<!-- nav content -->
<h3>Categories</h3>
<ul>
<li><a href="https://www.voxcentral.com/knowledgebas ... .html">FAQ Home</a></li>
<li><a class="active" href="/knowledgebase/category/1/category-1.html">category 1</a></li>
<li><a href="/knowledgebase/category/2/category-2.html">category 2</a></li>
<li><a href="/knowledgebase/category/3/category-3.html">category 3</a></li>
</ul>
<!-- end nav content -->

TO

<ul>
<li><a href="https://www.voxcentral.com/knowledgebas ... .html">FAQ Home</a></li>
<li class="active"><a href="/knowledgebase/category/1/category-1.html">category 1</a></li>
<li><a href="/knowledgebase/category/2/category-2.html">category 2</a></li>
<li><a href="/knowledgebase/category/3/category-3.html">category 3</a></li>
</ul>
<!-- end nav content -->

I have searched for hours and only find line 489 of /inc/functions.php and no changes to this make a difference at all. Can someone show me where to find this?

Thank you!

Post Reply