Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#49 2006-08-10 04:50:47
- Nell
- Member
- From: Mexico City, Mexico
- Registered: 2005-06-21
- Posts: 48
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
First of all, thanks for the plugin!
I am having some problems with the links. I’m using clean urls (/section/title) and I want to display posts from 3 different sections (dogs, cats, and fish for this example). I activated them in the extensions tab.
I created an additional section for the archive, called archivo. I put the following in the archivo page:
<code><txp:upm_date_menu section=“dogs,cats,fish” insert_empty_months=“no” month_format=”%B” />
<txp:upm_date_archive form=“archive_view” section=“dogs,cats,fish” /></code>
I get the year and the month with published posts, but when I click on the month, the link goes to /archivo/2006-08/ and that’s a broken link. If I use link_to="dogs"
in upm_date_menu, the link works but it only shows the posts from “dogs” section.
Is this the correct behavior of the plugin, or am I doing something wrong? Is it possible to use this plugin to make an archive of the three sections?
Thank you very much!
Offline
#50 2006-08-10 13:53:17
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
…but when I click on the month, the link goes to /archivo/2006-08/ and that’s a broken link.
You didn’t not activate that section. Look in the plugin’s tab under “extensions”.
Offline
#51 2006-08-10 15:00:34
- Nell
- Member
- From: Mexico City, Mexico
- Registered: 2005-06-21
- Posts: 48
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
(palm on face)
How silly. Thank you! It works perfectly now :)
Offline
#52 2006-08-15 11:18:36
- alexwest
- Member
- From: Järna, Sweden
- Registered: 2004-08-04
- Posts: 53
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
Hello Mary,
Is there any chance you can add a time (past and future) attribute to this plugin? It would be very much appreciated.
Thank you,
Alex
be safe and happy
Offline
#53 2006-08-15 18:37:26
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
Yeah, I can do that.
Offline
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
ok, i might be having a stupid moment, but i can’t get it to work.
here’s my setup:
1. on the front page, i have the following:
<code><txp:upm_date_menu link_to=“arkiv” /></code>
2. I have a section called arkiv, that uses a page where i have:
<code><txp:upm_date_archive /></code>
3. on the extensions tab, i have checked the box for the “arkiv” section.
I get the menu on the homepage, with the months pointing to urls like http://xxxxx/?month=2006-09, which obviously don’t go to the arkiv section and thus display nothing.
am i going about this the wrong way?
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#55 2006-09-26 22:52:01
- Nell
- Member
- From: Mexico City, Mexico
- Registered: 2005-06-21
- Posts: 48
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
I had the same problem because I didn’t activate the archive section, but I see you did. Do you have other sections with archivable content? If you do, you should check the boxes for those sections too.
Maybe you should try using the section property in both tags. That’s the way I did it and the plugin worked fine.
(Saludos Kemie! -Nelly)
Offline
#56 2006-09-27 03:28:51
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
I think you found a bug, Kemie. I’ll try and get it fixed (and add Alex’s request for a time attribute) as soon as I can.
Offline
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
thanks mary. ive temporarily solved it with some if_different tags, but would love to have something more like the plugin.
(hola nelly! :D)
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#58 2006-10-18 03:34:19
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
Not with this plugin, no. There are a couple similar plugins available I believe, which may do what you want (check the resources site). You could also do that with built-in tags. :)
Offline
#59 2007-01-24 17:50:01
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings
v.0.2
Last edited by Mary (2013-01-24 17:23:56)
Offline