Thanks kbahey for this useful module.

Would it be possible to have the option of adding node counts beside the taxonomy terms in the side bar menu generated and/or only displaying terms that have content tagged to them?

Thanks in advance for any advice/help.

CommentFileSizeAuthor
#3 sitemenu-block-count.patch1.61 KBtomiyana

Comments

kbahey’s picture

Component: Miscellaneous » Code
Category: support » feature
Status: Active » Needs work

If someone creates a patch for this, I will include it.

aharown07’s picture

I just edited line 264 so it looks like this
if ($get_node_count /*&& $mode == 'page'*/) {

This seems to work but I'm guessing I've probably broken something? There must be some reason I don't know about for && $mode == 'page' to be there. I'm no php coder!

tomiyana’s picture

Status: Needs work » Needs review
StatusFileSize
new1.61 KB

Hi,

I created a patch for 5.x and 6.x.
Could you review and merge it into CVS?

Thanks,

kbahey’s picture

Version: 5.x-1.0 » 6.x-1.x-dev
Status: Needs review » Fixed

Applied to 6.x-1.x-dev, and 5.x-1.x-dev.

Will be available in the tarballs in about 10 hours from now

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.