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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

Jquery Tab Info


Go to End


2 Posts   1057 Views

Avatar
mickk

Community Member, 5 Posts

28 May 2013 at 8:48am

Hi there

I am new to this forum and SilverStripe and i was wondering whether there is plugin that can add tabs to a page? I need to have an item and then have tabbed info on a page.

Many thanks
Mike

Avatar
Willr

Forum Moderator, 5523 Posts

28 May 2013 at 9:37pm

jQuery tabs work on your template's DOM (take a look at the jQuery documentation). The actual 'integration' with SilverStripe is minimal. You would probably want to create a new 'TabHolder' page and store each tab as an individual child underneath the form in the CMS. See tutorial 2 for how to create new Page types in SilverStripe.

My post at http://www.silverstripe.org/themes-2/show/23811#post322185 has some code to turn a list of pages into a tabbed page.