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
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
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
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
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
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:
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'