Forums / Developer / Module Tutorial (Part 1) question!

Module Tutorial (Part 1) question!

Author Message

Frode Marton Meling

Monday 29 September 2003 7:14:31 am

In your module tutorial (http://ez.no/developer/ez_publish_3/documentation/development/extensions/module/module_tutorial_part_1), you say the following:

...
Then we create folder under the "standard" design.
/design/standard/templates/mymodule/
Inside folder: extension/mymodule/modules/mymodule,
we put all the files expect the "list.tpl" and "module.ini.append" -files.
Inside folder: extension/mymodule/settings,
we put the module.ini.append file.
Inside folder: /design/standard/templates/mymodule/,
we will put the list.tpl -file.
...
Why do the list.tpl file have to be in the /design/standard/templates folder? Why can't the tpl be in /extension/myModule/design/standard/templates?

I thought the main reason for the extension system, was to seperarate the extensions for easy install.

PS! When is Part 2 coming (since it is called Part 1)

Frode

eZ debug

Timing: Jan 18 2025 15:16:06
Script start
Timing: Jan 18 2025 15:16:06
Module start 'content'
Timing: Jan 18 2025 15:16:06
Module end 'content'
Timing: Jan 18 2025 15:16:06
Script end

Main resources:

Total runtime0.0193 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 587.7109180.8359
Module start 'content' 0.00620.0042 768.546989.7734
Module end 'content' 0.01040.0087 858.320366.7031
Script end 0.0192  925.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002110.7576120.0002
Check MTime0.00105.3924120.0001
Mysql Total
Database connection0.00084.306210.0008
Mysqli_queries0.003920.318940.0010
Looping result0.00000.087820.0000
Template Total0.008543.910.0085
Template load0.00073.890610.0007
Template processing0.007739.957410.0077
Override
Cache load0.00052.771010.0005
General
dbfile0.003216.3590100.0003
String conversion0.00000.024730.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs