Question about kernel & Extensions !

Author Message

Selmah Maxim

Tuesday 22 July 2003 12:16:33 am

Hi ..

I don`t know if this big problem if I had write new modules in /kernel/ and new datatypes and workflow in kernel , is this will effect the svn up ?

should I move it to /extensions/ folder ?
if I move to extensions folder, can I make the users role via admin site for modules ?

thx.

Selmah Maxim

Wednesday 23 July 2003 12:27:50 am

any1 ?

I have tried the tutorial about this which I found in documentation, but didn`t work !

Jan Borsodi

Wednesday 23 July 2003 12:55:16 am

All new features (modules, design etc.) should be placed in an extension. Using extension makes it so much easier to do upgrades.

Could you explain what your problems were?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Wednesday 23 July 2003 1:00:56 am

when I browse /en/myextension/hello , i get module not found, and i have done all what i read here :

http://ez.no/developer/ez_publish_3/documentation/development/extensions/module/hello_world

Jan Borsodi

Wednesday 23 July 2003 1:13:56 am

Is 'en' a siteaccess and is 'myextension' the name of the module or the extension name?
If you have followed the example the url to the module is
/mymodule/hello or /en/mymodule/hello

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Wednesday 23 July 2003 1:31:14 am

I have tried every thing ! :( no result

Selmah Maxim

Wednesday 23 July 2003 1:43:21 am

I had follow up again the tutorial, step by step, and module not found, maybe there is bug, or the tutorial is wrong ?!

Selmah Maxim

Wednesday 23 July 2003 1:54:04 am

its work now... But the strange thing that I didn`t change anything at all !

thx anyway !

Paul Forsyth

Wednesday 23 July 2003 2:35:39 am

A tea break often helps i find!

Though, i have found similar things with 3.1, trying again later sometimes fixes it...

paul

Selmah Maxim

Wednesday 23 July 2003 3:13:43 am

strange .. i had take my luch break after that I had copied the ext. module to another site (was in ez32/ now ez32Test/) and I had made the site.ini changes but the ext. module want work ... the break didn`t help :)

any clew ?

btw ... I think its will be useful if there are dubeg just for ext.s !

Paul Forsyth

Wednesday 23 July 2003 3:21:26 am

As you know you can use the ezdebug routines to debug your extensions. But maybe what you need is a php debugger.

There are a few around, but the last time i tried to set one up (using eclipse) i failed miserably.

Paul

Selmah Maxim

Wednesday 23 July 2003 3:32:59 am

no, not this what i need ... I don`t know why the ext. doesn`t work, I have just copied, and there is work fine, now will be nice if ezp dubeg write a notes what the error !

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 19:34:43
Script start
Timing: Jan 18 2025 19:34:43
Module start 'layout'
Timing: Jan 18 2025 19:34:43
Module start 'content'
Timing: Jan 18 2025 19:34:44
Module end 'content'
Timing: Jan 18 2025 19:34:44
Script end

Main resources:

Total runtime0.6671 sec
Peak memory usage4,096.0000 KB
Database Queries86

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9219152.6250
Module start 'layout' 0.00490.0038 740.546939.4453
Module start 'content' 0.00870.6569 779.9922654.5313
Module end 'content' 0.66560.0015 1,434.523420.1563
Script end 0.6671  1,454.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5602160.0002
Check MTime0.00140.2098160.0001
Mysql Total
Database connection0.00080.113010.0008
Mysqli_queries0.594189.0555860.0069
Looping result0.00080.1253840.0000
Template Total0.636195.420.3181
Template load0.00230.351220.0012
Template processing0.633894.999420.3169
Template load and register function0.00010.021610.0001
states
state_id_array0.00080.118010.0008
state_identifier_array0.00140.213320.0007
Override
Cache load0.00200.3069440.0000
Sytem overhead
Fetch class attribute can translate value0.00130.194730.0004
Fetch class attribute name0.00170.2563130.0001
XML
Image XML parsing0.00080.114130.0003
class_abstraction
Instantiating content class attribute0.00000.0046140.0000
General
dbfile0.00080.1184170.0000
String conversion0.00000.001440.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
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs