Mod Newstab
Our newstab module (see the example above) allows you to display links to your Joomla news articles in a series of tabs, a format popular with many news websites.
The module supports articles both from the Joomla core content component and from Mighty Extensions Resources, also the K2 content component. The tabs can be displayed in either horizontally across the top of the module, or vertically down the site of the module. You can have as many instances of the module on a page as you wish.
A simple application of this module would be to display 'latest', 'popular' and 'featured' articles using three tabs. However this module is extremely flexible, and is capable of far more than that. You can display up to 8 tabs (if you have the space), and each tab can display any of the following types of content:-
- latest (most recently modified or created)
- popular (most hits)
- featured (articles specified by list of id's)
- random
- author (articles by selected list of authors)
- profiled (JomSocial/Mighty Touch integration - show articles by currently profiled user)
- section (section or list of sections)
- category (category or list of categories)
- type (type or list of types - applies to Mighty Resources only
You can also filter all the results by specfied categories or sections (also types and fields if using Mighty Resources), or you can use the current category or section. For example, if you wish you can show the latest, popular and featured articles for whichever category is currently being viewed.
In addition to the links you can choose to show an extract of the article text, plus an image thumbnail. The module is so flexible that it can be used to show the entire article introtext, and can even trigger content plugins.
The latest release includes a choice of transition effects (slide, fade or none) and a choice of tab style.
The module uses the Mootools javascript library, which is part of the Joomla core, so there is no additional javascript download required apart from the NewsTab script itself. It is compatible with all versions of Mootools, and can co-exist with other extensions that require different libraries such as JQuery.