Forums / Developer / Website Toolbar for custom class?
Gabriel Ambuehl
Friday 18 May 2007 11:38:44 am
So I have added a plain custom class to 3.9.2, added it to the AvailableForClasses array in websitetoolbar.ini, cleared the cache, but the website toolbar is not shown on objects of that class. What am I missing?
Visit http://triligon.org
Saturday 19 May 2007 3:07:49 am
Looks like I had edited the wrong ini File, correct one is in extension/ezwebin/settings/websitetoolbar.ini
Felix Gluecklich
Friday 04 January 2008 4:16:42 am
I have the same problem.
my entry in websitetoolbar.ini looks like this:
# Settings related to Website Toolbar [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 AvailableForClasses[]=my_own_contentclass # This list contains content class identifiers, # which will not be displayed in the drop down menu of the Website Toolbar. HiddenContentClasses[]=banner HiddenContentClasses[]=common_ini_settings
But in the select box of website toolbar, logged in as admin with full rights of all,shows not the new custom content class. What is wrong?