creating a new class

creating a new class

Wednesday 27 April 2005 8:10:21 am - 5 replies

Author Message

nga patel

Wednesday 27 April 2005 8:39:22 am

If you are new user then first you should follow the tutorial.
By the ways your solution lies in below link:

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_members_page/creating_a_custom_content_class

Best of Luck

frederic jollet

Wednesday 27 April 2005 9:34:13 am

Many thanks,
Another question: after having created a second "folder" class named "folder_1" (duplicating the first one), how can i make the items of this second folder appear in my left menu?
Thanks

nga patel

Thursday 28 April 2005 1:11:46 am

I don't understnd with your word left menu wheather it is in admin part of front part, but then also you try to give you this link just follow it and if not succeeded then just do more clearify:
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/assigning_the_news_folder_to_the_news_section

I also recommend you to follow this tutorial because your approximately 80% problem will be solved automatically:
http://ez.no/ez_publish/documentation/toc/(from)/36647

frederic jollet

Thursday 28 April 2005 2:26:00 am

Thanks for your answer and sorry if i'm not clear.
I need to see the items of the duplicated folder in the left menu of the public site (not the admin site, because i can sea it already)
I did it so:
setup>class>group_of_classes>content>
I get the "content" list, with a class named "folder"
I dupicated "folder" and named it "folder_1"
All was OK till there
Now i want to see the items created from "folder_1"
in the left menu of my public site.
How can i do it?
Thanks

Ulrich L.

Friday 29 April 2005 6:12:44 am

With appropriate settings you can tell ezpublish that your new class should be allowed to be displayed in the menu as well. In menu.ini you find a definition wich classes are allowed for the menu. You will have to make an entry for your new class in order to see it instances in the menu.

Make the settings under [MenuContentSettings]. Have a look at the basic menu.ini (<ezroot>/settings/menu.ini) in order to understand wich settings are required. You will have to make a further entry like "LeftIdentifierList[]=folder_1", but please do it in the appropriate override file. (Look for your menu.ini.append.php of your siteaccess (<ezroot>/settings/<siteaccess_name>/menu.ini.append.php)) So you have to understand the system of overriding settings first.

You must be logged in to post messages in this topic!

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