Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review
Information
Print

Module: layout

Information
Latest News Enhanced
Module Layout The module layout used to create the output.
  • default the layout for the Joomla articles
  • k2 The layout for K2 items (the K2 component must be installed)
  • accordion an accordion-style layout for the Joomla articles
  • accordionk2 an accordion-style layout for K2 items (the K2 component must be installed)
When creating template overrides, select them here
Pro Layouts included in the LatestNewsEnhanced plugins will appear, as well as their template overrides.
The accordion layout
The accordion layout
No data message Message that is shown when no data is available.
Leave blank to hide the module from users when there is nothing to show 
Layout  The overall layout for all the items
Row (horizontal)
Items are showing in a row until then can't fit the container width anymore
Column (horizontal)
Column (vertical)
Shows one item per row
Row (vertical)
Items spacing The alignement for the items, using CSS Flexbox.
Flexbox is not used when items are included in a carousel or when using the 'leading items' functionality
start Alignment start
end Alignment end
center Alignment center
space between Alignment space between
space around Alignment space around
space evenly Alignment space evenly
Items alignment The alignment of the items
stretch Alignment stretch
Forces items on a same row to have same height, whenever possible
start Alignment start
center Alignment center
end Alignment end
Space between The minimum space between the items
Overall width The container width (leave blank unless needed for specific non-responsive configurations)
Overall height The container height (leave blank unless needed for specific non-responsive configurations)
Pro v4+
Use leading items
Present a certain number of items with full configuration, the remaining items having a limited one
Leading items
Pro
Leading count
The number of news items that contain all layout elements. Leave blank or 0 for all items to have the same layout
Degraded / Remaining items
Pro
% of item width
The width of the items that are 'incomplete' compared to the width of the items that are complete.

Example 50 means that the degraded items will be half the size of the items being complete

Pro
Remove head
Removes the image or the calendar
Pro
Remove text
Removes the intro text
Pro
Remove details
Removes the detailed information


Example of one item with full configuration followed by items without head (image), text or detailed information

All items

Item width The width of an item
Item width unit The unit for the item width.
Use percentages to show multiple items in several columns and rows
Min item width The minimum width of a news item.
It forces the news item to stop 'shrinking' under a certain width when the page is resized.
Leave blank when degraded items are less than 100% of the complete item width
Max item width The maximum width of a news item

Head

This is an element that shows next to the item's introductory text.
Head

Head type
Images
Image from content
Looks for images inside the article / K2 item content (introduction and the remaining of the content). The first image found is selected
Free v4+ Pro Image intro K2 K2 image
Selects the image intro from the article or the K2 image
Free v4+ Pro Image full K2 K2 image
Selects the image full from the article or the K2 image
Free v4+ Pro Image from content -> intro -> full K2 Image from content -> K2 image
If no image in content, look for image intro then image full (or look for the K2 image when using K2)
Free v4+ Pro Intro -> full -> image from content K2 K2 image -> image from content
If no image intro, look for image full (or if no K2 image when using K2) then image from content
Pro Author Pro v4+ Author (contact)
Selects the author's picture
warning if authors are linked to several contacts, articles will be duplicated
Pro v4+ K2 Author (K2 avatar)
Selects the K2 user avatar linked to the author
Pro K2
K2 extra field of type image
Pro Joomla 3.7+
Custom field of type media
Pro Joomla 3.7+
User custom field of type media
Calendars
Calendar
Creates a calendar from the specified date
Pro v4+ K2
K2 extra field of type date
Pro v4+ Joomla 3.7+
Custom field of type calendar
Icons
Pro Joomla 3.7+
Custom field of type SYW Icon (see the Head: Icon section)
Videos
Video type Pro v4.9+ Joomla 3.7+
Custom field of video type made available for the extension in the global configuration settings (also see the Head: Video section)
Removed in v4+
Author picture
The picture to show as author picture
  • Associated contact picture of the contact associated with the user who wrote the article
  • K2 avatar the avatar picture of the author (when properly setup in K2)
Pro
Search fulltext
When searching for images in the content, it is possible to limit the search to the introduction section of the article / K2 item.
Limiting the search to the intro section of the content will limit server memory consumption and will be much faster
Head width The width of the head element

New v6.0 Set to 0 to use the original image with its own dimensions (the 'Original image size' style is no longer needed)
Head height The height of the head element

New v6.0 Set to 0 to use the original image with its own dimensions (the 'Original image size' style is no longer needed)
Maintain height Forces the head to keep its height, even when resizing
Note it has no effect on 'heads' that have just a background color
Keep space Keeps the image space even if there is no image to show or the calendar space when there is no date
Position The position of the head in relation to the remaining item body
Not all positions work with all layouts
  • left
  • right
  • alternate left/right alternate between left and right, starting left
  • alternate right/left alternate between left and right, starting right
  • top
  • bottom
  • alternate top/bottom alternate between top and bottom, starting top
  • alternate bottom/top alternate between top and bottom, starting bottom
Alignment The alignment of the head when positioned at top or bottom
  • Default takes the value dictated by the selected style
  • Left left align
  • Right right align
  • Center centered
Body
Alignment The alignment of the text inside the body
  • Default takes the value dictated by the selected style
  • Left left align
  • Right right align
  • Center centered
Free v4+ Pro v4+

Title

The item's title.
Body: Title

Element The element to use as title. The default is the article/K2 item title. But you can also select:
  • Pro K2 any K2 extra field of type textfield
  • Pro Joomla 3.7+ any custom field of type text

Note When the custom/extra field is empty and there is a default value, the default value is used. If the default value is missing, the title defaults to the article/K2 item title

Letter count max The maximum number of letters to show.
0 will hide the title, empty will show the whole title
Truncate last word When the text is truncated, it is possible to leave the last word intact or allow it to be truncated to get closer to the letter count max.
Force one Line Forces the title on one line only
HTML header tag Choose the HTML header tag to give to the title to match the template (h1...h6)
Position before head Will position the title before the head block (Full width layout only)
Free v4+ Pro v4+

Text

The item's text content.
Body: Text

Under theming in v4.9
Font size reference
The reference size of the text for the whole item, except for the calendar head.
0 will set the size to the template’s default
Text introduction Which text to show
  • Intro
  • Intro -> Meta description if no intro text, use meta description
  • Meta description
  • Meta description -> Intro if no meta description, use intro text
  • Pro K2 any K2 extra field of type textarea
  • Pro Joomla 3.7+ any custom field of type textarea
  • Pro Joomla 3.7+ any custom field of type editor

Note Custom/extra field's default value is not used

Pro
Unauthorized text
Whenever unauthorized items are shown, show or hide the introduction text
Pro
Replacement text
An optional text that will show in place of the introduction text if the introduction text cannot be seen
Letter count max The maximum number of letters to show.
0 will show nothing, empty will show all
Truncate last word When the text is truncated, it is possible to leave the last word intact or allow it to be truncated to get closer to the letter count max.
Strip tags Strips the HTML tags from the text (whether the text is truncated or not)
Keep tags When tags are stripped, it keeps the ones specified

Example <strong><a> will keep the bold html style and the links only

Trigger events Triggering the onContentPrepare event will call the plugins that are present in the intro text. Set to 'no', the plugins will not be called and the plugins syntax { ... } will be removed from the cropped text
Wrap Wrap the text around the head element, if the style allows it

Linking

Read more link

Link on The element(s) to link
  • Removed in Pro v4+ Nothing do not add links
  • Title the link is added to the title
  • Pro v4+ Head the link is added to the head element (does not apply to calendars)
  • Read more adds a 'read more' type link
  • Pro v4+ Read more appended to text appends the 'read more' type link to the intro text
  • Removed in Pro v4+ Both links the title and adds a 'read more' type link
Prior to 5.0
Link to
What is used as a link
  • Item the item link
  • Item in modal window the item will open in a modal window
  • Pro Inline item the item will show below the module instance (title, text and information details - setup and limitations)
  • Pro Articles: Link A links to the Joomla article's link A
  • Pro Articles: Link B links to the Joomla article's link B
  • Pro Articles: Link C links to the Joomla article's link C
  • Pro K2 K2 extra field of type link
  • Pro Joomla 3.7+ Custom field of type url (http, https and mailto schemes only)
Warning Do not open items into a modal window when showing unauthorized links (issues with the login form in a modal)
Note Links A, B or C will open in the parent window, a new window, a popup or a modal one depending on the targets that are set in the article (global values are taken into account)
Note The K2 extra field links open depending on the settings of the field (lightbox is replaced by modal).
Note The url custom fields open in a new window unless internal.
New 5.0
Link to
What is used as a link
  • Item the item link
  • Pro Link A links to the Joomla article's link A
  • Pro Link B links to the Joomla article's link B
  • Pro Link C links to the Joomla article's link C
  • Pro K2 K2 extra field of type link
  • Pro Joomla 3.7+ Custom field of type url (http, https and mailto schemes only)
  • New v6.10 Pro Joomla 4 Custom field of type ACF URL (Advanced Custom Fields from Tassos.gr)
Note: ACF URL allows you to set tooltip/accessibility information from its link text parameter. If empty, the article title is used instead. Set Link target to 'default' to use the link's parameter Open in.
New 5.0
Link target
Where the link will be open
  • default the default behavior (for instance, links A, B or C use the article's settings)
  • same window the link opens in the same window or browser tab
  • Pro inline the link opens below the module instance (title, text and information details - setup and limitations)
  • new window the link opens in a new window or browser tab
  • modal the link opens into a modal
  • popup window the link opens in a separate popup
Warnings
  • do not open items into a modal window when showing unauthorized links (issues with the login form in a modal),
  • custom fields with the mailto: protocol can't open into a modal or a popup window,
  • when showing items inline, do not enable animations. Animations duplicate items for proper sliding and this interferes with the inline script.
Pro
Link fallback
When links A, B or C, K2 extra field of type link or custom field of type url are missing, use the item link instead
Popup width The width of the modal window when showing the article in a popup
Popup height The height of the modal window when showing the article in a popup
Follow The follow/nofollow option for indexing robots
Free v4+ Pro
Tooltip
Show or hide the tooltip over the link
Always show Always show the link or only when the text has been cropped
Edit link Allow the edition of items whenever the logged user has edit permissions. It will add a pen icon after the title, linked to the item for direct edition. Unpublished items are shown and editable depending on user permissions.

Users must have a combination of Edit, Edit state, Edit own permissions, depending on your requirements.

K2 access permissions are set in the K2 component. To edit, authors must be part of a user group that has edit permissions (a combination of Frontend item editingEdit own items, Edit any items and Allow edition of already published items, depending on requirements).
Limitation: K2 authors cannot see and edit unpublished items from other authors even if they have 'Edit any item' permissions.

Find more information in the tutorial Edit unpublished articles or K2 items in the front end of your site with Latest News Enhanced
Read more
Link label The label for the link
Pro
Unauthorized link label
The label to show when the items link to unauthorized content
Removed in v4+
Append to text
Appends the read more link to the intro text, blending with it. The link style is set to 'default' in this case
Under theming in v4.9
Style
The link style, following the theme default style or using Bootstrap (Bootstrap is the default for backward compatibility)
Under theming in v4.9
Bootstrap type
The link type (as defined by Bootstrap)
  • Default button
  • Primary button
  • Info button
  • Inverse button Only in Bootstrap 2
  • Link
Under theming in v4.9
Bootstrap size
The size of the label (as defined by Bootstrap)
  • Default
  • Small
  • Mini Only in Bootstrap 2 and 3
Under theming in v4.9
Classes
The CSS classes that can be added to the link (space separated)
Alignment The label alignment in the overall configuration
  • Default takes the style as dictated by the theme
  • Left left align
  • Right right align
  • Center centered
  • Full width takes the width of the item (text centered)

Categories

Removed in Pro v4+
Category
Show the category’s name.
The category name will show for individual items if the articles are from different categories
Position The placement of the categories in the layout.
  • First First element in the item layout (not all themes)
  • Before title Before the item title
  • Last Last element in the body part of the item (not all themes)
  • Pro Over head Over the picture or video, if there is one, and in selected themes (Overlap won't show the category over the head for instance)
Category positions
Note When positioned first or last, consolidated and unique, the category is placed before all items or after all items respectively
Pro v4+
Link to
whether to link the category or not
  • None The category is not linked
  • Standard The category opens a Content or K2 category view (it should exist to avoid unexpected behavior)
  • Pro Extension view to link the category to another view created with the extension
Pro
View
The extension's view the category should link to.
Make sure the module and the view show similar categories
Link label A specific label to use instead of the article’s category name
Pro
Unauthorized link label
The label to show when the items link to unauthorized content
Free v4+ Pro v4+
Tooltip
Show or hide the tooltip over the linked category
Under theming in v4.9
Style
The link style, following the theme default style or using Bootstrap
Under theming in v4.9
Bootstrap type
The link type (as defined by Bootstrap)
  • Default button
  • Primary button
  • Info button
  • Inverse button Only in Bootstrap 2
  • Link
Under theming in v4.9
Bootstrap size
The size of the label (as defined by Bootstrap)
  • Default
  • Small
  • Mini Only in Bootstrap 2 and 3
Under theming in v4.9
Classes
The CSS classes that can be added to the link (space separated)
Alignment The label alignment in the overall configuration
  • Default takes the style as dictated by the theme
  • Left left aligned
  • Right right aligned
  • Center centered
  • Full width takes the width of the item (text centered), unless in first or last positions where it takes the width of the module
Consolidate Shows the category label on the first item, not the consecutive ones (as long as they belong to the same category)
Warning Categories must be ordered for the consolidation to work properly
Description Show the category description when there is only one category and the category position is first or last
Item count Shows the number of items in a category

Read All

Link to The menu item or external link to open when clicked
External link The external URL, when selected (it will open a new window). Include http/https
Position The placement of the 'read all' link in the layout.
  • First First element in the module layout
  • Last Last element in the module layout
Link label A specific label to use (when selecting a menu item, the default is the title of that menu item)
Free v4+ Pro v4+
Tooltip
Show or hide the tooltip over the link
Under theming in v4.9
Style
The link style, following the theme default style or using Bootstrap
Under theming in v4.9
Bootstrap type
The link type (as defined by Bootstrap)
  • Default button
  • Primary button
  • Info button
  • Inverse button Only in Bootstrap 2
  • Link
Under theming in v4.9
Bootstrap size
The size of the label (as defined by Bootstrap)
  • Default
  • Small
  • Mini Only in Bootstrap 2 and 3
Under theming in v4.9
Classes
The CSS classes that can be added to the link (space separated)
Alignment The label alignment in the overall configuration
  • Default takes the style as dictated by the theme
  • Left left aligned
  • Right right aligned
  • Center centered
  • Full width takes the width of the module (text centered)

Related tutorials and topics