Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#145 2008-05-21 01:04:36

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

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

You say you just installed it: are you using the latest version of the plugin (0.2.4), though?

Offline

#146 2008-12-13 07:17:52

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

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

Tag error: <txp:upm_date_archive form=“article_listing” section=“articles” /> -> Notice: Undefined variable: uLastMod on line 906

Tag error: <txp:upm_date_archive form=“article_listing” section=“articles” /> -> Notice: Undefined variable: uExpires on line 929

Well those two errors I got. Would like them removed.

Last edited by Ruhh (2008-12-14 02:17:28)


<txp:Ruhh />

Offline

#147 2008-12-15 05:50:09

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

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

Keep in mind that I haven’t checked any of my plugins in 4.0.7, it was only just released. Chances are this one needs to be updated.

Offline

#148 2008-12-17 21:59:44

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

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

Ohh. So when will there be an update so I can look forward to getting the new version?


<txp:Ruhh />

Offline

#149 2009-01-03 22:18:23

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

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

mode=“smart” doesn’t work for me. I have tried almost everything and get only blank list. Debugging mode show nothing.

I try to remove this condition:

if ($pretext['month'])
		{
			$month = $pretext['month'];
		}
		else
		{
			return;
		}

Because I was sure that these lines return nothing.
Finally I get “No articles could be found for the requested month.”
Which steps should I do then?

What can be the problem?
TXP 4.0.7 (but it didn’t work even on earlier versions)

Offline

#150 2009-01-10 10:00:49

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

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

An update is coming shortly for 4.0.7.

Igor: You realize smart mode means that the list (upm_date_archive) returns absolutely nothing unless an actual month has been requested. It is meant to be used either in tandem with upm_date_menu, which outputs the month links for you, or from links that you build yourself with the built-in Txp tags. i.e: on http://yoursite.com/ nothing is output, but on say, http://yoursite.com/?month=2009-01 returns a list of articles for that month.

Hence, that condition you removed is necessary; it does what it is supposed to do.

Offline

#151 2009-01-12 15:31:46

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

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

Ок, thank you for explanations, Mary.

I didn’t want to change your plugin, I was just playing around to find out what is wrong.
After your answers I have menu with links to each month, and articles archive if click to the link. So, everything works!

But, actually I was trying to made archive page looks like on your blog now. How did you do that? Using your own plugin or just with TXP tags?

May be I am mistaken, but I could swear in last month yours blog archive looked different. It looked like you use your plugin (with calendar and short list), and now it don’t. I need exactly the same. Your modern version. :-) Like <txp:upm_date_archive /> in “full” mode with paging for example by 3 months.

Offline

#152 2009-01-12 17:27:03

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

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

My mom’s blog uses the plugin, while my blog uses built-in tags (article and if_different, etc). I don’t blog very often, so I figured my plugin would be over-kill for it.

Offline

#153 2009-01-14 10:46:33

albertlo
New Member
Registered: 2009-01-14
Posts: 1

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

Hi all,
i’m new to Textpattern and i’m finding it a pretty steep learning curve for me but persevering.

Ive used the upm_date_archive plugin by Mary which is working ok, but I was wondering if theres a way to display a count of articles in a given month next to the date archive? ie

January 2009 (2)
December 2008 (8)

Offline

#154 2009-01-15 08:40:41

warmrobot
Member
From: Moscow, Russia
Registered: 2007-01-22
Posts: 31
Website

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

Mary wrote:

My mom’s blog uses the plugin, while my blog uses built-in tags (article and if_different, etc). I don’t blog very often, so I figured my plugin would be over-kill for it.

Oh, yes, I’ve mistaken. By the way, how did you do paging (previous and next) in archive at your site? How far as I now, it’s not possible with <txp:article_custom /> tag. So, standard method couldn’t work.

Offline

#155 2009-01-15 15:17:05

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

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

My articles are actually in the section that the archive page is, so I can use the article tag. Here’s the snippet I use:

<txp:if_individual_article>
<txp:article form="article_single" />
<txp:else />
			<h1 id="topic-heading"><txp:section title="1" /></h1>

			<dl class="log"><txp:article limit="15" form="article_archive" />
			</dl>

			<p><txp:older>Previous</txp:older> 
				<txp:newer>Next</txp:newer></p>
</txp:if_individual_article>

Last edited by Mary (2009-01-15 15:17:13)

Offline

#156 2009-01-15 15:19:44

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

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

There’s currently no way to show the article count, but I could include that feature in a future release.

Offline

Board footer

Powered by FluxBB