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.

eZ debug

Timing: Jan 31 2025 09:13:14
Script start
Timing: Jan 31 2025 09:13:14
Module start 'content'
Timing: Jan 31 2025 09:13:14
Module end 'content'
Timing: Jan 31 2025 09:13:14
Script end

Main resources:

Total runtime0.1488 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.9297180.8359
Module start 'content' 0.00720.0080 768.7656101.9922
Module end 'content' 0.01520.1335 870.7578530.2734
Script end 0.1488  1,401.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.4843200.0002
Check MTime0.00140.9459200.0001
Mysql Total
Database connection0.00090.625510.0009
Mysqli_queries0.097465.45811410.0007
Looping result0.00130.86241390.0000
Template Total0.133189.410.1331
Template load0.00080.568310.0008
Template processing0.132288.837110.1322
Override
Cache load0.00050.362210.0005
Sytem overhead
Fetch class attribute can translate value0.00110.743710.0011
XML
Image XML parsing0.00040.244610.0004
General
dbfile0.00865.8003200.0004
String conversion0.00000.005330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs