about bug class

Author Message

kevin wei

Tuesday 11 January 2005 10:58:45 pm

i found it is very interesting that in ez.no's bug section, when one post a new bug he cannot see status field, but in view mode , he can see its status, such as
opening, new or closed.

how can u do this?

thx!

kevin wei

Thursday 13 January 2005 5:14:10 am

does anyone know?
i want create i bug report class also, and just let user submit bugs,and only can
set status to open/closed/pending.

thankx

Frederik Holljen

Thursday 13 January 2005 6:01:33 am

This is very simple. Create a custom override for the edit page of your bug class and display only the edit_gui for the attributes that you want the user to see.

kevin wei

Thursday 13 January 2005 4:37:30 pm

thx!

i have a little concept of how ezp doing things, but not realize that ezp's edit mode can be modified also.

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 19 2025 14:00:58
Script start
Timing: Jan 19 2025 14:00:58
Module start 'layout'
Timing: Jan 19 2025 14:00:58
Module start 'content'
Timing: Jan 19 2025 14:00:58
Module end 'content'
Timing: Jan 19 2025 14:00:58
Script end

Main resources:

Total runtime0.0235 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.0061 589.0313152.6094
Module start 'layout' 0.00610.0027 741.640639.4297
Module start 'content' 0.00880.0127 781.070389.2891
Module end 'content' 0.02140.0021 870.359434.3047
Script end 0.0235  904.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.9531140.0002
Check MTime0.00114.8087140.0001
Mysql Total
Database connection0.00114.739810.0011
Mysqli_queries0.002410.198130.0008
Looping result0.00000.054710.0000
Template Total0.00166.710.0016
Template load0.00083.498410.0008
Template processing0.00083.192310.0008
Override
Cache load0.00052.329910.0005
General
dbfile0.00229.173580.0003
String conversion0.00000.033440.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