Forums / Setup & design / accessing stats by a link

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.