Change the width of a form item

Author Message

Clemens T

Thursday 08 September 2005 4:38:29 am

Heya all,
I'd like to change the width of the subject line in my template.

{attribute_view_gui attribute=$node.object.data_map.subject}

This code just shows the input-field, but how can I adjust the width without changing the MAX length of the subject line (because I want that one to be unlimited).

Thanks!
Clemens

Albert Hornos

Friday 09 September 2005 1:49:06 am

Hi Clemens!
I don't know if I've understood so well and I don't know what datatype is your subject attribute (perhaps a text line?). I changed my with directly in ezstring.tpl (or some other datatype in /design/standard/classes/datatype/view/ezxxx.tpl and if you prefer you could make an override).

I hope it will be a help for you.

Albert.

Clemens T

Friday 09 September 2005 1:54:32 am

Hey Albert!
Thanks for the reply,
I'm not sure that is what I'm looking for. I'm talking about the feedback-form (so the standard feedback-form class) and the subject attribute of that class... and I would like to give that specific input textbox a specified width.. apart from all other input-text-boxes.

I didn't change the feedback-form or anything, so it's the default Subject attribute, single textline.

Got a idea?
Thanks!
(ps: I'll be trying your solution as well)

Aleksander Medevedev

Thursday 23 February 2006 5:48:45 am

Hey Everybody!

I have the same problem and struggling to sol that?

I think many faces the same problem?
Any solutions?

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 01:06:24
Script start
Timing: Jan 19 2025 01:06:24
Module start 'layout'
Timing: Jan 19 2025 01:06:24
Module start 'content'
Timing: Jan 19 2025 01:06:25
Module end 'content'
Timing: Jan 19 2025 01:06:25
Script end

Main resources:

Total runtime1.5177 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 590.2734152.6250
Module start 'layout' 0.00680.0048 742.898439.4453
Module start 'content' 0.01161.5044 782.3438515.5703
Module end 'content' 1.51610.0016 1,297.914112.1641
Script end 1.5177  1,310.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2513160.0002
Check MTime0.00140.0951160.0001
Mysql Total
Database connection0.00130.087010.0013
Mysqli_queries1.466396.6157620.0237
Looping result0.00090.0577600.0000
Template Total1.477497.320.7387
Template load0.00250.166620.0013
Template processing1.474997.179120.7374
Template load and register function0.00080.050310.0008
states
state_id_array0.00120.075910.0012
state_identifier_array0.00300.196520.0015
Override
Cache load0.00190.1283270.0001
Sytem overhead
Fetch class attribute can translate value0.00100.066730.0003
Fetch class attribute name0.00140.094040.0004
XML
Image XML parsing0.00030.021930.0001
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00060.0423100.0001
String conversion0.00000.000540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs