javascript in articles , phppgads , banners

Author Message

Andre Felipe Machado

Monday 27 December 2004 6:07:28 am

Hello,
I am trying to insert javascript in articles of ezpublish 3.5.0, or templates of news and other selected pages.
I have a phppgads working install (a phpadsnew postgresql port).
By reading docs and forums, tried some alternatives, without success.
http://www.ez.no/ez_publish/documentation/customization/tips_tricks/insert_javascript_call_inside_ezpub_document
did not work as well.
I found the phpadsnew extension, but the dump is different from phppgads and many old pages will have to remain for a while (or forever..) with the previous phppgads calls.
I tried < html > , { html } < div >, { literal} , < literal > tags but ez always removed them or only displayed the code.
What is the reasonable approach to use phppgads (phpadsnew) banners in ezpublish? The extension is the only way to go? There is a phppgads extension?
Please, point some url with aditional documentation, howto.
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

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 00:15:54
Script start
Timing: Jan 19 2025 00:15:54
Module start 'layout'
Timing: Jan 19 2025 00:15:54
Module start 'content'
Timing: Jan 19 2025 00:15:55
Module end 'content'
Timing: Jan 19 2025 00:15:55
Script end

Main resources:

Total runtime0.9586 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.0313152.6406
Module start 'layout' 0.00610.0034 740.671939.4766
Module start 'content' 0.00950.9471 780.1484468.9688
Module end 'content' 0.95670.0019 1,249.11728.1250
Script end 0.9585  1,257.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4043160.0002
Check MTime0.00160.1690160.0001
Mysql Total
Database connection0.00090.098710.0009
Mysqli_queries0.911895.1171460.0198
Looping result0.00050.0504440.0000
Template Total0.903894.320.4519
Template load0.00270.284120.0014
Template processing0.901093.998920.4505
Template load and register function0.00010.015010.0001
states
state_id_array0.00150.154710.0015
state_identifier_array0.00140.148720.0007
Override
Cache load0.00200.2111160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.059110.0006
Fetch class attribute name0.00080.084620.0004
XML
Image XML parsing0.00290.301810.0029
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00320.3331160.0002
String conversion0.00000.001140.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs