Embedding php code in templates?

Author Message

zach krumm

Saturday 25 June 2005 10:05:15 am

Does anyone know how to best accomplish this. It would make my life much easier, as I am trying to allow articles to be sorted by month without actually creating the month folders in the content tree.

Thanks.

*Edit*
My apologies, I'm new to the forums and did some searching and was able the find the answers I needed. This post could just as well be deleted.
*Edit*

Ekkehard Dörre

Saturday 25 June 2005 11:06:15 pm

Hi,

for other searchies:
http://ez.no/ez_publish/documentation/development/extensions/building_an_ez_publish_module

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

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 07:21:06
Script start
Timing: Jan 19 2025 07:21:06
Module start 'layout'
Timing: Jan 19 2025 07:21:06
Module start 'content'
Timing: Jan 19 2025 07:21:06
Module end 'content'
Timing: Jan 19 2025 07:21:06
Script end

Main resources:

Total runtime0.0142 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 590.2734152.6250
Module start 'layout' 0.00520.0027 742.898439.4609
Module start 'content' 0.00790.0045 782.359489.3359
Module end 'content' 0.01250.0017 871.695330.3047
Script end 0.0142  902.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002316.5210140.0002
Check MTime0.00107.0384140.0001
Mysql Total
Database connection0.00085.944110.0008
Mysqli_queries0.002416.724430.0008
Looping result0.00000.090810.0000
Template Total0.00149.910.0014
Template load0.00075.224610.0007
Template processing0.00074.604310.0007
Override
Cache load0.00053.686510.0005
General
dbfile0.00031.968580.0000
String conversion0.00000.040340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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