Hi,

I'm seting up a 'Resources' page for a school website. I setup three groups, 'Parents', 'Students', and 'Teachers'. When I'm logged in as user 1, the group headers give me the correct count of the number of links on the particular group:

__ Parents (5) ___
| |

However, when I log off, the count doubles!

__ Parents (10) ___
| |

Changing 'Settings' -> 'Link Settings' -> 'Show the node title' to 'no' does not help. I would like to either find a way to fix this or disable the group count.

Any help with this issue will be greatly appreciated.

Thank you.

Comments

aww’s picture

Title: Wrong Link Count in Group Header » Remove/supress Link Count in Group Header
Component: Views » Code
Category: bug » support
Issue tags: +link count

Whether the duplication of link counts in the group headers is caused by some other module I installed, or something else, I have an immediate need to implement weblinks for a client.

Can the developers kindly point out the location of the code that outputs the html of the 'legend' tag? I would like to somehow place a span tag around the portion that creates the number part. This way I can at least hide the erroneous count via css.

Your input in this matter will be greatly appreciated!

Thank you in advance.

jonathan1055’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Category: Support request » Feature request
Issue summary: View changes

Hi, I'm picking up old Web Links issues in an attempt to clear out the issue queue. Sorry that no one replied to you back when you had this problem. I've checked at 6.x-2.3 and the functionality was not there, but by 6.x-2.5 (released April 2012) this functionality was included and it works correctly for me (when logged in as admin and when logged out).

However your request to suppress the node count in the fieldset group header is perfectly valid even if the numbers are correct. Some site designers may not wish this info to be displayed and I think we should not force it to be shown. New features probably will not be added to 6.x any more (unless specifically asked for by 6.x users), but this may well be a useful option for 7.x

Gerhard, what do you think about this? It could be (yet another) configurable option and we could omit the count and/or wrap it in a span style so that it can be themed (or supressed) by css.

Jonathan

jonathan1055’s picture

Title: Remove/supress Link Count in Group Header » Link Count in Group Header doubled up for anon users
Version: 7.x-1.x-dev » 6.x-2.6
Status: Active » Fixed
Related issues: +#839418: Option to display or suppress number of links in group title

We already have #839418: Option to display or suppress number of links in group title so marking this issue as fixed, as the original problem is no longer happening.

Status: Fixed » Closed (fixed)

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