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

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 31 2025 03:35:33
Script start
Timing: Jan 31 2025 03:35:33
Module start 'layout'
Timing: Jan 31 2025 03:35:33
Module start 'content'
Timing: Jan 31 2025 03:35:33
Module end 'content'
Timing: Jan 31 2025 03:35:33
Script end

Main resources:

Total runtime0.0226 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.0313151.1953
Module start 'layout' 0.00460.0032 739.2266220.6563
Module start 'content' 0.00780.0133 959.88281,001.7734
Module end 'content' 0.02110.0015 1,961.656337.9922
Script end 0.0226  1,999.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.8222140.0002
Check MTime0.00125.2183140.0001
Mysql Total
Database connection0.00041.593510.0004
Mysqli_queries0.00229.696930.0007
Looping result0.00000.040110.0000
Template Total0.00114.810.0011
Template load0.00083.704010.0008
Template processing0.00021.053210.0002
Override
Cache load0.00052.412410.0005
General
dbfile0.00114.701380.0001
String conversion0.00000.031740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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