Hi,

I installed this module https://www.drupal.org/project/nodeviewcount and it appears to be working fine with pages that don't use Display Suite for the page layout.

Please can someone offer help.

Thanks in advance.

Comments

wayneywoo’s picture

Damn, that took some time. Best part of three hours or so......

Turns out the nodeviewcount module has a variable check:

if ($view_mode != 'full') {

which is false when using Display Suite. I have a custom tpl and so had to amend the check as:

if ($view_mode != 'full' && $view_mode!='<custom template name>') {

Module is now happy :-)

aspilicious’s picture

Status: Active » Closed (works as designed)