Forums / General / Create pdf from search results showing all results?

Create pdf from search results showing all results?

Author Message

Joanie Chembars

Friday 01 April 2005 7:58:00 am

Hi -
I found here on the forums how to include the pdf of one item found through a search on the search results page.......
What I am wondering is if there is a way to create one pdf file that will show all of the articles found through a search?
Thanks -
Joanei

Kåre Køhler Høvik

Thursday 07 April 2005 1:26:11 am

Hi

You can use the template operator for searching to reproduce the search result, and generate a PDF from the result. You'll need to have a dedicated template override to generate the PDF, and I suggest passing the search parameters as user parameters.

Documentation:
Search operator - http://ez.no/ez_publish/documentation/reference/data_fetching/content/search
User parameters - http://www.ez.no/ez_publish/documentation/customization/custom_design/user_specified_parameters

Kåre Høvik

Joanie Chembars

Monday 01 August 2005 10:58:34 am

Hi again --
Is there any way I could get you to give me a bit more detailed description of how I should do this? I just can't seem to get my brain around it this afternoon.........
thanks a million

guess I should add that I need to combine results from 5 different classes -each having its own pdf display override file

Joanie Chembars

Tuesday 09 August 2005 6:30:42 am

WooHOo--
I figured this out and it rocks!! Thanks for the guidance on passing the variables -- I finally had the time to dig my heels in and work on this.....

eZ debug

Timing: Jan 18 2025 19:33:25
Script start
Timing: Jan 18 2025 19:33:25
Module start 'content'
Timing: Jan 18 2025 19:33:25
Module end 'content'
Timing: Jan 18 2025 19:33:25
Script end

Main resources:

Total runtime0.6514 sec
Peak memory usage4,096.0000 KB
Database Queries197

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0083 588.9688180.8203
Module start 'content' 0.00830.5086 769.7891545.6016
Module end 'content' 0.51680.1346 1,315.3906332.7500
Script end 0.6514  1,648.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.6180210.0002
Check MTime0.00140.2135210.0001
Mysql Total
Database connection0.00110.168210.0011
Mysqli_queries0.583189.51161970.0030
Looping result0.00190.29511950.0000
Template Total0.622095.520.3110
Template load0.00210.323020.0011
Template processing0.619995.155620.3099
Template load and register function0.00010.019710.0001
states
state_id_array0.00100.146910.0010
state_identifier_array0.00070.111120.0004
Override
Cache load0.00170.2684230.0001
Sytem overhead
Fetch class attribute can translate value0.00130.203130.0004
Fetch class attribute name0.00130.203650.0003
XML
Image XML parsing0.00080.115330.0003
class_abstraction
Instantiating content class attribute0.00000.001850.0000
General
dbfile0.00180.2815260.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs