attribute_edit_gui and ezcountry problem

Author Message

Bernhard Reiter

Thursday 17 March 2005 3:08:02 am

Hi,
I have installed the ezcountry datatype extension.
Then i have added an country attribute to the user class.
And in the admin interface all works fine, but then an normal visitor tries to sign up for the site, instead of an select just an normal input is shown.

part of the template code of the register.tpl:

<input type="hidden" name="ContentObjectAttribute_id[]" value="{$my_country.contentclass_attribute.id}" />
<div class="block">
<label>{$my_country.contentclass_attribute.name}</label><div class="labelbreak"></div>
{attribute_edit_gui attribute=$my_country}
</div>

From my understanding attribute_edit_gui should figure out the right datatype and show the corrresponding template for it.

Bernhard Reiter

Thursday 17 March 2005 3:12:56 am

Sorry, big stupid mistake from my side.
Just forget it ;-)

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 12:45:38
Script start
Timing: Jan 19 2025 12:45:38
Module start 'layout'
Timing: Jan 19 2025 12:45:38
Module start 'content'
Timing: Jan 19 2025 12:45:39
Module end 'content'
Timing: Jan 19 2025 12:45:39
Script end

Main resources:

Total runtime1.1754 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.2813152.6406
Module start 'layout' 0.00710.0034 741.921939.4609
Module start 'content' 0.01051.1635 781.3828425.2500
Module end 'content' 1.17400.0013 1,206.63288.1406
Script end 1.1753  1,214.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2622160.0002
Check MTime0.00130.1089160.0001
Mysql Total
Database connection0.00070.058910.0007
Mysqli_queries1.137196.7488520.0219
Looping result0.00050.0439500.0000
Template Total1.129896.120.5649
Template load0.00190.164020.0010
Template processing1.127895.955720.5639
Template load and register function0.00020.018710.0002
states
state_id_array0.00210.176510.0021
state_identifier_array0.00200.170620.0010
Override
Cache load0.00160.1332130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.044210.0005
Fetch class attribute name0.00140.120920.0007
XML
Image XML parsing0.00010.009510.0001
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00130.1090100.0001
String conversion0.00000.000640.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
2content/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
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: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs