[Radiant] simple question about Radiant

Bartłomiej Frydrych bartlomiej.frydrych at gmail.com
Mon May 12 05:47:54 CDT 2008


hello,
I have 2 questions about radiant:
First:
I have layout with sth like this:
<div id="body-left">
  <r:content />
</div>
<div id="body-right">
  <r:content />
</div>

I make a Page and I want to put in body-left for example: Hello word!
and to body-right: Hello Hello?
how do this? becouse if I write sth it appears the same text in left and
right body
what I should do to make it work?

And the second question:
I have tree:
-Home Page
    - About
       - 2008
          - april
          - march
          - january
      - 2007
         - december
         - march
         - july
         - april

how to create a navigation in About page, that it will automaticly
generate menu with years and months?
like this:
2008
  april
  march
  january
2007
  december
  march
  july
  april
I have it now like this:

<r:find url="/about">
  <r:if_children>
    <r:children:each>
      <h3><r:link ><r:title/></r:link></h3>
       <r:find url="/about/2008">
        <r:if_children>

          <r:children:each>
           <r:link ><r:title/></r:link>
          </r:children:each>

        </r:if_children>
      </r:find>
    </r:children:each>
  </r:if_children>
</r:find>

but it didn't work the way as I want:)
could anyone could help me with this?
-- 
Posted via http://www.ruby-forum.com/.


More information about the Radiant mailing list