Developer forum

Forum » CMS - Standard features » Item tabs
Kim Hansen
Reply

Hey :)

At the Summit, i saw that you could make what looked like group-based tabs in items, in DW 9.5.x

How do i do that?

Thanks

/Kim


Replies

 
Nicolai Pedersen
Reply

Just create a field of type "ItemTab". Int inserts another item type as a tab. You need to use another item type to create a tab.

BR Nicolai

Capture.PNG
 
Kim Hansen
Reply

Hm, okay.

Is there a reason for doing it "the complicated way"?

Instead of doing a checkbox on the item, and simple styling?

I mean, this way you have to rebuild your item structure completely, "just" to get tabs.

/Kim

 
Nicolai Pedersen
Reply

Hi Kim

No, you are right. But we also solves some other issues with large item types with this - and that is why it ended up being this solution.

A solution with "Tabs" in the same way as we have "Groups" of fields on the item type definition is probably a better approach for most scenarios.

Like this:

  1. Tab
    1. Group
      1. Field 1
      2. Field 2
    2. Group 2
  2. Tab 2
    1. etc...

 

You must be logged in to post in the forum