The News Articles Latest module is a great way to display a list of articles linking to the main new articles module. This is perfect for the homepage of your website where you only want to display a "snapshot" of the articles on your website.
By default, the layout can be customised in the module settings by the use of templates. Each template will contain a header, item, footer. The item is repeated for each article shown. This format lends itself to a traditional layout like the following:
Which is made up of the following:
However, if you want to display the articles a little differently, e.g. show 5 articles per row. You will need to alter the above template in one of two ways.
Method #1: Advanced Layout Mode
This first method involves changing the layout mode to "advanced" which means it will use a datalist. A datalist inserts a table around the html of the item template and allows you to specify the items per row.
You will need to get rid of the default table html from the templates as follows
Method #2: Simple Layout Mode with Better CSS
The next option is a little more trickier but cleaner in implementation for people with CSS skills.
It requires you to add some styles to your portal or skin stylesheet, e.g.
This will display an area 600px wide and have listitems fill that area horizontally before wrapping around.
You then change your template like so:
Now, finally we can see the new display: