Creating new tabs in the admin interface?

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.

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

  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.

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

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:[email protected]]
Sent: 29 August 2006 13:48
To: [email protected]; [email protected]
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"seancribbs.com

On 8/29/06, Jake Liddell <HYPERLINK
"mailto:[email protected]"[email protected]> 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:[email protected]"[email protected]
HYPERLINK “http://lists.radiantcms.org/mailman/listinfo/radiant
\nhttp://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