hello,
I have 2 questions about radiant:
First:
I have layout with sth like this:
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:
ok, I will put sth like this to Layout:
<r:content part=“body-right” />
<r:content part=“body-left” />
and sth like this to Page for example index
<r:if_content part=“body-right”>
h2. Hello word!
</r:if_content>
<r:if_content part=“body-left”>
h2. Hello Frycu!
</r:if_content>
and it doesn’t work;/ what is wrong? or I don’t understan this…
You don’t need that second r:find because you are already scoped to
the “about” page, and r:link defaults to the page title
ok but if I don’t put this second r:find it give me only 2008 and 2007
link without months…
On May 12, 2008, at 6:47 AM, Bartłomiej Frydrych wrote:
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?
make appropriate page parts. r:content defaults the the “body” part
<r:content part=“your_part_name_here” />
There are some details about this here http://wiki.radiantcms.org/Using_Radiant
- 2007
march
<r:children:each>
</r:children:each>
</r:if_children>
</r:find>
You don’t need that second r:find because you are already scoped to
the “about” page, and r:link defaults to the page title
I haven’t really used Archive pages much, so off the top of my head I
can’t give you a code sample, but take a look at using Archive and
ArchiveMonthIndex page types
On May 12, 2008, at 8:48 AM, Bartłomiej Frydrych wrote:
and it doesn’t work;/ what is wrong? or I don’t understan this…
Do those parts exist?
If you are not familiar with this, all you need to do is click on the
green plus (+) icon on whatever page you want to test and add those
parts. Then save the page and it should work.
You don’t need that second r:find because you are already scoped to
the “about” page, and r:link defaults to the page title
ok but if I don’t put this second r:find it give me only 2008 and 2007
link without months…
ok, I do it once more and everything is fine… strange, but I’m happy
that it works:)
I have another question, what to do if I want to automaticly post
content from
- april
- march
- january
in 2008 page??
On May 12, 2008, at 8:48 AM, Bartłomiej Frydrych wrote:
and it doesn’t work;/ what is wrong? or I don’t understan this…
Do those parts exist?
If you are not familiar with this, all you need to do is click on the
green plus (+) icon on whatever page you want to test and add those
parts. Then save the page and it should work.
You don’t need that second r:find because you are already scoped to
the “about” page, and r:link defaults to the page title
ok but if I don’t put this second r:find it give me only 2008 and 2007
link without months…
I have had this issue and was finding it on Google, luckly i got answer
and i signed up to thanks to the support and forum.
Great Help! my problem got solved.
Thanks!
Bartłomiej Frydrych wrote:
Jim G. wrote:
On May 12, 2008, at 8:48 AM, Bartłomiej Frydrych wrote:
and it doesn’t work;/ what is wrong? or I don’t understan this…
Do those parts exist?
If you are not familiar with this, all you need to do is click on the
green plus (+) icon on whatever page you want to test and add those
parts. Then save the page and it should work.
You don’t need that second r:find because you are already scoped to
the “about” page, and r:link defaults to the page title
ok but if I don’t put this second r:find it give me only 2008 and 2007
link without months…
ok, I do it once more and everything is fine… strange, but I’m happy
that it works:)
I have another question, what to do if I want to automaticly post
content from
- april
- march
- january
in 2008 page??
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.