own content class isn't in website toolbar

Author Message

Felix Gluecklich

Thursday 03 January 2008 8:49:45 am

I created an own content class in admin range called
seondhand for second hand products.
I can see my onw content class under setup/classes.
I can use this new content class to build new content.
like folder, article, products, secondhand...

In the live site i logged in as editor.
I see the website toolbar.
But i can not see my own content class.

Wich ini files i have to override with name of
my own content class called secondhand?
How i have to make an entry in the necessary
ini files?

Atle Pedersen

Thursday 03 January 2008 9:29:11 am

Hi,

you probably need to edit the policies for editors in "Roles and policies" in the admin interface.

Felix Gluecklich

Friday 04 January 2008 3:53:39 am

I am logging in as admin with admin rights and without restrictions.
Why i can not see in the list of classes my own content class
in the select box of website toolbar?
As admin i believe to have more rights as an editor, isn't it?

Where i have to add my own content class in an ini file and
how to write the correctly entry in this ini file?
The websitetoolbar.ini is not the right place. I have try it this:

[WebsiteToolbarSettings]
# Controls for which content classes eZODF buttons are displayed in the Website Toolbar.
ODFDisplayClasses[]
ODFDisplayClasses[]=documentation_page
ODFDisplayClasses[]=blog
ODFDisplayClasses[]=blog_post
ODFDisplayClasses[]=folder
ODFDisplayClasses[]=article
ODFDisplayClasses[]=article_mainpage
ODFDisplayClasses[]=article_subpage
ODFDisplayClasses[]=event
ODFDisplayClasses[]=my_own_contentclass

but there is nothing to see of my own content class in the selectbox of websitetoolbar.

André R.

Friday 04 January 2008 4:14:22 am

* Have you remembered to assign the class to a class group?
* the policy Atle is talking about is 'Websitetoolbar' -> 'use', where you can define which classes that should have the tool bar visible.
* the setting your talking about is for ODF (Open document format) import / export support, but you need to setup odf.ini as well if you want to use it on the new class
* Make sure your class is not in the HiddenContentClasses[] setting in websitetoolbar.ini

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Felix Gluecklich

Friday 04 January 2008 4:54:44 am

* Have you remembered to assign the class to a class group?

In the admin range there is my custom class under content.
In the admin range i can use my own class, make new
custom content with this class. Therefore i believe,
that my class is realy under the class group content.
I can see it unter setup / classes / content / my_custom_class.
My custom class has under classes / content the ID 43.
It is an real content class. On the live site i can edit
an existing content as my custom_class. But i can not create
content on live site with website toolbar, because my
custom class is not available in select box in website toolbar.

* the policy Atle is talking about is 'Websitetoolbar' -> 'use', where you can define which classes that should have the tool bar visible.

Yes, under Editor (roles and rights) there is an entry like this above.
I can not see my my_custom_class there in this list.

I am an admin. Why i have to update this list 'Websitetoolbar' -> 'use' and
include my my_custom_class under the editor?

under editor:

websitetoolbar  use  Class( Folder , Link , Article , Article (main-page) , Article (sub-page) , Blog , Blog post , Product , Feedback form , Frontpage , Documentation page , Multicalendar , Poll , File , Flash , Image , Quicktime , Windows media , Real video , Gallery , Forum , Event , Event calendar , Forums )  

missing my my_custom_class.

But under admin:

Zugewiesene Rollen [1]

Name Einschränkung   
 Administrator Keine Einschränkung   

Verfügbare Richtlinien [1]

Rolle Modul Funktion Einschränkung 
Administrator    alle Module  alle Funktionen  Keine Einschränkungen  

there are no restrictions no limit on using websitetoolbar... i am admin ?!

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 18 2025 11:32:14
Script start
Timing: Jan 18 2025 11:32:14
Module start 'layout'
Timing: Jan 18 2025 11:32:14
Module start 'content'
Timing: Jan 18 2025 11:32:15
Module end 'content'
Timing: Jan 18 2025 11:32:15
Script end

Main resources:

Total runtime1.2173 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.0469152.6406
Module start 'layout' 0.00620.0032 740.687539.4766
Module start 'content' 0.00941.2066 780.1641616.1484
Module end 'content' 1.21600.0013 1,396.312516.1250
Script end 1.2173  1,412.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2830160.0002
Check MTime0.00150.1199160.0001
Mysql Total
Database connection0.00080.065210.0008
Mysqli_queries1.139893.6294650.0175
Looping result0.00070.0587630.0000
Template Total1.175896.620.5879
Template load0.00210.169320.0010
Template processing1.173796.419820.5869
Template load and register function0.00020.012610.0002
states
state_id_array0.00120.096310.0012
state_identifier_array0.00510.417520.0025
Override
Cache load0.00180.1502580.0000
Sytem overhead
Fetch class attribute can translate value0.00060.053330.0002
Fetch class attribute name0.00250.207170.0004
XML
Image XML parsing0.00160.134730.0005
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00140.1177230.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs