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.

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 31 2025 04:14:12
Script start
Timing: Jan 31 2025 04:14:12
Module start 'layout'
Timing: Jan 31 2025 04:14:12
Module start 'content'
Timing: Jan 31 2025 04:14:12
Module end 'content'
Timing: Jan 31 2025 04:14:12
Script end

Main resources:

Total runtime0.0140 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0038 588.3750151.2422
Module start 'layout' 0.00390.0019 739.617236.7109
Module start 'content' 0.00570.0066 776.328194.2188
Module end 'content' 0.01230.0016 870.546933.9922
Script end 0.0139  904.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.7887140.0002
Check MTime0.00107.1930140.0001
Mysql Total
Database connection0.00053.564910.0005
Mysqli_queries0.001712.187930.0006
Looping result0.00000.071710.0000
Template Total0.00128.710.0012
Template load0.00096.686110.0009
Template processing0.00031.996610.0003
Override
Cache load0.00074.788510.0007
General
dbfile0.002618.396280.0003
String conversion0.00000.041040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs