Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2005-12-20 00:28:05

Souljacker
Member
From: Terra Brasilis
Registered: 2005-06-20
Posts: 47
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

I’ll try it out mary. Thanks a lot :c)

Offline

#32 2006-01-10 15:50:07

hachi
Member
From: switzerland
Registered: 2004-04-24
Posts: 25

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

i wanted to try upm_date_archive with 4.0.3. according to textpattern.org, this plugin is abandoned since mary stopped working on textpattern related stuff. i tried to install the plugin one can download from here according to this post, but i got an error after pasting the code in the plugin textarea. maybe it’s because the plugin text isn’t in this ominous raw format. can anybody help?

here’s the error i got:
<code>Notice: unserialize(): Error at offset 0 of 10 bytes in /Users/oliver/Sites/mainstream/www/mainstream/textpattern/include/txp_plugin.php on line 155</code>

Last edited by hachi (2006-01-10 15:53:47)

Offline

#33 2006-01-10 19:23:13

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

I also received an error when trying to compile the source mary left. I would love it if someone could pick this up.

Offline

#34 2006-01-25 19:43:18

aaron
New Member
Registered: 2005-09-29
Posts: 3

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Try this version:

upm_date_archive v0.1.6

http://utterplush.com/download/txp/upm_date_archive.php

The upm_date_menu seems to work ok, but not the upm_date_archive. I didn’t play around with it long though.. give it a try.

I’m on TXP 4.0.3 btw.

(Edit: corrected the url :) -Mary)

Last edited by Mary (2006-04-22 04:00:45)


Regards,

Aaron

Offline

#35 2006-04-20 11:48:34

thehobo
New Member
Registered: 2006-04-20
Posts: 3

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Great plugin. But seems to have a minor bug. If in between months there are no articles, the month still show when i use [insert_empty_months=“no”] .

But it’s not a show stopper bug so it’s fine with me.

Last edited by thehobo (2006-04-20 11:49:47)

Offline

#36 2006-04-22 04:02:39

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Hmm. I’ll look into it. I may need some details from you (your timezone, etc), but first I’ll do a preliminary check.

Offline

#37 2006-04-22 05:33:45

thehobo
New Member
Registered: 2006-04-20
Posts: 3

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Try something like few articles in consecutive months in 2005, then jun2005-feb2006 no articles. mar2006 and apr2006 some articles. You will see that the 2005 June-Dec still show even tho there are no articles published for those months.

Offline

#38 2006-04-22 18:50:49

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Okay thanks. Hopefully I’ll be able to update with a fix for you shortly. :)

Offline

#39 2006-04-23 04:45:31

thehobo
New Member
Registered: 2006-04-20
Posts: 3

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Hi,

I manage to fix this. The error was rather subtle. Look a function upm_date_menu (towards the end).

if ($insert_empty_months = ‘yes’ and $working_month < 12)

change to

if ($insert_empty_months == ‘yes’ and $working_month < 12)

Just a missing “=”. :)

Offline

#40 2006-04-23 06:19:35

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

v.0.1.7.

Thanks, thehobo. :)

Offline

#41 2006-05-07 02:36:02

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

I’ve got <txp:upm_date_menu insert_empty_months="no" link_to="article" year_format="" month_format="%B %Y" sort="the_year desc, the_month desc" break="li" class="bullit" /> and it’s working great.

But i guess the ‘break’ attribute isn’t supported. Is it possible to replace the <dd> tags that the months are wraped in with <li> ?


Yes, I have tried turning it off and on.

Offline

#42 2006-05-07 15:46:45

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

But i guess the ‘break’ attribute isn’t supported.

Read the plugin help for what attributes are supported. That’s correct, “break” is not one of them.

Is it possible to replace the <dd> tags that the months are wraped in with <li>?

Nope. It wasn’t meant to be a highly configurable plugin, just basic. There are any number of ways the year/month list could be marked up, so when I wrote the plugin I decided to just use arbitrary tags to keep it simple (to create and use). I’m open to suggestions on how to make this confgurable (but it needs to remain uncomplicated).

Offline

#43 2006-05-07 22:37:28

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Yep, I noticed that “break” was conspicuously missing.

I actually find the plugin very powerful and great. Unfortounately, all the other lists on my sidebars have bullets (I use a custom image), so my archives list doesn’t match when I use upm_date_archive. Now that I’m thinking about it, though, I can probably get what I want with article_custom and some conditionals . . .


Yes, I have tried turning it off and on.

Offline

#44 2006-05-08 23:40:06

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

Oh, are you talking about the article list itself, and not the menu? ‘cuz that can use unordered lists and headings (the upm_date_archive tag, “smart” rather than “full” mode).

Offline

#45 2006-05-09 03:41:57

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: [plugin] [ORPHAN] upm_date_archive: Date archive listings

No . . i ‘m using upm_date_menu. It’s live on my site right now . . . you can tell ‘cause it’s the only sidebar list without bullets.


Yes, I have tried turning it off and on.

Offline

Board footer

Powered by FluxBB