Forums / Setup & design / Extended Searchoptions

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

eZ debug

Timing: Jan 17 2025 23:53:19
Script start
Timing: Jan 17 2025 23:53:20
Module start 'content'
Timing: Jan 17 2025 23:53:20
Module end 'content'
Timing: Jan 17 2025 23:53:21
Script end

Main resources:

Total runtime1.0369 sec
Peak memory usage4,096.0000 KB
Database Queries202

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0097 591.3359180.8438
Module start 'content' 0.00970.8966 772.1797572.4141
Module end 'content' 0.90630.1305 1,344.5938337.3828
Script end 1.0369  1,681.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3991210.0002
Check MTime0.00150.1477210.0001
Mysql Total
Database connection0.00100.093910.0010
Mysqli_queries0.957692.35262020.0047
Looping result0.00220.20862000.0000
Template Total0.999096.320.4995
Template load0.00200.196320.0010
Template processing0.997096.146220.4985
Template load and register function0.00010.013010.0001
states
state_id_array0.00070.065710.0007
state_identifier_array0.00170.164520.0009
Override
Cache load0.00170.1658350.0000
Sytem overhead
Fetch class attribute can translate value0.00160.151130.0005
Fetch class attribute name0.00090.087760.0002
XML
Image XML parsing0.00100.096630.0003
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00550.5337270.0002
String conversion0.00000.001130.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs