Grid — category view
:::info Source
This page is generated from site/templates/grid/category.xml and the official FLEXIcontent 5.x language files.
:::
Template parameters
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
# Featuredlead_num | Number of featured items. Note effects items until featured number of items is reached, then all remains items in current and in next pages will be shown with 'standard' configuration | text | — | — |
Item tabset
Common
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Layout custom titlecustom_layout_title | This will be displayed to frontend user, e.g. as tooltip of frontend layout switcher | text | — | — |
Item title
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Title text colortitle_color | Color of title text | fccolor | — | none |
Title backgroundtitle_background | Color of title background | fccolor | — | none |
Title font sizetitle_font_size | Size of title text | text | — | none |
Label styling
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Backgroundlabel_bg_color | Select the background of your label | fccolor | — | none |
Text colorlabel_txt_color | Select the color of text label | fccolor | — | none |
Padding toplabel_pad_top | Internal top spacing | number | — | 8 |
Padding rightlabel_pad_right | Internal right spacing | number | — | 10 |
Padding leftlabel_pad_left | Internal left spacing | number | — | 10 |
Padding bottomlabel_pad_bottom | Internal bottom spacing | number | — | 8 |
Border radiuslabel_radius | Rounding of the label's borders | number | — | 3 |
commun Item box style
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Border radiusibox_radius | Rounding of the label's borders | text | — | 0px 0px 0px 0px |
Overlay coloroverlay_background | Select the background of your label | fccolor | — | rgba(0,0,0,0.4) |
Shadow box
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Shadow Xibox_shadow_x | Rounding of the label's borders | number | — | 0 |
Shadow yibox_shadow_y | Rounding of the label's borders | number | — | 0 |
Shadow bluribox_shadow_blur | Rounding of the label's borders | number | — | 20 |
Shadow spreadibox_shadow_spread | Rounding of the label's borders | number | — | 0 |
Backgroundibox_shadow_color | Select the background of your label | fccolor | — | rgba(0,0,0,0.2) |
Shadow hover effectibox_shadow_hover | Rounding of the label's borders | number | — | 50 |
Readon styling
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Backgroundreadon_bg_color | Select the background of your label | fccolor | — | none |
Text colorreadon_txt_color | Select the color of text label | fccolor | — | none |
Title font sizereadon_font_size | Size of title text | text | — | none |
Readon typereadon_type | Number of columns for the items. NOTE: this is the max value and actually number of columns displayed will depend to width of browser window | radio | — = Use Global0 = Text1 = Image | — |
Read more imagereadon_image | Select image to use instead of read more, this is maybe useful if your website is not multilingual | media | — | — |
Read more classreadon_class | Select class css to use instead of read more, this is maybe useful if your website is not multilingual | text | — | btn btn-default |
Lazy loading image
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use lazy loadinguse_lazy_loading | Set yes to use native browser lazy loading | radio | 0 = No1 = Yes | 1 (Yes) |
Featured items
Items featured tabset
Placement
Basic
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
columns sizeibox_minsize_feat | min size of column | text | — | 200px |
Items placementitem_placement_feat | Placement method for items, e.g. select as masonry tiles, to place them, so that no empty space gaps are between them, resembling the placement of masonry tiles 0 | radio | — = Use Global0 = Cleared1 = As masonry tiles | — |
Open items in popuplead_link_to_popup | Items will be opened in a modal popup window 0 | radio | — = Use Global0 = No1 = Yes | — |
Highlight itemshl_items_onnav_feat | Highlight currently 'active' and 'hovered' items by adding CSS classes 0 | radio | — = Use Global0 = No2 = On Hover | — |
Content / image placement
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Content Placement in regards to imagecontent_layout_feat | Select to placement content next, or above/below (cleared) or over (ovelayed) the item image. Note: overlayed will crop content that does not fit from the bottom part 3 | list | — = Use Global0 = Floated (Right)1 = Floated (Left)2 = Cleared (Above)3 = Cleared (Below)4 = Overlayed (Top)5 = Overlayed (Bottom)6 = Overlayed (Full) | — |
Content visible for overlayedcontent_display_feat | Select how image is fitted into the container 0 | radio | — = Use Global0 = Always visible2 = On mouse over | — |
Image fit for cleared / overlayedimg_fit_feat | Select how image is fitted into the container 1 | radio | — = Use Global0 = Auto-Fit1 = Auto-Fit and Stretch | — |
Height of contentcontent_height_fit_feat | Select yes to fix same height for each content 1 | radio | — = Use Global0 = Content height1 = Force same height | — |
Height of contentcontent_width_fit_feat | Select yes to fix same height for each content 1 | radio | — = Use Globalauto-fill = Auto-fillauto-fit = Auto-fit | auto-fill (Auto-fill) |
Readmore alignreadmore_align_feat | Number of columns for the items. NOTE: this is the max value and actually number of columns displayed will depend to width of browser window | radio | — = Use Globalleft = Leftcenter = Centerright = Right | center (Center) |
Styling
Items list box
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
background colorbox_background_color_feat | Items container's background color | fccolor | — | none |
padding top/bottombox_padding_top_bottom_feat | Items container's padding applied at top and bottom of the items | text | — | 0 |
padding left/rightbox_padding_left_right_feat | Items container's padding applied at left and right of the items | text | — | 0 |
margin topbox_margin_top_feat | Items container's margin applied at top and bottom of the items | text | — | 4rem |
margin bottombox_margin_bottom_feat | Items container's margin applied at top and bottom of the items | text | — | 4rem |
margin left/rightbox_margin_left_right_feat | Items container's margin applied at left and right of the items | text | — | 0 |
Item box
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
background coloribox_background_color_feat | This is the background color applied at each item | fccolor | — | none |
description coloribox_description_color_feat | This is the background color applied at each item | fccolor | — | none |
border widthibox_border_width_feat | This is the border width applied around the items | number | — | 0 |
border coloribox_border_color_feat | This is the border color applied around the items | fccolor | — | transparent |
padding top/bottomibox_padding_top_bottom_feat | This is the padding applied at top and bottom of the items | text | — | 0 |
padding left/rightibox_padding_left_right_feat | This is the padding applied at left and right of the items | text | — | 0 |
margin top/bottomibox_margin_top_bottom_feat | This is the margin applied at top and bottom of the items | text | — | 2rem |
margin left/rightibox_margin_left_right_feat | This is the margin applied at left and right of the items | text | — | 2rem |
Fields
(sub) Category block, at (sub-)category start
note
Warning: this makes sense, if you order your items by their category (1st level order), (2nd level order can be anything e.g. title)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enablelead_catblock | — | radio | — = Use Global0 = No1 = Yes | — |
Category titlelead_catblock_title | Show/hide the title of the category | radio | — = Use Global1 = Yes | — |
Text
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display descriptionlead_use_description | Show / hide the description text | radio | — = Use Global0 = No1 = Yes | — |
Strip HTML tags & cut textlead_strip_html | Strip HTML tags from the text and also cut it to a maximum length. NOTE: This will force read more to appear | radio | — = Use Global0 = No1 = Yes, Force Read More2 = Yes, if needed | — |
Introtext max lengthlead_cut_text | Auto cut introtext after x characters | text | — | — |
Image
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use imagelead_use_image | Extract the first image from the text or use the above field | radio | — = Use Global0 = No1 = Yes | — |
Image sourcelead_image | Select the source of the image. You can either choose an image field (if available) or automatically extract the first image found in the main text. | fcimage | — | — |
Field HTML as Imagelead_image_custom_display | You can use the HTML produced by any custom field in place of image. -- Leave blank: to use the above drop-down select box value, -- Note: image size and other parameters are not used, -- Write: like fieldname##varname e.g. for image fields use: imgfieldname##display_small, imgfieldname##display_medium, imgfieldname##display_large | text | — | — |
Field URL as Imagelead_image_custom_url | You can use the URL produced by any custom field in place of image. -- Leave blank: to use the above drop-down select box value, -- Note: image size and other parameters are applied to the given URL, -- Write: like fieldname##varname e.g. for image fields use: imgfieldname##display_small_src, imgfieldname##display_medium_src, imgfieldname##display_large_src | text | — | — |
Image Field Fallback (when image missing)lead_image_fallback_img | When image is missing, you can select to use some image as fallback, e.g. item introtext image when image field has no value, even if image field has default value | list | 0 = No fallback1 = Use introtext image2 = Use introtext image (ignore image field default image)3 = Use custom field | — |
Select a custom field Fallbacklead_fallback_field | — | fcimage | — | 0 |
Image positionlead_position | The image position in the block. | radio | — = Use Global0 = Left1 = Right | — |
Link imagelead_link_image | Open the item when clicking on the image | radio | — = Use Global0 = No1 = Yes | — |
Link tolead_link_image_to | If you are using an image field then you may use the custom link add to the image | radio | — = Use Global0 = Item1 = Custom link (image field) | — |
Intro image sizelead_image_size | Size of the intro images | radio | — = Use parameterss = Smallm = Mediuml = Largeo = Original | — |
Image widthlead_width | Image width | text | — | — |
Image heightlead_height | Image height | text | — | — |
Processing methodlead_method | Processing method | radio | — = Use Global0 = Scale1 = Crop | — |
Default images (per type)lead_default_images | Either enter an image-path relative to Joomla root folder: image-path or enter per type, comma separated: OTHER##image-path, type-alias1##image-path1, type-alias2##image-path2 | textarea | — | — |
Items featured tabset
Standard items
Items standard tabset
Placement
Basic
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
columns sizeibox_minsize_std | min size of column | text | — | 200px |
Items placementitem_placement | Placement method for items, e.g. select as masonry tiles, to place them, so that no empty space gaps are between them, resembling the placement of masonry tiles 1 | radio | — = Use Global0 = Cleared1 = As masonry tiles | — |
Open items in popupintro_link_to_popup | Items will be opened in a modal popup window 0 | radio | — = Use Global0 = No1 = Yes | — |
Highlight itemshl_items_onnav | Highlight currently 'active' and 'hovered' items by adding CSS classes 0 | radio | — = Use Global0 = No2 = On Hover | — |
Content / image placement
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Content Placement in regards to imagecontent_layout | Select to placement content next, or above/below (cleared) or over (ovelayed) the item image. Note: overlayed will crop content that does not fit from the bottom part 3 | list | — = Use Global0 = Floated (Right)1 = Floated (Left)2 = Cleared (Above)3 = Cleared (Below)4 = Overlayed (Top)5 = Overlayed (Bottom)6 = Overlayed (Full) | — |
Content visible for overlayedcontent_display | Select how image is fitted into the container 0 | radio | — = Use Global0 = Always visible2 = On mouse over | — |
Image fit for cleared / overlayedimg_fit | Select how image is fitted into the container 1 | radio | — = Use Global0 = Auto-Fit1 = Auto-Fit and Stretch | — |
Height of contentcontent_height_fit_stan | Select yes to fix same height for each content 1 | radio | — = Use Global0 = Content height1 = Force same height | — |
Height of contentcontent_width_fit | Select yes to fix same height for each content 1 | radio | — = Use Globalauto-fill = Auto-fillauto-fit = Auto-fit | auto-fill (Auto-fill) |
Readmore alignreadmore_align | — | radio | — = Use Globalleft = Leftcenter = Centerright = Right | center (Center) |
Styling
Items list box
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
background colorbox_background_color | Items container's background color | fccolor | — | none |
padding top/bottombox_padding_top_bottom | Items container's padding applied at top and bottom of the items | text | — | 0 |
padding left/rightbox_padding_left_right | Items container's padding applied at left and right of the items | text | — | 0 |
margin topbox_margin_top | Items container's margin applied at top and bottom of the items | text | — | 2rem |
margin bottombox_margin_bottom | Items container's margin applied at top and bottom of the items | text | — | 2rem |
margin left/rightbox_margin_left_right | Items container's margin applied at left and right of the items | text | — | 0 |
Item box
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
background coloribox_background_color | This is the background color applied at each item | fccolor | — | none |
description coloribox_description_color | This is the background color applied at each item | fccolor | — | none |
border widthibox_border_width | This is the border width applied around the items | number | — | 0 |
border coloribox_border_color | This is the border width applied around the items | fccolor | — | transparent |
padding top/bottomibox_padding_top_bottom | This is the padding applied at top and bottom of the items | text | — | 0 |
padding left/rightibox_padding_left_right | This is the padding applied at left and right of the items | text | — | 0 |
margin top/bottomibox_margin_top_bottom | This is the margin applied at top and bottom of the items | text | — | 2rem |
margin left/rightibox_margin_left_right | This is the margin applied at left and right of the items | text | — | 2rem |
Fields
(sub) Category block, at (sub-)category start
note
Warning: this makes sense, if you order your items by their category (1st level order), (2nd level order can be anything e.g. title)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enableintro_catblock | — | radio | — = Use Global0 = No1 = Yes | — |
Category titleintro_catblock_title | Show/hide the title of the category | radio | — = Use Global1 = Yes | — |
Text
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display descriptionintro_use_description | Show / hide the description text | radio | — = Use Global0 = No1 = Yes | — |
Strip HTML tags & cut textintro_strip_html | Strip HTML tags from the text and also cut it to a maximum length. NOTE: This will force read more to appear | radio | — = Use Global0 = No1 = Yes, Force Read More2 = Yes, if needed | — |
Introtext max lengthintro_cut_text | Auto cut introtext after x characters | text | — | — |
Image
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use imageintro_use_image | Extract the first image from the text or use the above field | radio | — = Use Global0 = No1 = Yes | — |
Image sourceintro_image | Select the source of the image. You can either choose an image field (if available) or automatically extract the first image found in the main text. | fcimage | — | — |
Field HTML as Imageintro_image_custom_display | You can use the HTML produced by any custom field in place of image. -- Leave blank: to use the above drop-down select box value, -- Note: image size and other parameters are not used, -- Write: like fieldname##varname e.g. for image fields use: imgfieldname##display_small, imgfieldname##display_medium, imgfieldname##display_large | text | — | — |
Field URL as Imageintro_image_custom_url | You can use the URL produced by any custom field in place of image. -- Leave blank: to use the above drop-down select box value, -- Note: image size and other parameters are applied to the given URL, -- Write: like fieldname##varname e.g. for image fields use: imgfieldname##display_small_src, imgfieldname##display_medium_src, imgfieldname##display_large_src | text | — | — |
Image Field Fallback (when image missing)intro_image_fallback_img | When image is missing, you can select to use some image as fallback, e.g. item introtext image when image field has no value, even if image field has default value | list | 0 = No fallback1 = Use introtext image2 = Use introtext image (ignore image field default image)3 = Use custom field | — |
Select a custom field Fallbackintro_fallback_field | — | fcimage | — | 0 |
Image positionintro_position | The image position in the block. | radio | — = Use Global0 = Left1 = Right | — |
Link imageintro_link_image | Open the item when clicking on the image | radio | — = Use Global0 = No1 = Yes | — |
Link tointro_link_image_to | If you are using an image field then you may use the custom link add to the image | radio | — = Use Global0 = Item1 = Custom link (image field) | — |
Intro image sizeintro_image_size | Size of the intro images | radio | — = Use parameterss = Smallm = Mediuml = Largeo = Original | — |
Image widthintro_width | Image width | text | — | — |
Image heightintro_height | Image height | text | — | — |
Processing methodintro_method | Processing method | radio | — = Use Global0 = Scale1 = Crop | — |
Default images (per type)intro_default_images | Either enter an image-path relative to Joomla root folder: image-path or enter per type, comma separated: OTHER##image-path, type-alias1##image-path1, type-alias2##image-path2 | textarea | — | — |