Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#136 2008-02-29 19:57:05

roelof
Member
Registered: 2005-03-27
Posts: 647

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

Mary,

Thank you for the answers.
I have still one problem.
When i use your plugin and the sections are not used on the frontpage , they do not show up in the menu.

Roelof

Offline

#137 2008-02-29 21:21:08

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

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

Offline

#138 2008-03-01 20:35:07

roelof
Member
Registered: 2005-03-27
Posts: 647

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

i try that but as i said there you only see the first article.
I described my problem in the other tread.

Roelof

Offline

#139 2008-03-05 13:03:29

roelof
Member
Registered: 2005-03-27
Posts: 647

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

Hello Mary,

I have still one “problem”. In the manual there is nothing about a limit of articles so i can paginate my archive.

Is this possible or not ?

Roelof

Offline

#140 2008-03-07 15:59:51

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

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

No, it’s not. The plugin assumes you want them all. If you’d rather paginate, you should be able to remove only the upm_archive tag from your page (keep the menu tag), and use the built-in tags article and if_different (to display article date only once), etc.

Offline

#141 2008-04-19 15:32:31

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

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

I don’t understand how to show the menu on the archive page and then the article list on the same page after clicking on a month?


<txp:Ruhh />

Offline

#142 2008-05-19 07:59:26

fangonk
Member
Registered: 2007-07-12
Posts: 44

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

Hey, I just installed this plugin but I can’t seem to get it to work. The tag dosen’t seem to recognize any of the attributes and txp is spitting out the following errors:

Tag error: <txp:upm_date_archive mode=“full” class=“archivelist”/> -> Textpattern Notice: Unknown tag attribute: mode on line 653

Tag error: <txp:upm_date_archive mode=“full” class=“archivelist”/> -> Textpattern Notice: Unknown tag attribute: class on line 653

My guess is that this has something to do with my clean urls but I can’t seem to wrap my head around how to fix this problem.

Offline

#143 2008-05-19 08:23:43

milkshake
Member
From: Linz, Austria
Registered: 2007-06-24
Posts: 80
Website

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

It looks like there is no class attribute for upm_date_archive, only for the other tag, upm_date_menu.

Try list_class="archivelist" instead.

Offline

#144 2008-05-19 08:48:13

fangonk
Member
Registered: 2007-07-12
Posts: 44

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

Oh right, my bad.

I still haven’t found any reason why the mode tag isn’t working though. It doesn’t seem to be affecting the operation of the plugin, it is just kind of worrisome.

Offline

#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

Board footer

Powered by FluxBB