Re: [Radiant] Re: Creating a UL/IMG based Navigation Bar

2009-06-15 Thread john muhl
On Mon, Jun 15, 2009 at 3:12 PM, Jeff Casimir wrote: > Benny, > > instead of getting the slug for that element I got the slug for the current > page. you are getting the current page slug because radius tags render within the context from which they're called. to get around that and at the slug f

Re: [Radiant] Re: Creating a UL/IMG based Navigation Bar

2009-06-15 Thread Jeff Casimir
Benny, Thanks for the feedback. I agree with you for the most part, but my testing didn't show the results I expected. When I used within the tags, instead of getting the slug for that element I got the slug for the current page. Thus each element of the navigation would end up with the same

[Radiant] Re: Creating a UL/IMG based Navigation Bar

2009-06-15 Thread Benny Degezelle
Hi Jeff, Sorry, but that snippet looks like a recipe for disaster.. Here's some feedback; 1/ You use as part of the image name. This means that, when you have deeper-nested pages, you would get image names like "products/cats.gif", which is not going to work. You could use instead, which would