# Creating new tabs in the admin interface?

**URL:** <https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808>\
**Category:** Radiant CMS\
**Created:** [August 29, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808 "2006-08-29T14:45:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jake\_Liddell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9a140/32.png) [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Post date:** [August 29, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808/1 "2006-08-29T14:45:13Z")

</div>

Hi all,

The website Iâ??m building has a traditional three-column layout, but  
Radiant  
only has a â??bodyâ? and â??sidebarâ? tab on the standard pages installed by  
default.

Iâ??d like to create a â??sidebar-2â? tab, so users can create content for  
both  
tabs, rather than just the one â?? is this possible? Can anyone point me  
in  
the right direction?

(My siteâ??s coming on leaps and bounds â?? this is definitely the nicest  
CMS  
Iâ??ve ever worked with, and I havenâ??t even started playing with behaviors  
yet! â?? Thanks all, for your help.)

Cheers,

Jake.

---

<div class="post-metadata">

**Author:** ![Jake\_Liddell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9a140/32.png) [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Post date:** [August 29, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808/2 "2006-08-29T14:49:13Z")

</div>

Click the plus out to the right side. That will let you create any  
extra  
parts you want. Then, just refer to them in your layout via the  
\<r:content  
part=“sidebar-2” /\> tag.

Sean C.  
[seancribbs.com](http://seancribbs.com)

---

<div class="post-metadata">

**Author:** ![Jake\_Liddell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9a140/32.png) [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Post date:** [August 29, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808/3 "2006-08-29T14:49:13Z")

</div>

1. Create your three pane layout and place it into a Radiant layout.

2. Make sure you have a \<r:content part=‘sidebar-2’/\> tag inside that  
layout.

3. Create a new page part called sidebar-2 or something like that in  
each page that you create

4. Make the new page has the layout you just created as its layout.

5. You should see the extra page you defined when you view this page …

– G.

---

<div class="post-metadata">

**Author:** ![Jake\_Liddell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9a140/32.png) [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Post date:** [August 29, 2006, 4:37pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808/4 "2006-08-29T16:37:24Z")

</div>

Jake Liddell wrote:

> I created a new sidebar-2 part on my homepage. I then tried to do a new  
> child of the homepage, but it only got the old body and sidebar parts ? not  
> the new one too. Any idea how I can default children to inherit the tabs  
> from the parent when someone creates a new page?

Try this:

$ script/console production  
Loading production environment.

> > Radiant::Config.to\_hash  
> > =\> {“admin.title”=\>“Radiant CMS”, “admin.subtitle”=\>“Publishing for  
> > Small Teams”, “default.parts”=\>“body, extended”}  
> > Radiant::Config[‘default.parts’] = “body, sidebar, sidebar-2”  
> > =\> “body, sidebar, sidebar-2”  
> > exit

BTW, I’d recommend that you not use the name “sidebar-2”. It’s not  
descriptive enough and gives your users no guidance as to what should be  
put there. Perhaps it should be “advertisements” or “related” or  
something of that nature.

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Jake\_Liddell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e9a140/32.png) [@Jake\_Liddell](https://www.ruby-forum.com/u/Jake_Liddell)\
**Post date:** [August 29, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/creating-new-tabs-in-the-admin-interface/66808/5 "2006-08-29T14:59:15Z")

</div>

I created a new sidebar-2 part on my homepage. I then tried to do a new  
child of the homepage, but it only got the old body and sidebar parts â??  
not  
the new one too. Any idea how I can default children to inherit the  
tabs  
from the parent when someone creates a new page?

Thanks for your help.

Jake.

* * *

From: Sean C. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: 29 August 2006 13:48  
To: removed\_email\_address@domain.invalid; removed\_email\_address@domain.invalid  
Subject: Re: [Radiant] Creating new tabs in the admin interface?

Click the plus out to the right side. That will let you create any  
extra  
parts you want. Then, just refer to them in your layout via the  
\<r:content  
part=“sidebar-2” /\> tag.

Sean C.  
HYPERLINK "[http://seancribbs.com](http://seancribbs.com)"[seancribbs.com](http://seancribbs.com)

On 8/29/06, Jake Liddell \<HYPERLINK  
"[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)"removed\_email\_address@domain.invalid\> wrote:

Hi all,

The website I’m building has a traditional three-column layout, but  
Radiant  
only has a “body” and “sidebar” tab on the standard pages installed by  
default.

I’d like to create a “sidebar-2” tab, so users can create content for  
both  
tabs, rather than just the one â?? is this possible? Can anyone point me  
in  
the right direction?

(My site’s coming on leaps and bounds â?? this is definitely the nicest  
CMS  
I’ve ever worked with, and I haven’t even started playing with behaviors  
yet! â?? Thanks all, for your help.)

Cheers,

Jake.

–  
No virus found in this outgoing message.  
Checked by AVG Free Edition.  
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date:  
25/08/2006

* * *

Radiant mailing list  
HYPERLINK  
"[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)"removed\_email\_address@domain.invalid  
HYPERLINK “[http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)”  
\n[http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

–  
No virus found in this incoming message.  
Checked by AVG Free Edition.  
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date:  
25/08/2006
