Textpattern Forum

You are not logged in. Register | Login | Help

#1 2005-05-13 17:01:12

greenrift
Plugin Author
Registered: 2004-03-08
Posts: 186
Website

[plugin] [ORPHAN] mdp_calendar

mdp_calendar allows you to create a calendar of live articles for a certain month. The calendar itself is a small table of dates and links to the articles. Different months can be navigated to by the user, or only a particular month can be shown. Both a large version of the calendar, which links to all articles, and a more compact version are available.

mdp_calendar

This is version 0.4. Big rewrite, works much better. Please update, email me any bugs, but I’m thinking there won’t be too many of them. Big features:

  • mdp_calendar broken into two tags: mdp_calendar_large and mdp_calendar_small
  • Internationalization of month and day names
  • User adjustable beginning of week, default is Sunday
  • If given ID’s, multiple calendars on a page can be navigated seperately.

Remember <mdp_calendar /> => <mdp_calendar_large /> and <mdp_calendar smallformat="1" /> => <mdp_calendar_small />

There are few more changes, everything is in the help section of the plugin. Please use this thread for now on when talking about my calendar plugin.

I’ve updated the plugin to incorporate some bug fixes people have sent me. Please upgrade before you post or email me. If there is a problem, even after upgrading and making sure you have latest revision of TXP RC3, please email me with as much detail and as many as examples as possible.

Last edited by greenrift (2005-05-29 19:06:02)

Offline

#2 2005-05-14 02:33:37

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: [plugin] [ORPHAN] mdp_calendar

Haven’t tried it yet, but this looks great. Thanks for updating it, greenrift.

Hope it works!


bludrop studios .::. Creative Expression

Offline

#3 2005-05-14 03:15:14

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: [plugin] [ORPHAN] mdp_calendar

Defining the class doesn’t work. Only <table> shows up with no class.


bludrop studios .::. Creative Expression

Offline

#4 2005-05-14 11:56:39

fri
Member
From: Denmark
Registered: 2004-04-30
Posts: 34
Website

Re: [plugin] [ORPHAN] mdp_calendar

Thanks for both making and updating this great plugin for us, greenrift!
It means a lot for my sites navigation.
I have just tried the new small calendar and noticed a few small things:

Help example tag spells: txp:mdp_large_calendar ; your tag is txp:mdp_calendar_large.
Navigation doesn’t link to specified section.
firstday=“integer” for monday is : “0” on my system.
No titles on the linked days anymore.

And then a few questions:

How do you get the headers to display just the first letter of the day?

Is it ‘normal’ to let url parameter month equal the old date ?
(?month=2005-04-03) I’ve gotten used to that string beeing called date, and month usualy eqalling one number.
All my other navigation stuff depends on these two different parameters. I’ll have to change mine of course if it has become a standard..

Offline

#5 2005-05-14 22:17:32

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,050
Website

Re: [plugin] [ORPHAN] mdp_calendar

I can’t get future live articles to work

They display in the small calendar, but I cant get them to link to anything intelligable. Are hacks still required? I’d love some help with this, anyone?

Offline

#6 2005-05-16 15:29:36

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,050
Website

Re: [plugin] [ORPHAN] mdp_calendar

Sorry for the bump: I still can’t get future live articles to work. Anyone want to help?

Offline

#7 2005-05-17 19:23:45

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: [plugin] [ORPHAN] mdp_calendar

I haven’t toyed with the new version yet, but in the old version you only had to set the ‘displayfuture’ attribute like this:

txp:mdp_calendar displayfuture=“1” section=“events”

I can’t imagine he would have disabled the feature. Give that a try. Naturally you’ll want to change the section name to whatever you use.

Last edited by theturninggate (2005-05-17 19:29:24)

Offline

#8 2005-05-18 16:54:50

EddieG5
Member
From: Georgia
Registered: 2004-03-03
Posts: 96

Re: [plugin] [ORPHAN] mdp_calendar

I can’t get this to work … I’m using:

txp:mdp_calendar smallformat=“1” /

But calendar does not show. I’m running RC3 revision 372. Plugin is set to Yes for active.

Any thoughts on what I’m doing wrong?

Last edited by EddieG5 (2005-05-18 16:55:30)

Offline

#9 2005-05-18 20:33:40

mttw
Member
From: The Netherlands
Registered: 2005-03-12
Posts: 26

Re: [plugin] [ORPHAN] mdp_calendar

Same problem over here… how do I set up the whole thing to get a calendar on my site?

Offline

#10 2005-05-19 15:19:33

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] mdp_calendar

You should be using:-

mdp_calendar_small

or

mdp_calendar_large

and leave a space before any other attributes.


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB