Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Display NewsHolder on HomePage in different tabs

Go to End



Community Member, 19 Posts

21 May 2010 at 10:48pm

Hi all,

This is going to be hard to explain;
I have a slight issue. I am trying to display the news articles on the home page. But what I want is for the news articles to be displayed in different tabs.

On the home page, there is a div displaying all news articles. can I split the div into three tabs and display the 3 latest news articles in different tabs? ATM the articles are all displayed in one tab.
What I want is for the tabs to have the article title displayed and when clicked will change the content of the div so only one news article will be displayed at any one time.

I saw inspiration on the barnados(.)org(.)uk home page.

Can anyone suggest anything to help.