'Latest News' tile/portlet
You will need this information when you have added a Latest News tile, and wish to populate it for the first time, or edit it.
What is the Latest news tile/portlet?
The latest news tile/portlet allows you to create a section on a cover page (tile) or webpage (portlet) to automatically show all of the latest news in a feed. You can also filter the content of the tile to a specific category.
Adding content in the Latest News tile/portlet:
Whilst the Latest news tile, and News portlet perform in a similar way, the route for adding content to each is different:
- Latest news tile
In the Compose view, you will see that your Latest News tile will already be showing some of the news articles that are published on your website (unless you have not created any yet!). To populate the Latest News tile, you will need to hover over the tile until you see the blue Edit button in the top left, and then click on it.
- News portlet;
Click on your name in the top right of the edit bar to access the drop-down menu, ensuring that you are on the page you wish to host the News portlet.
Select Manage portlets from the dropdown menu.
From the portlets drop down menu, click on News
- Latest news tile
The headed sections in the News portlet, and latest news tile edit interface will be:
Content
- Tile Title
- This is for the title of your news tile, you may wish to change the title for the default Whats new
- Number of news items to show
- This field is where you can define how many news items filter into the tile. The news items will be in chronological order, and there for will show the latest X number of profiles that you define. Please note, this will change the height of the containing column.
- Tile Title
- Fields (this is a headed section on the tile interface only, and is included in the content headed section when implementing a portlet);
Title mode
This gives the user some control over how the title of the latest news tile/portlet is displayed.
- Fields
- This field will allow you to define and control which news items are shown in the News tile/portlet. If you do not move any of the categories to the box on the right, the tile/portlet will show all of the latest news items tagged with any category. If you want to show news tagged by a specific set of categories, select them and use the arrows to move them between the boxes. The categories in the box on the right are the ones that will display in the news feed.
- Show lead images
- If the checkbox is selected, the lead images of the news items will show. If it is unchecked, the images will not show.
Lead images position
This allows the user to determine where the lead image will be placed in the latest news tile/portlet.
Lead images ratio
This determines the scale of the lead image in the latest news tile.
Show lead images captions?
If this box is checked, the captions attached to the lead image will be displayed in the latest news tile.
Filters;
Path
This allows the user to select a path to look for latest news. By default, posts are taken from the current section only. Enter / for site-wide searching.
Depth
Enter how many levels in the structure should be included in the searching. Leave empty for no limit.
Types
This is a field that allows you to change the value in the drop down menu, to only pull News in that are tagged with a type form the taxonomy.
Categories
This field will allow you to define and control which event items are shown in the News tile/portlet. If you do not move any of the categories to the box on the right, the tile/portlet will show all of the latest news items tagged with any category. If you want to show News tagged by a specific set of categories, select them and use the arrows to move them between the boxes. The categories in the box on the right are the ones that will display in the News feed.
Button;
Internal link
If you wish to have a button, which leads to an internal destination within the site, this is determined here.
External link
If you wish to have a button, which leads to an external destination outside of the site, this is determined here.
Open external link in new tab?
If checked, the external link button will open in a new tab.
Button text
This is the text that will appear on the button. If you do not provide text, default text will be shown e.g. Find out more.
Button alignment
This determines where the button will sit in relation to the ‘latest news tile/portlet.’
Button type
This determines the visual style of the button deployed in the ‘latest news tile/portlet.’
Style
Box border
This feature allows the user to deploy a border of their choice on either or both sides of the ‘latest news tile/portlet.’
Box type
This feature allows the user to deploy a highlighted background to the ‘latest news tile/portlet.’
When using a portlet, there is an additional headed section in the News edit interface:
Advanced;
Show only for sub-items
Check this box if you would like to add the portlet at a section level, and define that it shows only on all the items in the section, rather than on the section as well. Editing content in the latest news tile/portlet:
Editing content in the latest news tile/portlet:
When editing the ‘latest news tile;
Go to the Compose view of the Cover page, navigate to the latest news tile/portlet, and hover your cursor over it, the blue Edit button will appear in the top left, click this and edit any of the fields you would like to.
When editing the ‘News’ portlet;
Click on your name in the top right of the edit bar to access the drop-down menu, ensuring that you are on the correct page, which hosts the portlets in question.
Select ‘Manage portlets’ from the dropdown menu.
Click onto the portlet you wish to and edit any of the fields you would like to.
Removing the latest news tile:
If you wish to remove the latest news tile, navigate to the Layout view of the cover page, and click x in the top left of the tile/portlet. When deleting a tile, the tile/portlet you are selecting has a red border.
Removing the News portlet:
If you wish to remove the latest news portlet, click on your name in the top right of the edit bar to access the drop-down menu, ensuring that you are on the correct page, which hosts the portlets in question.
Select ‘Manage portlets’ from the dropdown menu
Click on the X button, next to the portlet you wish to delete.
Related articles