Forums / Setup & design / Creating a new class. I can't print the titles.
laurent le cadet
Friday 05 September 2003 12:48:27 am
Hi,
I created a new class (museum) with a text line for the title, text fields and xml fields for the content.
All the classes are store in a folder but I can't print the titles of this classe in the list when I open the folder.
Is there any trick ?
Laurent
Paul Forsyth
Friday 05 September 2003 1:26:17 am
Are you navigating to the files within the admin?
You need to republish an object to have class changes become part of the object.
paul
Bjørn Kaarstein
Friday 05 September 2003 1:27:36 am
Are you in the admin interface, or in your sitedesign?In case of sitedesign, you'll need to give your anonymous user read rights to your new class.
Regards Bjørn
Friday 05 September 2003 1:31:18 am
Got me by a minute there, Paul :)
I just thought of one more thing. Have you added the object name pattern to your new class? <title>
This is the attribute which will be used for displaying your object's name in the admin interface.
Friday 05 September 2003 1:45:54 am
Paul & Bjørn : a powerfull combo !
Thanks a lot.
Laurent.