Mauricio Dulce said the following on 11/19/2009 07:05 PM:
Hello, I'm finishing a web mounted radiant, but I need to generate a
two-level navigation, and searched and not found such information and
I am using this reference to create the menu.
The idea is that this will render me this
Rafael,
Try adding slashes on the ends of your URLs; and yes, r:navigation has
pretty primitive matching of URLs.
Sean
Rafael Souza wrote:
I am using the navigation radius tag for my menu, and today I noticed a
little bug...
My snippet is like this:
r:navigation urls=Rafael's Pages:
Fork. Branch. Spec. Code. Pull Request.
On Jun 3, 2009, at 5:23 PM, Rafael Souza wrote:
I fixed it modifying the core radiant.
There is a simple way to contribute?
On Wed, Jun 3, 2009 at 5:41 PM, Sean Cribbs seancri...@gmail.com
wrote:
Rafael,
Try adding slashes on the ends of your
I fixed it modifying the core radiant.
There is a simple way to contribute?
On Wed, Jun 3, 2009 at 5:41 PM, Sean Cribbs seancri...@gmail.com wrote:
Rafael,
Try adding slashes on the ends of your URLs; and yes, r:navigation has
pretty primitive matching of URLs.
Sean
Rafael Souza wrote:
Someone should put that on a sign or t-shirt!
Sean
Jim Gay wrote:
Fork. Branch. Spec. Code. Pull Request.
On Jun 3, 2009, at 5:23 PM, Rafael Souza wrote:
I fixed it modifying the core radiant.
There is a simple way to contribute?
On Wed, Jun 3, 2009 at 5:41 PM, Sean Cribbs
You can try this snippet:
div id=menu
r:find url=/en
ul
r:children:each
li
r:link /
r:if_children
ul
r:children:each
li
r:link /
/li
/r:children:each
/ul
Christian Nikolajsen wrote:
Hi Mohit sorry I never got back to you on your example. I tried it out
and it's been causing problems for me and I'm getting the same
problems with the example from Dan.
When I try your examaples I get the following error message:
NoMethodError in
Hi Mohit,
A thought occured to me and I tried your code on a clean radiant install and
it works perfectly. Both yours and Dans code example.
Maybe some extension I have installed is causing the trouble?
These are the extenstions I have installed:
copy_move
mailer
settings
dashboard
navigation_tags
Christian Nikolajsen wrote:
Hi Mohit,
A thought occured to me and I tried your code on a clean radiant
install and it works perfectly. Both yours and Dans code example.
Maybe some extension I have installed is causing the trouble?
These are the extenstions I have installed:
copy_move
mailer
Aha! Found the culprit, you were right it is navigation_tags causing my
grief.Thanks for the help.
/Christian
2009/5/14 Mohit Sindhwani t...@onghu.com
Christian Nikolajsen wrote:
Hi Mohit,
A thought occured to me and I tried your code on a clean radiant install
and it works perfectly.
Christian Nikolajsen wrote:
Aha! Found the culprit, you were right it is navigation_tags causing
my grief.
Thanks for the help.
/Christian
Glad to know! Now, it's time for someone to add this to the wiki :P
*hint hint*
Cheers,
Mohit.
5/14/2009 | 1:21 PM.
Hi!
I just remembered seeing this some months ago, now that I needed
something like it. Great snippet, thanks! ;)
Just one small comment... if someone wants to use this for CSS-
dropdowns (like me), just remove the if_ancestor_or_self-tags.
cheers, Simon
On Oct 17, 2008, at 18:44 ,
I have done something similar using nested children tags. It is a tad
complicated because I am using prototype to make the menu expandable
etc. I'll put up the radius code
tonight. (2pm here at the moment so it about 7 hours)
引用 Joe Van Dyk [EMAIL PROTECTED]:
Hi,
Any ideas on how I could
Wow -- that's craziness. Wonder if it would be possible or advisable
to modify the navigation tag to be smarter as to what it highlights as
being the active link?
On Fri, Oct 17, 2008 at 8:44 AM, Manuel Meurer [EMAIL PROTECTED] wrote:
I found the r:navigation tag become too limited to do that
Sure. Have a look at standard_tags.rb #667 and hack away.
Better yet, create a better_navigation extension and publish it on
Github so everybody else can use it as well.
Manuel
On Fri, Oct 17, 2008 at 6:58 PM, Joe Van Dyk [EMAIL PROTECTED] wrote:
Wow -- that's craziness. Wonder if it would be
Yes. Use r:here if you want exact matches. However, often I just
break out the navigation special cases (Home is a typical one).
Sean
Joe Van Dyk wrote:
ul class=sidemenu
r:navigation urls=Home: / | About: /about
r:normallia href=r:url/r:title //a/li/r:normal
r:selectedli
In the below case, I would want the About link to be highlighted,
since that's the closest match to the current page. Is there a good
way to do that?
Joe
On Thu, Oct 16, 2008 at 12:39 PM, Sean Cribbs [EMAIL PROTECTED] wrote:
Yes. Use r:here if you want exact matches. However, often I just
17 matches
Mail list logo