Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2004-05-25 02:38:03

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

Do you have this set up anywhere where I could take a look at it? Also, it would be helpful to know exactly which tag you’re using and what parameters you passed to it.

FYI, it looks like the <code>sec</code> parameter isn’t working properly. I’ll post an update tomorrow.

Offline

#17 2004-05-25 13:52:56

jayaqt
Member
From: Phils
Registered: 2004-05-13
Posts: 11
Website

Re: Browsing by date plugin

i tested it on txp on my computer, tried this tag:
‘< txp:akw_month_list />

and these months were shown:
May 2004
April 2004
March 2004
February 2004
January 2004

it directs me to the right month, like for example, may: http://localhost/textpattern/?y=2004&m=05

april:
http://localhost/textpattern/?y=2004&m=04

and march:
http://localhost/textpattern/?y=2004&m=03

yet it only takes me to may.i’ll be waiting for the update.thanks!

Last edited by jayaqt (2004-05-25 18:50:02)


I see the moon, and the moon sees me.
God bless the moon, and God bless me.

Offline

#18 2004-05-25 18:36:49

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

jayagt, have you replaced the <code><txp:article /></code> tag with <code><txp:akw_article_date_aware /></code>?

Offline

#19 2004-05-25 18:53:16

jayaqt
Member
From: Phils
Registered: 2004-05-13
Posts: 11
Website

Re: Browsing by date plugin

whoopsie, missed that, sorry. works flawlessly now! :)


I see the moon, and the moon sees me.
God bless the moon, and God bless me.

Offline

#20 2004-06-07 20:16:40

Remillard
Plugin Author
From: Lenexa, KS
Registered: 2004-05-16
Posts: 169

Re: Browsing by date plugin

Rem, the month_list tags are used to pass date parameters to archive sections. akw_article_date_aware then reads the date parameters via the url and outputs the specified articles. I generate the list of posts on my journal page using a special archive tag that I plan to release once TXP 1.19 is out.

Do you know when this portion of the plugin might be ready now that 1.19 is released?

Regards,
Remillard

Offline

#21 2004-06-08 17:34:07

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

I need to take a look at 1.19 today.

Offline

#22 2004-06-09 14:39:11

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

Re: Browsing by date plugin

thekolonel,
I am confused as how to use this set of tags? Can you give an example of where I need to put the tags to get a page like your Journal section.

Like where do I put <code><txp:akw_article_date_aware /></code> (from reading these posts I think it is mandatory).

thanks

Offline

#23 2004-06-12 05:07:36

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

New version available for g119. The section and category parameters now work properly. Grab a copy at http://www.nakedloftparty.com/txp_plugins/. I’m still in the process of migrating to g119 so let me know if there are any glitches and I’ll get on em immediately.

Offline

#24 2004-06-12 07:21:22

thekolonel
Archived Plugin Author
From: NYC
Registered: 2004-03-01
Posts: 28
Website

Re: Browsing by date plugin

tiny,

Here’s what I have on my journal page. This is in the sidebar:

<code><txp:akw_nested_month_list yearul=“year-list” yearli=“year” monthul=“month-list” monthli=“month” yearprefix=“Post titles for” monthprefix=“Excerpts for” /></code>

And then this in the body (from my new archive list plugin):

<code><txp:archive limit=“1000” lowform=“entry_list” medform=“entry_excerpt” form=“entry_full” headwrap=“h3” daywrapclass=“day-list” dayitemclass=“day” postwrapclass=“post-list” /></code>

If you don’t need the archive list tag, you can also use this in the body:

<code><txp:akw_article_date_aware /></code>

(If you manually enter ../default/2003 into the url on my front page you’ll see the automatic filtering in action. I could’ve added a list of months there too.)

You can use <code><txp:akw_article_date_aware /></code> anywhere you’d use <code><txp:article /></code>. It works hand-in-hand with the month-list tags.

TK

PS — check out this site. She’s got it working on her front page.

Last edited by thekolonel (2004-06-12 07:28:40)

Offline

#25 2004-06-12 11:14:26

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

Re: Browsing by date plugin

Thanks,

I will try this out shortly. This helps tremendously.

Offline

#26 2004-06-17 18:05:37

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

Re: Browsing by date plugin

I was having problems getting this to work until I realized that the akw_article_date_aware tag and the akw_nested_month_list have to be on the same page.

Works perfectly know thanks.

Offline

#27 2004-06-18 18:07:42

andruidica
New Member
From: Brooklyn
Registered: 2004-05-26
Posts: 5
Website

Re: Browsing by date plugin

I’m having trouble Kolonel. I’m at work now, but if it’s okay, I’ll email you when I get more time to work on this.

Offline

#28 2004-06-19 22:55:28

andruidica
New Member
From: Brooklyn
Registered: 2004-05-26
Posts: 5
Website

Re: Browsing by date plugin

Okay Kolonel, or anyone else with suggestions (jayaqt?),

Check this (url removed) out. It is displaying the most recent entries, instead of the september 2003 entries.

I have txp:akw_article_date_aware in my archive page. I have no idea why it’s not working.

Last edited by andruidica (2004-12-03 20:05:07)

Offline

#29 2004-06-20 10:51:25

marco
Member
From: Montreal
Registered: 2004-02-24
Posts: 62

Re: Browsing by date plugin

Can somebody clarify how to use all these “akw_xxx” tags:

txp:akw_archive_plugin
txp:akw_article_date_aware_plugin

txp:akw_article_custom
txp:akw_date_aware
txp:akw_month_list
txp:akw_nested_month_list

It seems there are two plugins but six tags;

- what akw_xxx plugins create what tags?

- what is the syntax for the 6 tags?

- can somebody post examples of using these tags?

I only found the two encrypted plugins on the site, and no help file or examples…

Offline

#30 2004-06-20 17:50:32

misterk
Member
From: Morris, MN
Registered: 2004-02-24
Posts: 77
Website

Re: Browsing by date plugin

If you install them in textpattern there is documentation for the plugins in the admin -> plugins -> [plugin] page. Try that.

Offline

Board footer

Powered by FluxBB