phpMyFAQ 2.8.0-RC4 Empty tab display

Please report bugs here!

Moderator: Thorsten

Post Reply
kiwi
Posts: 2
Joined: Tue Apr 23, 2013 2:50 am

phpMyFAQ 2.8.0-RC4 Empty tab display

Post by kiwi »

I don't really like describing this as a bug, and I apologise if its posted in the wrong page.I only noticed this while creating a custom template, but see the same issue on the demo here.
When you select a category that has no subcategory, there is an empty <li></li> element. In the default template it is invisible unless you point the cursor to it, then in :hover it can be seen (see attached image). On my own theme, because it uses a background image on the <li> elements it is permanently visible.

Is it possible to add some additional code to prevent creation of the empty <li> element if there is no subcategory?
Image-faq.jpg
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-RC4 Empty tab display

Post by Thorsten »

Hi,

you're right, this should be fixed before final release. Thanks for the hint.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.8.0-RC4 Empty tab display

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kiwi
Posts: 2
Joined: Tue Apr 23, 2013 2:50 am

Re: phpMyFAQ 2.8.0-RC4 Empty tab display

Post by kiwi »

Thanks. Brilliant service :P :P
Post Reply