Forums / Setup & design / Custom Class - Titles disappear after 1st version (edit)

Custom Class - Titles disappear after 1st version (edit)

Author Message

Parrot Master

Friday 17 February 2006 11:16:48 pm

Hi,

I have created a custom class. It has Title as one of its attributes.

When I edit any record and save it, the Titles are no longer shown anywhere except in the edit page. This tells me that the Titles are saved properly, but they are not shown in the Tree Menu (Control Panel) nor in the public website.

Please see the attached screenshots for more information:
http://show.imagehosting.us/show/1177209/0/nouser_1177/T0_-1_1177209.png
http://show.imagehosting.us/show/1177210/0/nouser_1177/T0_-1_1177210.png
http://show.imagehosting.us/show/1177213/0/nouser_1177/T0_-1_1177213.png
http://show.imagehosting.us/show/1177218/0/nouser_1177/T0_-1_1177218.png

The version number of eZ publish is 3.5.0

I am looking forward to any/all suggestions on how I can solve this issue.

Thanks :)

Kristof Coomans

Saturday 18 February 2006 1:32:51 am

What's the object name pattern of your custom class?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Parrot Master

Saturday 18 February 2006 1:45:16 am

Hi,

I am unaware of the term "object name pattern", what exactly do you mean by it?

I made my class in the following way:

I went to the Control Panel -> Setup -> Classes -> Content (Class Group) -> New Class

I am calling it as a Custom Class because I made it. I might be wrong in calling so.

Kristof Coomans

Sunday 19 February 2006 11:56:50 pm

See http://ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/content_management/the_content_class

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Parrot Master

Monday 20 February 2006 1:58:36 am

Hi,

The object name pattern of my custom class is "<title>" (without quotes).

Parrot Master

Monday 20 February 2006 2:19:48 am

Hi Kristof,

I think I have found the problem.

The Object name pattern was "<title>" and the first field was "short_title". When I rename it to "title", it works.

Thank you very much.