View Activity when stats are disabled (hard-coded links!)

vannus - October 12, 2009 - 23:02
Project:Total Control Admin Dashboard
Version:6.x-1.0
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:fixed
Description

I clicked "activity" while in dashboard, and got below message;

"if you are seeing no results here, you probably forgot to enable your statistics module, or forgot to enable the access log."

fair enough, however links have been hard-coded!! naughty!

"enable your statistics module" - hard-coded to "http://127.0.0.1/admin/build/modules"
"enable the access log" - hard coded to "http://127.0.0.1/admin/reports/settings"

I've got to get my site up & running for customer asap, so im not going to try fixing this just now.

After customer is happy, (and if i remember) ill come back to this - but it should be an easy fix if someone else wants to go for it.
(or might it already be patched in dev version? - didnt see anything like this in issues search)

#1

vannus - October 12, 2009 - 23:04
Version:6.x-1.0-rc4» 6.x-1.0

soz, i think i may be on the 1.0 version.

#2

jenlampton - December 12, 2009 - 04:46

@vannus,

I just made some changes to the 1.1 version of module that will prevent the activity view from being shown if the statistics module has not been enabled. Those links should no longer be displayed.

Jen

#3

jenlampton - December 12, 2009 - 04:46
Status:active» fixed

whoops, marking as fixed.

 
 

Drupal is a registered trademark of Dries Buytaert.