accessing stats by a link

Author Message

kavi kavi

Friday 20 October 2006 6:40:04 am

I've install ezstats extension in my site. That's running very well when i add to my URL /stats/view
But i want to permit Administrator of site who's going to manage the contents lonely, to access to the stats by a link in the back of the ez site.

I d'on't know if i'm clear, i'm french.
Any idea ?!
Thanks

kavi kavi

Monday 23 October 2006 12:30:37 am

No one to help me....?!
My question is how can i access to stats without writing in my url : my_site_admin/stats/view.
I think about a link... But i don't know how to do in my back of the ezpublish site (admin)

Łukasz Serwatka

Monday 23 October 2006 1:08:41 am

Hi,

You can add new tab in top menu of admin site. Look on examples in settings/menu.ini

See also:
http://ez.no/community/forum/setup_design/new_tab_in_administration_menu/re_new_tab_in_administration_menu__2

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

kavi kavi

Monday 23 October 2006 6:59:42 am

i have a empty tab with the correct link in my back site of ezpublish.
I don't understand why my tab is empty !

[NavigationPart]
Part[]
Part[ezstatistiques]=Statistiques

[TopAdminMenu]
Tabs[]
Tabs[]=statistiques

[Topmenu_statistiques]
NavigationPartIdentifier=ezstatistiques
URL[]
URL[default]=stats/view
Enabled[]
Enabled[default]=true
Enabled[browse]=false
Enabled[edit]=false
Shown[]
Shown[navigation]=true
Shown[default]=true
Shown[browse]=false

i must look for template ? what i have to do ? Any idea ?
Thanks

kavi kavi

Tuesday 24 October 2006 1:51:40 am

I think that i have to see the translation part to see my tab written "stats"
But where can i modify that exactly. Can anyone help me...?!
Thanks,

Łukasz Serwatka

Tuesday 24 October 2006 2:12:31 am

i have a empty tab with the correct link in my back site of ezpublish.
I don't understand why my tab is empty !

What do you mean? Do you see only one tab?

Where did you put your settings? Try remove empty entries:
Tabs[]
Part[]

Remember to clear all the cache.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

kavi kavi

Tuesday 24 October 2006 2:40:48 am

Hi Lukasz!
Thank u for your help !
I've put this in my menu.ini

[NavigationPart]
Part[ezcontentnavigationpart]=Content structure
Part[ezmedianavigationpart]=Media library
Part[ezusernavigationpart]=User accounts
#Part[ezshopnavigationpart]=Webshop
Part[ezvisualnavigationpart]=Design
Part[ezsetupnavigationpart]=Setup
Part[ezmynavigationpart]=My account
Part[ezstatsnavigationpart]=stats

[TopAdminMenu]
# This list contains menuitems of the top menu in admin interface
Tabs[]
Tabs[]=content
Tabs[]=media
Tabs[]=users
#Tabs[]=shop
Tabs[]=design
Tabs[]=setup
Tabs[]=my_account
Tabs[]=stats

[Topmenu_stats]
NavigationPartIdentifier=ezstatsnavigationpart
URL[]
URL[default]=stats/view
Enabled[]
Enabled[default]=true
Enabled[browse]=true
Enabled[edit]=true
Shown[]
Shown[navigation]=true
Shown[default]=true
Shown[browse]=true

I've also clear the cache !!

in my TopAdminMenu all the tabs[] are in English but in my ezpublish screen on the back, i've all the tabs in French. That's why i'm thinking about seeing the translation part.
I think that it's here (ezpublish\share\translations\fre-FR) something to do but I don't know where exactely and how.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 06:27:56
Script start
Timing: Jan 31 2025 06:27:56
Module start 'layout'
Timing: Jan 31 2025 06:27:56
Module start 'content'
Timing: Jan 31 2025 06:27:56
Module end 'content'
Timing: Jan 31 2025 06:27:56
Script end

Main resources:

Total runtime0.0166 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1328151.2109
Module start 'layout' 0.00630.0026 739.343836.6484
Module start 'content' 0.00890.0059 775.992298.2656
Module end 'content' 0.01480.0018 874.257837.9922
Script end 0.0166  912.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002716.1068140.0002
Check MTime0.00116.8639140.0001
Mysql Total
Database connection0.00116.403910.0011
Mysqli_queries0.002414.450830.0008
Looping result0.00000.084810.0000
Template Total0.00127.310.0012
Template load0.00105.877810.0010
Template processing0.00021.357010.0002
Override
Cache load0.00074.329610.0007
General
dbfile0.00159.056080.0002
String conversion0.00000.054640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs