Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-02-25 13:00:23
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
how can i see all the articles of a particular month with this menu
hello,
I have this part which makes the menu for my site :
<txp:if_first_article>
<div style="display:none;">
<!-- this is a workaround because otherwise there is a </div> at the start -->
</txp:if_first_article>
<txp:if_different>
</div><!-- closing div.content -->
<h3 class="toggle"><txp:section title="1" /></h3>
<div class="content">
</txp:if_different>
<txp:if_different>
<h4 class="toggle2"><txp:posted format="%B %Y" /></h4>
</txp:if_different>
<txp:if_last_article>
</div><!-- closing div.content -->
</txp:if_last_article>
What i need now is if someone chooses a month , he/sees all the articles of that month.
How can i do that .
Regards,
Roelof
(Edited: for blank lines in code use bc..
-Els)
Last edited by els (2008-02-25 17:58:18)
Offline
#2 2008-02-25 17:57:55
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: how can i see all the articles of a particular month with this menu
FAQ :)
Offline
#3 2008-02-25 18:40:07
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: how can i see all the articles of a particular month with this menu
hoi Els,
I have read that page but i don’t see how i can only see the articles which are posted in februari.
Roelof
Offline
Re: how can i see all the articles of a particular month with this menu
roelof wrote:
What i need now is if someone chooses a month , he/sees all the articles of that month.
How can i do that .
Wouldn’t upm_date_archive do what you want?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#5 2008-02-25 19:57:24
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: how can i see all the articles of a particular month with this menu
colak,
I could be working. Only i don’t see on which way i can tell on what way i know which month is choosen because the month is maded bij the posted tag.
Roelof
Offline
#6 2008-02-25 21:05:59
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: how can i see all the articles of a particular month with this menu
That’s why it would be simpler to keep the articles in the menu, like in my code :) But if you want to create a monthly archive page, I suppose Stuart’s articles Simple Archives and Simple Archives Part 2 could help you.
Or else try upm_date_archive, like colak suggested. I don’t know the plugin, but it looks as though it will do what you want. (Though you might have to change your menu then…)
Offline
Re: how can i see all the articles of a particular month with this menu
He may have to change his menu if he uses my method though I do show how to link from the menu to a month page.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#8 2008-02-26 10:24:54
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: how can i see all the articles of a particular month with this menu
oke,
Youre right with that. Im now looking and thinking how i can use your method with use of zwangerschap etc and the menu i have on the old site. Can i have archive’s which only work on a particular time for example between august 2005 and august 2006 ?
Roelof
Offline
Re: how can i see all the articles of a particular month with this menu
In the menu??
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#10 2008-02-26 10:46:01
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: how can i see all the articles of a particular month with this menu
Yep, in the menu .
so i make something like this
Zwangerschap
archive from these months.
1e levensjaar.
Archive from this monts.
and so on.
Roelof
Offline
Re: how can i see all the articles of a particular month with this menu
Have you a link so I can see your current menu? Email me at “stuart at thebombsite dot com” if you don’t want a public link.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#12 2008-02-26 11:11:01
- roelof
- Member
- Registered: 2005-03-27
- Posts: 647
Re: how can i see all the articles of a particular month with this menu
Hello Stuart.
the site I’m talking about is http://www.tamarawobben.nl.
The menu were talking about is on the left.
Roelof
Offline