Project

General

Profile

Feature #5597

Add system tracking for homepage edition

Added by Yannick Warnier over 8 years ago. Updated about 8 years ago.

Status:
Feature implemented
Priority:
Normal
Assignee:
Category:
Administration
Target version:
Start date:
04/10/2012
Due date:
% Done:

100%

Estimated time:
Spent time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Add an event_system() call to the main/admin/configure_homepage.php script when someone edits a version of the homepage, so we can keep track of this in the "important activities" page.


Files

statistic.gif (23.8 KB) statistic.gif Yoselyn Castillo, 10/10/2012 14:21

Associated revisions

Revision b72c4a51 (diff)
Added by Julio Montoya over 8 years ago

Adding system tracking to the homepage see #5597

Revision 2b8a4ff3 (diff)
Added by Julio Montoya over 8 years ago

Adding strip_tags see #5597

History

#1

Updated by Julio Montoya over 8 years ago

seemes that somebody already implemented that

 if (EventsMail::check_if_using_class('portal_homepage_edited')) {              
                    EventsDispatcher::events('portal_homepage_edited',array('about_user' => api_get_user_id()));
                }

it doesn't work?

#2

Updated by Julio Montoya over 8 years ago

  • Status changed from New to Needs more info
  • Assignee deleted (Julio Montoya)
#3

Updated by Yannick Warnier over 8 years ago

  • Status changed from Needs more info to New

That's sending an e-mail, not registering it in track_e_default, no.

#4

Updated by Julio Montoya over 8 years ago

seems that you're right, I will add those calls

#5

Updated by Julio Montoya over 8 years ago

  • Status changed from New to Needs testing
  • Assignee set to Yoselyn Castillo
  • % Done changed from 0 to 50

logs were added you can see the result in the stats page:

main/admin/statistics/index.php?report=activities

You will see something like this:

homepage_changed     insert_tabs     123:http://123     admin     2012-10-10 10:25:58
#6

Updated by Yoselyn Castillo over 8 years ago

I am testing...

#7

Updated by Yoselyn Castillo over 8 years ago

  • File statistic.gif statistic.gif added
  • Status changed from Needs testing to Assigned
  • Assignee changed from Yoselyn Castillo to Julio Montoya

I have made 2 changes, first in homepage central area and second in creating a link.
When i go to statistics.php first change breaks the structure of the table and the user is not shown properly. Second change is well shown
See the result in statistic.gif

#8

Updated by Julio Montoya over 8 years ago

need to add striptags

#9

Updated by Julio Montoya over 8 years ago

  • Status changed from Assigned to Needs testing
  • Assignee deleted (Julio Montoya)

code was sent

#10

Updated by Yannick Warnier over 8 years ago

  • Target version set to 1.9.6
#11

Updated by Yannick Warnier about 8 years ago

  • Tracker changed from Bug to Feature
  • Status changed from Needs testing to Feature implemented
  • Assignee set to Julio Montoya
  • % Done changed from 50 to 100

Fine by me.

Also available in: Atom PDF