textfield alignment

Author Message

ttkt ttkt

Friday 11 November 2005 9:56:15 am

hi, 1 have a registration page with the first and last name fields, and other fields for it. i would like to change the textfield length of first and last name, may i know where to change?

i understand that the registration page is using the same "box" class as "new forum reply" page. see below.

<tr>
        <td>
	<input class="box" type="text" size="70" name="ContentObjectAttribute_ezstring_data_text_10914" value="" />		
          </td>		
	</tr>
	
	<tr>
	<td>
	<textarea class="box" name="ContentObjectAttribute_data_text_10915" cols="70" rows="10"></textarea>		</td>
	</tr>

how do i rename the class? because the registration page and "new forum reply" page layouts look different if i were to do css override for "box" class.

or if possible, allow me to edit the textfield length would be good.

Gurudutt Verma

Tuesday 15 November 2005 1:53:10 am

Hi

I will suggest you not override box because that will effect on your complete site where ever that tag is used I will say create new css class similar to box class, just copy the complete box class from core.css and place it in your stylesheet in your siteaccess and include that from pagelayout.

To create your css file
1- Create a file here
design/[yoursiteaccess]/stylesheets/[yourcssfilename].css

2. Copy/create box_a class or any css class to this file.

3. Include this file in pagelayout.tpl
Try to use ezdesign operator see the link.
http://ez.no/products/ez_publish_cms/documentation/customization/custom_design/introduction

I hope this will help you.

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 22:12:44
Script start
Timing: Jan 18 2025 22:12:44
Module start 'layout'
Timing: Jan 18 2025 22:12:44
Module start 'content'
Timing: Jan 18 2025 22:12:45
Module end 'content'
Timing: Jan 18 2025 22:12:45
Script end

Main resources:

Total runtime0.7942 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.0054 589.0391152.6250
Module start 'layout' 0.00540.0030 741.664139.4297
Module start 'content' 0.00840.7844 781.0938495.9531
Module end 'content' 0.79280.0014 1,277.04698.1875
Script end 0.7942  1,285.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3964160.0002
Check MTime0.00130.1590160.0001
Mysql Total
Database connection0.00080.104810.0008
Mysqli_queries0.748694.2572540.0139
Looping result0.00090.1172520.0000
Template Total0.760795.820.3803
Template load0.00180.225120.0009
Template processing0.758995.545720.3794
Template load and register function0.00020.022710.0002
states
state_id_array0.00090.108310.0009
state_identifier_array0.00540.683220.0027
Override
Cache load0.00140.1814200.0001
Sytem overhead
Fetch class attribute can translate value0.00070.082820.0003
Fetch class attribute name0.00170.219230.0006
XML
Image XML parsing0.00140.175120.0007
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00240.3055160.0002
String conversion0.00000.001240.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
5content/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs