# Pulling my hairs because of the archive behavior

**URL:** <https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366>\
**Category:** Radiant CMS\
**Created:** [September 2, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366 "2006-09-02T22:09:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [September 2, 2006, 10:09pm UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/1 "2006-09-02T22:09:05Z")

</div>

Hi. I’m not able to make the archive behavior monthly index page working  
☹  
I’ve the following content on the monthly index page:

\<r:archive:children:each order=“desc”\>

### 
 Continue Reading … 

but the above content fails to render the expected list of pages for  
the month. I’ve two entries for September 2, both child of the  
“/en/bioenergy-monitor/” archive (behavior) page, which works as  
expected since it provides all articles with the proper url: (for  
example) “/en/bioenergy-monitor/2006/09/02/my-article/”

I’ve looked several times at the demo blog content and structure, but  
it seems all is OK.

Does anybody have an idea to help?

Is there something specific I’ve to look at? Debugging how?

Many thanks in advance.

–M

---

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [September 3, 2006, 12:35am UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/2 "2006-09-03T00:35:18Z")

</div>

Maurizio B. wrote:

> Hi. I’m not able to make the archive behavior monthly index page working ☹  
> I’ve the following content on the monthly index page:
> 
> …
> 
> I’ve looked several times at the demo blog content and structure, but  
> it seems all is OK.
> 
> Does anybody have an idea to help?

Since you have you have it setup like the following?

± Page with Archive Behavior  
|  
± Page with Monthly Archive Index behavior  
|  
± First Post  
|  
± Second Post

The Monthly index should be a child of the page with the archive  
behavior (on the same level as the posts).

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [September 3, 2006, 12:51am UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/3 "2006-09-03T00:51:21Z")

</div>

Thank you for your reply. Yes, I did structure the site as you mention.  
To fix this temporarily I created a page at the same level of the  
archive page (/en/archive/) and, with the following content, it works:

\<r:find url="/en/bioenergy-monitor/"\>  
\<r:children:each order=“desc”\>

\<r:link /\> (\<r:date format="%B %d, %Y" /\>)

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

but if I do this:

\<r:find url="/en/bioenergy-monitor/2006/09"\>  
\<r:children:each order=“desc”\>

\<r:link /\> (\<r:date format="%B %d, %Y" /\>)

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

the above doesn’t work.

So far, it seems is the \<r:archive:children:each \> tag doesn’t work as  
expected.

---

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [September 3, 2006, 1:07am UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/4 "2006-09-03T01:07:23Z")

</div>

Maurizio B. wrote:

> but if I do this:

Can you privately mail me and export of the site? Hit:

/admin/export

–  
John L.  
[http://wiseheartdesign.com](http://wiseheartdesign.com)

---

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [September 3, 2006, 1:07am UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/5 "2006-09-03T01:07:22Z")

</div>

For more information:

[http://pastie.caboo.se/11443](http://pastie.caboo.se/11443)

---

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [January 16, 2007, 11:20pm UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/6 "2007-01-16T23:20:58Z")

</div>

Patrick H. wrote:

> Was there ever a resolution to this problem? It would appear I am  
> having a very similar situation.

May be this one:  
[http://dev.radiantcms.org/radiant/ticket/257](http://dev.radiantcms.org/radiant/ticket/257)

Luigi

---

<div class="post-metadata">

**Author:** ![Maurizio\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Post date:** [January 16, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366/7 "2007-01-16T20:07:18Z")

</div>

On 9/2/06, John W. Long [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > So far, it seems is the \<r:archive:children:each \> tag doesn’t work as expected.
> 
> * * *
> 
> Radiant mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

Was there ever a resolution to this problem? It would appear I am  
having a very similar situation.

Thanks  
pth
