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 r:navigation / tag, but instead of giving it a list of titles and paths, give it a parent page, eg: r:menu parent=/root/path / and

Re: [Radiant] Submenu

2006-09-18 Thread Dave Crossland
Hi, I have 2 snippets for my navigation. 1. Primary Navigation: - 8 -- diva href=/img alt=UKTUG height=50 width=85px src=/images/uktug/texlogo_50.png //a/div h2 class=structuralSite Navigation/h2 ul id=primarynavigation lia href=/Home/a/li lia href=/membershipMembership/a/li lia

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. -- Posted via

[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 ul list that you can

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 ul

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:

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 ul's for users. } define_tags do tag 'submenu' do 'Create list'