changing formular layout in adminsite

Author Message

Jimmy Hansson

Friday 11 April 2003 9:44:19 am

Hi, I've got a question about changing the form-layout in the adminsite.
Is it possible to change layout for just one class?
Here's two screens that shows what I'm talking about
The standard layout is that every input has it own row like this:
http://w1.581.telia.com/~u58106744/current.gif
My question is if you can change it so maybe 3-5 shorter fields are displayed after eachother like this:
http://w1.581.telia.com/~u58106744/wanted.gif

is it hard to to this?

Karsten Jennissen

Monday 14 April 2003 5:27:39 am

I am not sure how easy it will be but you would create an override template for editing that class. This will go into
/design/admin/override/templates/content/ and be named edit_class_N.tpl

Take a look at
/design/demo/override/templates/content/
for examples.

Karsten

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 18 2025 05:00:37
Script start
Timing: Jan 18 2025 05:00:37
Module start 'layout'
Timing: Jan 18 2025 05:00:37
Module start 'content'
Timing: Jan 18 2025 05:00:38
Module end 'content'
Timing: Jan 18 2025 05:00:38
Script end

Main resources:

Total runtime1.1700 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.0313152.6406
Module start 'layout' 0.00610.0035 740.671939.4766
Module start 'content' 0.00961.1586 780.1484459.0938
Module end 'content' 1.16820.0017 1,239.24228.1406
Script end 1.1699  1,247.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3057160.0002
Check MTime0.00150.1290160.0001
Mysql Total
Database connection0.00070.057410.0007
Mysqli_queries1.125696.2090540.0208
Looping result0.00080.0683520.0000
Template Total1.134196.920.5670
Template load0.00220.188520.0011
Template processing1.131996.741920.5659
Template load and register function0.00040.031310.0004
states
state_id_array0.00080.064310.0008
state_identifier_array0.00180.151520.0009
Override
Cache load0.00160.1389180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.074320.0004
Fetch class attribute name0.00110.093720.0005
XML
Image XML parsing0.00030.022720.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00070.0619100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs