docs icon indicating copy to clipboard operation
docs copied to clipboard

Using widgets page - countwidgets function has conflicting information

Open tuvokian opened this issue 8 years ago • 0 comments

The Using Widgets page has two different snippets for the countwidgets function, which give conflicting information.

The first says 'Note that this function also requires the 'zone' parameter, which is optional in widgets. Zone must be either frontend or backend.' and the second says 'This function takes an optional second argument for the 'zone': countwidgets('dashboard_top', 'backend'). Zone must be either frontend or backend.'

I'm not sure which is correct, but I think it works even without the zone parameter.

tuvokian avatar Sep 26 '17 17:09 tuvokian