Custom Tag problem with PDF

Author Message

Francesco Trucchia

Thursday 16 June 2005 3:03:28 pm

Hello guys,
i make new custom tags and they work good with the html output but when i run a pdf view the custom tags doesn't work. I need help. I try to clear all cache but nothing done. Really I don't Know.

Thanks

Cphp

--
Francesco Trucchia
CTO

ft@ideato.it
Skype: trucchia

ideato srl - web ideas for sale
http://www.ideato.it

Per Henrik Johansen

Tuesday 13 December 2005 3:50:21 am

Hi,

I try the same, that is the factbox is not showing on the pdf output. I see that ez comes with a factbox template in the folder design/standard/templates/content/datatype/pdf/ezxmltags/ directory. I have tried to override it (it is actually a copy) and put the following in the override.ini.append.php:

[pdf_article_factbox]
Source=content/datatype/pdf/ezxmltext/factbox.tpl
MatchFile=pdf/article/factbox.tpl
Match[class_identifier]=article
Subdir=templates

When enabling template debug output, I can not see any reference for ez to try to look up this template.

Anyone know what could be wrong, and also, how to get decent debuginfo when applying pdf templetes since debug=inline not seem to work when in "pdf mode"?

Thanks,

Per Henrik

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 30 2025 21:45:43
Script start
Timing: Jan 30 2025 21:45:43
Module start 'layout'
Timing: Jan 30 2025 21:45:43
Module start 'content'
Timing: Jan 30 2025 21:45:43
Module end 'content'
Timing: Jan 30 2025 21:45:43
Script end

Main resources:

Total runtime0.0241 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 588.1328151.2109
Module start 'layout' 0.00450.0049 739.3438220.6875
Module start 'content' 0.00950.0131 960.0313997.9141
Module end 'content' 0.02260.0015 1,957.945329.9922
Script end 0.0241  1,987.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.2901140.0002
Check MTime0.00124.9746140.0001
Mysql Total
Database connection0.00072.704510.0007
Mysqli_queries0.003012.444330.0010
Looping result0.00000.054310.0000
Template Total0.00114.510.0011
Template load0.00093.565510.0009
Template processing0.00020.914310.0002
Override
Cache load0.00062.542610.0006
General
dbfile0.00114.473080.0001
String conversion0.00000.034640.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