In my base template, I want to output a div only if some children
of the current page exist. How can I check for children of a page?
/Steven
--
Steven Noelshttp://outerthought.org/
Outerthought Open Source Java XML
stevenn at
On 24/09/06, Steven Noels [EMAIL PROTECTED] wrote:
In my base template, I want to output a div only if some children
of the current page exist. How can I check for children of a page?
You need to define a new tag like r:if_children that would work like this:
ul
r:children:each by=title
Dave Crossland wrote:
On 24/09/06, Steven Noels [EMAIL PROTECTED] wrote:
In my base template, I want to output a div only if some children
of the current page exist. How can I check for children of a page?
You need to define a new tag like r:if_children that would work
This in part comes from my desire (like others) to generate tree-style
navigation for a website, and (personally) to improve generated
sitemaps. This might introduces more complication than the end-result
warrants, but I'll toss it out there anyway.
What I'm thinking about (and unskillfully
I think anyone would like that (me for sure). There was some talk of dnd ordering in the list some time ago, check the archives, and it was mostly positive talking :)2006/9/24, Tom von Schwerdtner
[EMAIL PROTECTED]:This in part comes from my desire (like others) to generate tree-style
navigation
2006/9/20, John W. Long [EMAIL PROTECTED]:
It's probably better to create a layout with a content type of
text/css and put just the tag r:content / in the layout. Then create
a page, assign the layout, and paste your css in the body part.
Well, i figured out how to apply css to one page, but
Kevin,The plugin sounds great. I already have a pretty hacked up admin interface myself, I'm not looking forward to upgrading... But hopefully everything that I've done so far can be made into plugins. I'd be really interested to see what you have done, but I'll just guess I'll have to wait :D. Do
I've searched everywhere on Google and I can't find the answer because
probably it's the dumbest question and everyone has it figured it out.
But it's like I couldn't find the switch to power on my PC.
I've got Instant Rails working on my Windows XP and the integrated gem
Typo works too. I
I'm still having problems trying to get Radiant to work in a
subdirectory. I've tried most of the suggestions but am still getting
all sorts of errors.
I tried adding the behavior that was suggested, but that generated an
error in the Apache log and an Application error is generated: