Problem with EAN datatype

Author Message

Marcus Ilgner

Tuesday 25 November 2003 1:52:32 am

Hi everyone,

I'm currently trying to create an EAN datatype for ezPublish. I took a look at the datatype tutorial and also the source for the ISBN type.
The admin interface shows the new extension as installed and active but when I try to add the type to my product class it doesn't show up in the list.
This is my file structure (in the extension directory). Can anyone tell me if there's something missing?

ean/datatypes/ezean/ezeantype.php
ean/design/standard/templates/content/datatype/edit/ezean.tpl
ean/design/standard/templates/content/datatype/view/ezean.tpl
ean/settings/content.ini.append
ean/settings/design.ini.append

I also tried to install the ISSN data type from the eZ homepage and it also shows up as active extension but here again no ISSN type is available. They are both listed in site.ini.append as active, too. I tried clearing the caches, logging out and in again but to no avail.

Any ideas?
Greetings
Marcus

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

Main resources:

Total runtime0.5891 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 587.9141152.6250
Module start 'layout' 0.00480.0026 740.539139.4453
Module start 'content' 0.00740.5801 779.9844404.1406
Module end 'content' 0.58750.0016 1,184.12508.1641
Script end 0.5890  1,192.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5132160.0002
Check MTime0.00130.2149160.0001
Mysql Total
Database connection0.00080.138510.0008
Mysqli_queries0.552193.7286460.0120
Looping result0.00040.0730440.0000
Template Total0.560495.120.2802
Template load0.00210.350720.0010
Template processing0.558494.785220.2792
Template load and register function0.00020.035310.0002
states
state_id_array0.00170.289310.0017
state_identifier_array0.00090.156020.0005
Override
Cache load0.00160.2692160.0001
Sytem overhead
Fetch class attribute can translate value0.00090.148910.0009
Fetch class attribute name0.00060.104110.0006
XML
Image XML parsing0.00010.021210.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00060.1054100.0001
String conversion0.00000.001040.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs