[Radiant] Submenu

2006-09-17 Thread Ian Gordon
I don't know if anyone is currently working on or will be adding a kind of menu functionality to Radiant. The idea being that there are navigational element necessary to navigate the site's content areas. The idea here is that for content, it automatically creates a list that you can manipulat

Re: [Radiant] Submenu

2006-09-17 Thread Kevin Ansfield
Ian Gordon wrote: > I don't know if anyone is currently working on or will be adding a kind > of menu functionality to Radiant. The idea being that there are > navigational element necessary to navigate the site's content areas. > > The idea here is that for content, it automatically creates a

Re: [Radiant] Submenu

2006-09-17 Thread Bodhi
On Sep 18, 2006, at 11:20 AM, Kevin Ansfield wrote: > Ian Gordon wrote: >> I don't know if anyone is currently working on or will be adding a >> kind >> of menu functionality to Radiant. The idea being that there are >> navigational element necessary to navigate the site's content areas. > I

Re: [Radiant] Submenu

2006-09-17 Thread Ian Gordon
I think we should get some code posted and people might be more apt to try and do something. Hmm, code, damn my newbie skills with ruby! -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: htt

Re: [Radiant] Submenu

2006-09-17 Thread Ian Gordon
Here is an attempt at it. submenu_behavior.rb class SubMenuBehavior < Behavior::Base register "Sub Menu" description %{ Submenu is the ability for pages to have their parent and children automatically generated into 's for users. } define_tags do tag 'submenu' do 'Create list'

Re: [Radiant] Submenu

2006-09-18 Thread Kevin Ansfield
Bodhi wrote: > > I've thought about doing something similar, but I just haven't had > the time to get to it. I was thinking to make a tag very similar to > the tag, but instead of giving it a list of titles > and paths, give it a parent page, eg: > > > > and it uses the and other navigation

Re: [Radiant] Submenu

2006-09-18 Thread Wolfgang Wopperer
On our website, I implemented submenus the following way: 1. Create a submenu snippet: This renders an unordered list of links to all children of a page. If some pages are to be excluded, you can do this by adding some markup. 2. Create a content part "submenu" on each first lev

Re: [Radiant] Submenu

2006-09-18 Thread Dave Crossland
Hi, I have 2 snippets for my navigation. 1. Primary Navigation: - 8< -- Site Navigation Home Membership Events Resources Constitution Baskerville Contact About -- 8< -- 2. SecondaryNavigation -- 8< -- Breadcrumbs Child Pages → And then this 'Normal' Layout: -- 8< -- http://www.w3.o

Re: [Radiant] Submenu

2006-09-18 Thread Dave Crossland
On 18/09/06, Dave Crossland <[EMAIL PROTECTED]> wrote: > Hi, > > I have 2 snippets for my navigation. See this in action at http://uk.tug.org :-) -- Regards, Dave ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.o

Re: [Radiant] Submenu

2006-09-18 Thread Ian Gordon
Dave Crossland wrote: > On 18/09/06, Dave Crossland <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have 2 snippets for my navigation. > > See this in action at http://uk.tug.org :-) > > -- > Regards, > Dave Thanks Dave I will definately give it a try and see how I can improve on it, if I can. -- P