Skip to main content

Categories

FLEXIcontent provides six frontend modules for displaying items, categories, search forms, filters, maps and tag clouds. Configure a module from Extensions → Modules.

This module displays a list of categories from one parent category.

:::info Source This page is generated from modules/mod_flexicategories/mod_flexicategories.xml and the official FLEXIcontent 5.x language files. :::

Basic​

Template Layout​

note

Please set layout parameters in Layout: ... TAB. CSS/HTML developers please read: ** Custom templates HOW-TO **

OptionDescriptionTypeValuesDefault
Layout
layout
Choose a layout to render your modulefclayout—default

Basic Configuration​

OptionDescriptionTypeValuesDefault
Parent Category
parent
Choose a parent category.category——
Empty categories
show_empty_cats
Select to skip categories that have zero items in them and in their sub-categoriesmultilist0 = Jhide
1 = Jshow
1 (Jshow)
# First Subcategories
count
Select the number of first level subcategories to display. Default is all.list0 = Jall
1 = J1
2 = J2
3 = J3
4 = J4
5 = J5
6 = J6
7 = J7
8 = J8
9 = J9
10 = J10
0 (Jall)

Information shown​

OptionDescriptionTypeValuesDefault
Category Descriptions
show_description
Show or hide category descriptions.radio0 = Jhide
1 = Jshow
0 (Jhide)
Number of Articles (cached)
numitems
Show or hide number of articles. This is updated every e.g. 1 hour, please check value of FLEXIcontent advanced cache time in component parametersradio0 = Jhide
1 = Jshow
0 (Jhide)

Subcategories​

OptionDescriptionTypeValuesDefault
Show Subcategories
show_children
Show or hide subcategories.radio0 = Jno
1 = Jyes
0 (Jno)
Maximum Level Depth
maxlevel
Select the maximum level depth for each subcategory. Default is all.list0 = Jall
1 = J1
2 = J2
3 = J3
4 = J4
5 = J5
6 = J6
7 = J7
8 = J8
9 = J9
10 = J10
0 (Jall)

Image​

OptionDescriptionTypeValuesDefault
Show image
show_description_image
Show/Hide image, also select image sourcemultilist0 = Jno
1 = Jyes
0 (Jno)
Image source
cat_image_source
Select the source of the image. You can either choose image defined in category parameters (if available) or automatically extract the first image found in the descriptionradio0 = Extract from description
1 = Use image parameter
2 = Try parameter then extract
2 (Try parameter then extract)
Link image
cat_link_image
Link image to category viewradio0 = No
1 = Yes
1 (Yes)
Processing method
cat_image_method
Method of creating the image thumbnail, scale: scales to fit both dimensions, crop: scales the image and as soon as one dimension fits the other dimension is cropped to the given sizeradio0 = Scale
1 = Crop
1 (Crop)
Width
cat_image_width
Widthtext—24
Height
cat_image_height
Heighttext—24
Image position
cat_image_float
The image position in the blockradioleft = Left
right = Right
left (Left)
Default image
cat_default_image
Default image for categories without onemedia——
Image WebP
cat_image_webp
Create webp via phpThumb (f=webp). If browser support webp that will be display, or using jog fallback.radio0 = Jno
1 = Jyes
0 (Jno)

Hide/Show Module​

These rules specify when module contents will be created (thus shown) or not created (thus hidden).

OptionDescriptionTypeValuesDefault
Combine Rules
combine_show_rules
Either require any or both VIEWS rules and PHP expression rule, in order to show the moduleradioOR = OR
AND = And
AND (And)

Clients​

note

Please note that if Joomla Caching is enabled inside Joomla Global Configuration then - either enable 'Platform specific caching' (note that 'tablet' is detected as 'mobile') - or disable caching inside 'Advanced setting' TAB of this module if none of the above is done then this setting will be ignored

OptionDescriptionTypeValuesDefault
Show in clients
show_in_clients
Select to show in desktops, tablets, mobilesfccheckbox——

Views (category, item, etc) Rules​

OptionDescriptionTypeValuesDefault
Show in views
show_in_views
Select view in which module will be shownfccheckbox——

PHP Expresion Rule​

OptionDescriptionTypeValuesDefault
Enable Rule
enable_php_rule
You can disable rule without removing the rule 's entered textmultilist0 = No
1 = Yes
0 (No)
PHP rule code
php_rule
The given PHP code is execute and last statement must return a boolean value (via 'return' statement) which will used to decide to show or not the moduletextarea——

Layout: Options of selected Layout​

Layout Options specific to the chosen template layout

Advanced​

OptionDescriptionTypeValuesDefault
Heading Style
item_heading
Set the heading style to use.list1 = Jh1
2 = Jh2
3 = Jh3
4 = Jh4
5 = Jh5
4 (Jh4)
Modules field moduleclass sfx label
moduleclass_sfx
Modules field moduleclass sfx desctextarea——
Modules field caching label
owncache
Modules field caching desclist1 = Use global
0 = Modules field value nocaching
1 (Use global)
Modules field cache time label
cache_time
Modules field cache time desctext—900