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.

All other Modules /

Discuss all other Modules here.

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

Jquery Tab Info


Reply


2 Posts   420 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, 5513 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.