Extended Searchoptions

Author Message

Moritz F

Sunday 11 April 2010 8:19:03 am

I've just started to work with eZPublish for a upcoming project and there are a few questions around some solutions included in eZ.

At first I want to build a travel site where the user can define some values (travel by car or by bus/ rating for hotel...). This form should access a database of content objects (the different travels/hotels) and should show some defined fields of the entry(s) that fit to the search. Is this easy to build with eZ Publish itself or with eZFind?

Nicolas Pastorino

Monday 12 April 2010 2:38:52 am

Hi Moritz and welcome to the eZ Community,

Your description sounds like a sort of advanced search, and yes, you can achieve this type of things with eZ Find, very easily. While your description is short for a whole project, you may want to give us some more insight so that we can elaborate!

Cheers and talk soon,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Moritz F

Monday 12 April 2010 9:45:17 am

Hey Nicolas,

thanks for your fast reply. I just wanted to outline the main technical aspects of the project to keep the answer simple.

I'm planning to have a database where i add some project data (entries of tours). Therefore I need some additional tables that include the linked data such as the hotels/ the type of tour/ the countrys...

Thats kind of the backend of the project. In the frontend i would like to have this advanced search. In this search there are some fields to choose like the country/type of tour. I think this type of search does only include some fields and options of the database and should not be something like a free search. The german site "reise.de" is one example of such kind of search form. I hope this additional information can help you to rate the practicability in combination with eZ.

Nicolas Pastorino

Tuesday 13 April 2010 3:34:44 am

Hi Moritz,

If i understand correctly it is all about integrating third-party data. Given the need for a proper search on the latter, one working recipe can be the following :

Hope this helps a bit!
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Moritz F

Friday 16 April 2010 10:32:20 am

Hey,

thank you for your help and your detailed description.

I will try the solutions and report my status in this thread.

Moritz

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 18 2025 02:22:15
Script start
Timing: Jan 18 2025 02:22:15
Module start 'layout'
Timing: Jan 18 2025 02:22:15
Module start 'content'
Timing: Jan 18 2025 02:22:16
Module end 'content'
Timing: Jan 18 2025 02:22:16
Script end

Main resources:

Total runtime0.8052 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0313152.6250
Module start 'layout' 0.00580.0034 741.656339.4453
Module start 'content' 0.00920.7946 781.1016567.3359
Module end 'content' 0.80380.0013 1,348.437516.1719
Script end 0.8052  1,364.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3753160.0002
Check MTime0.00120.1552160.0001
Mysql Total
Database connection0.00120.147310.0012
Mysqli_queries0.748292.9209650.0115
Looping result0.00050.0651630.0000
Template Total0.771795.820.3859
Template load0.00230.288020.0012
Template processing0.769495.552120.3847
Template load and register function0.00020.021510.0002
states
state_id_array0.00100.126210.0010
state_identifier_array0.00060.080420.0003
Override
Cache load0.00190.2409350.0001
Sytem overhead
Fetch class attribute can translate value0.00090.105720.0004
Fetch class attribute name0.00100.125660.0002
XML
Image XML parsing0.00070.093120.0004
class_abstraction
Instantiating content class attribute0.00000.002170.0000
General
dbfile0.00070.0864160.0000
String conversion0.00000.001240.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 9

Time used to render debug report: 0.0002 secs