Extensions and datatype file locaions

Author Message

Douglas Hammond

Tuesday 24 June 2003 7:57:44 am

I have enabled my extension directory

put my new datatype in it

put it can fins the new datatype unless i add

extension/newtype/settings/content.ini.append

[DataTypeSettings]
RepositoryDirectories[]=extension/newtype/kernel/classes/datatypes
AvailableDataTypes[]=newtype

is there a way so i don't have to put the full path in the RepositoryDire to get it to work?

Seems od, this would me anytime i add an extension and move it to another site i would have to change the settings in that extensoin settings.

I've tried

ExtensionDirectories[]=newtype

but it dosn't do anything to eiather.

Any hints?

Any docs that show how to build an extension?

Jerry Jalava

Tuesday 22 July 2003 4:20:50 pm

Hi Douglas,

This might come in handy: "http://www.ez.no/developer/ez_publish_3/documentation/development/extensions/introduction_to_extensions"

And this also: "http://www.ez.no/developer/ez_publish_3/documentation/development/extensions/datatypes/new_datatype_"

Regards,
Jerry

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 31 2025 01:16:53
Script start
Timing: Jan 31 2025 01:16:53
Module start 'layout'
Timing: Jan 31 2025 01:16:53
Module start 'content'
Timing: Jan 31 2025 01:16:54
Module end 'content'
Timing: Jan 31 2025 01:16:54
Script end

Main resources:

Total runtime0.8246 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2500151.2266
Module start 'layout' 0.00510.0035 739.4766220.7188
Module start 'content' 0.00860.8152 960.19534,198.3047
Module end 'content' 0.82380.0008 5,158.50007.8281
Script end 0.8246  5,166.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4134160.0002
Check MTime0.00120.1500160.0001
Mysql Total
Database connection0.00060.073810.0006
Mysqli_queries0.749290.8580540.0139
Looping result0.00040.0472520.0000
Template Total0.777094.220.3885
Template load0.00210.255320.0011
Template processing0.774993.970220.3874
Template load and register function0.00140.174610.0014
states
state_id_array0.00080.096810.0008
state_identifier_array0.00070.086520.0004
Override
Cache load0.00180.2158230.0001
Sytem overhead
Fetch class attribute can translate value0.00450.550920.0023
Fetch class attribute name0.00200.244220.0010
XML
Image XML parsing0.00020.021020.0001
class_abstraction
Instantiating content class attribute0.00000.001020.0000
General
dbfile0.00100.1220100.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs