It is not clear to me how this works.

Does this require activating other things within Drupal? Does this require activating times read which gets displayed with nodes and may not be desirable?

Thanks for any clarification you can provide.

Izzy

Comments

merlinofchaos’s picture

It requires activating the statistics module AND enabling the statistics module tracking on the statistics administration page.

merlinofchaos’s picture

Status: Active » Fixed

I added this to the description for the view.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

izmeez’s picture

Version: 6.x-2.0-beta3 » 6.x-2.0-beta4

I am feeling a bit thick here and don't understand why this is not making sense to me. I must be missing something.

I am using Drupal 6.2 and Views 6.x-2.0-beta4

When I go to administer>site configuration I do not see Statistics as an available option.

I searched the Drupal site and found this page:

http://drupal.org/handbook/modules/statistics

This talks about configuring logging but I am not sure if that is what is required to activate the Popular view.

Sorry to be asking such a basic question. Any help would be appreciated.

Thanks,

Izzy

izmeez’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

My apologies for asking what may be a very simple question.

I am using Drupal 6.2 and when I go to Administer>Site configuration I do not see a Statistics module.

I searched the Drupal site and found this article:

http://drupal.org/handbook/modules/statistics

There are various settings in the "Logging and alerts" but I am left wondering if there is a statistics module for Drupal 6 as part of core or as an addon that needs to be activated.

Any help would be appreciated. Thanks,

Izzy

merlinofchaos’s picture

Yes, statistics module is part of core. If you can see the 'popular' view, then you even have it on. That page is the right page, so following its instructions should create the data necessary for the view to work.

izmeez’s picture

Okay, for whatever it's worth, I now understand how to activate this but it is a little different than described above.

I was having difficulty because I could not find Administer>Site Configuration>Statistics on my Drupal 6.x installation. In fact, I could not find statistics anywhere on the Administer menu even though it is on the modules page as a core module that was enabled. I thought I was going crazy.

Fortunately, I found that by going to the Administer>Reports>Access log settings>Count content views and enabling it that Popular Content views came alive.

This minor detail may help others who find themselves stuck on this point.

Again, thanks very much to everyone for the fantastic work on the Views modules and all of Drupal.

Izzy.

merlinofchaos’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ahh. That page has not yet been updated for Drupal 6.

I've updated the view description to show the right place.

izmeez’s picture

Another small consideration is related to items that users may wish to exclude from the popular view. This would include landing pages that are always viewed such as the start page for all authenticated users, and system pages such as "Access denied" or "Page not found" that might show up if encountered at the start of a day.

When editing the view and using the filter section, selecting "Node NID" there is not an option for "is not equal to" but using "Node Title" this option does exist and does work.

I created separate entries in the filter for each item that needed to be excluded from the popular view but I wondered if I could have entered several in one filter entry with a comma separating each. If the "Node NID" included "is not equal to" the question of listing several with comma separation might be more meaningful but is still a trivial point as several filters can be created, although I am not sure what the performance penalties are for more filters vs comma separated.

Thanks again,

Izzy

izmeez’s picture

Maybe I should report this as a separate bug report but it is related to the Popular content view. In the block view the number of items to display is over riding the default. However, when I try to change it to a higher number such as 10, it appears to max out at 8. Numbers lower than 8 work as expected.

Please let me know if I should report this separately. Thanks,

Izzy

merlinofchaos’s picture

Yes, a separate issue to request the comma separated list feature would be necessary. (Is not equal to DOES exist on Node: nid, though).

izmeez’s picture

My humblest apologies but there is not a maximum limit, it was my own fault/error. Sorry.

Izzy

izmeez’s picture

Again, my apologies. Even for looking I didn't see that the "Node: nid" DOES indeed include "Is not equal to".

Thanks,

Izzy

Anonymous’s picture

Status: Fixed » Closed (fixed)

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