Forums / Setup & design / Content Filtering

Content Filtering

Author Message

Hadi Jadallah

Tuesday 13 January 2009 10:14:09 am

Hello

Am trying to setup something like http://ez.no/partners/worldwide_partners/
I looked everywhere and some times it seems am just missing the obvious.
If anyone can point me in the right direction, it would be appreciated.

Am running eZ 4.0.1 and the only docs I found where
http://ez.no/developer/forum/setup_design/filtering_avilable_classes_in_folder and
http://ez.no/ezpublish/documentation/incoming/http_post_to_url_conversion
but they are pretty old.

Any help here is appreciated.

Christophe Condomines

Tuesday 13 January 2009 11:35:08 am

The page you are talking about is just using a filter if there is a "view parameter" in the URL, generated by the html form.
They probably also use some extra module redirection to receive the request and finally show a standard view template.

But you're not explaining your needs neither your problem. You should make a more concrete question...

Regards.

Microblau SL
http://www.microblau.net

Heath

Tuesday 13 January 2009 1:25:16 pm

Here are a few (hopefully) helpful references.

[0] <i>http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/modules_and_views#view_parameters</i>
[1] <i>http://ez.no/doc/ez_publish/technical_manual/3_9/templates/basic_template_tasks#eztoc63487_4</i>

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Hadi Jadallah

Wednesday 14 January 2009 8:06:03 am

Hello

Thank you guys..
I found how to do the filtering....All I needed is the form with the hidden input with name=DestinationURL.
Then some template code to do the fetching of data on post back.

Took me ages to find enough information on how things work.
Specially that the page I posted uses someting ezposttoview which has been deprecated.

Cheers again.

Heath

Sunday 21 June 2009 3:42:36 pm

Hello Guys,

I know it has been a while since my last post on this subject.

We have recently published additional solutions and information
about this subject in an example module extension solution
called bcposttoview. http://projects.ez.no/bcposttoview

It includes a couple of different custom module views
by default to chose from which process and redirect
differently based on different needs and situations.

Ment as a useful out of the box solution or
example solution for the problem at hand.

This solution focuses mostly on the backend
redirection rather than the frontend templating.

We have also added an related article
into ezpedia about the subject / solution,
http://ezpedia.org/ez/solution_converting_html_form_post_variables_into_url_view_parameters

Hopefully more examples provided by the community of how to build these commonly desired solutions will aid others in the future.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

eZ debug

Timing: Jan 31 2025 00:31:55
Script start
Timing: Jan 31 2025 00:31:55
Module start 'content'
Timing: Jan 31 2025 00:31:55
Module end 'content'
Timing: Jan 31 2025 00:31:55
Script end

Main resources:

Total runtime0.2982 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0096 587.8281370.3047
Module start 'content' 0.00960.0146 958.13281,005.4844
Module end 'content' 0.02420.2739 1,963.61723,894.4141
Script end 0.2981  5,858.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00501.6829200.0003
Check MTime0.00140.4595200.0001
Mysql Total
Database connection0.00080.262610.0008
Mysqli_queries0.183661.57191410.0013
Looping result0.00170.55911390.0000
Template Total0.273491.710.2734
Template load0.00090.300510.0009
Template processing0.272591.403810.2725
Override
Cache load0.00060.212610.0006
Sytem overhead
Fetch class attribute can translate value0.00220.738210.0022
XML
Image XML parsing0.00030.097910.0003
General
dbfile0.01705.7124200.0009
String conversion0.00000.003130.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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