Filtered article lists

compat f2c pro compat 25 It's now possible to pre-define search criteria (filter) for a content type and create a menu link to the results page. We call this a Filtered article list.

A small example: You have a F2C content type called holidays with a field (single or multi-select) for country selection and a field for the type of holiday (also a select list). You can now create a Joomla menu link called "Family holidays in France" to F2C Search and pre-define that all holidays (articles) are filterd on country:France and holiday type:Family holiday.

How to configure the filters article list

In order to set the default values (filter) you first need to define a search and add the fields for which the deafult values will be set. Follow the steps below to create a page with filtered articles based on F2C form values.

Step 1: Create a new Search Form

Note: It is here where you define the layout of the 'results page' which works the same as the category blog layout of Joomla.

Step 2: Add the fields to the Search Form

Having defined the Search Form and layout of the final filtered article list, we now need to add the fields for which the default values (filter) will be defined. Click on the fields icon next to the title in the Search Forms Manager and add a field to the search form. Repeat the process for the fields you want to pre-define.

Step 3: Create new Filtered Article List

Now for setting the default values. Go to the Filtered Article List Manager and click new. Select the previously defined Search Form and add a title. A logical title will help if you have many filtered lists.

Step 4: Add the search field(s) and define the default value

Note: Only the fields added in the Search Form can be selected.

Step 5: Create a menu link to the F22C Search component to display the filtered list.

F2C Cheat-sheet

An overview of all template parameters (placeholders for your form data). These are used in your F2C intro and main template to parse the data from your submission forms into the Joomla article.

Download

Footer

Form2Content, a Joomla CCK Documentation © 2010 - 2015 Open Source Design | Powered by Form2Content