Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2005-06-01 23:21:10

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [plugin] [ORPHAN] mdp_calendar

Well, everything is working ok but got another question that maybe someone solved before:
my large calendar shows past events and upcoming events (displayfuture=“1”) but not today’s events!
… is that a common bug or I need to implement a hack to solve this?

Thx in advance

Offline

#38 2005-06-02 00:06:35

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

Re: [plugin] [ORPHAN] mdp_calendar

Thanks for seeing at duchamp, I’ve updated the plugin along with the character encoding problems and add title’s.

mrdale, update to this latest version and tell me what happens. If they are articles are after the current date, then you’ll need the displayfuture attribute to be set to “1”. If they are in the past, first try changing the firstday ( mdp_calendar_large firstday="1" or similiar) and see if that fixes it. If that doesn’t, send me an email with as much information as you can provide.

Last edited by greenrift (2005-06-02 00:12:18)

Offline

#39 2005-06-02 17:19:08

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [plugin] [ORPHAN] mdp_calendar

updated to v0.4.3 and everything works fine for me. The only thing that’s still giving me troubles is the links into the small calendar, ‘cause I’m using clean URLs in the format of /Section/title and each event link takes me to the /Section/ not to each article as I see in other people calendars with messy URLs.
It could be solved in a near future?
That would be great!

Offline

#40 2005-06-02 17:24:17

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] mdp_calendar

[marcel] duchamp >

Me too, when I click on any link in the small calendar it takes me to an article list of All the items, even though I would expect it to limit posts to those that match that date. Anyone else?

Offline

#41 2005-06-02 19:16:02

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [plugin] [ORPHAN] mdp_calendar

I think that Marshall could do something with this (You’re the wizard man! not me he he).
the small calendar could work as the large one, but what to do with the links?
if you’re using TXP for a blog is probably that some days you have more than one event or article and the question is … what to show in the small calendar?
Im using the calendar for a Disco-Pub Website, the large calendar is showed in the Events home page and each event link takes you to an individual page with some info, a flyer and the small calendar in a side bar, actually when you click any day with an event the Events home page is retrived, that’s not the idea … but again how to manage more than one event in a small calendar? Not sure right now.

Offline

#42 2005-06-02 22:53:07

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

Re: [plugin] [ORPHAN] mdp_calendar

> mrdale wrote:
> Me too, when I click on any link in the small calendar it takes me to an article list of All the items, even though I would expect it to limit posts to
> those that match that date. Anyone else?

Go into publish.php, and at line #401 'month' => '', change it to be 'month' => $month,. That should fix your problem. The line number is only for the latest revision of TXP, but it should close to previous versions.

Offline

#43 2005-06-03 01:31:18

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: [plugin] [ORPHAN] mdp_calendar

I’ve got a revision from last week and it doesn’t work.
Could this work if I’m using Section/title instead of Year/month/day etc.?

Offline

#44 2005-06-03 03:45:56

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] mdp_calendar

Many Thanks mr.rift, worked like a charm…

Offline

#45 2005-06-07 17:31:16

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: [plugin] [ORPHAN] mdp_calendar

Is small calendar + date based clean urls still a no-go?

Offline

#46 2005-06-13 17:45:39

jbhis8up
Member
From: Converse, TX
Registered: 2004-12-16
Posts: 22
Website

Re: [plugin] [ORPHAN] mdp_calendar

Okay, I’m not a php programmer by any means, however, would it be possible to have the small calendar dates linked to the particular article? I know that may cause a problem with multiple article posted on the same day, however, if most people are using the calendar to display future events, there can’t be too many times when multiple events happen on the same day. Just a thought.

Also, anyone know how to change the weekday abbreviations to one-letter abbreviations? Thanks.

Last edited by jbhis8up (2005-06-13 20:15:16)

Offline

#47 2005-06-15 01:52:08

Vitruvius
Plugin Author
Registered: 2004-09-21
Posts: 125

Re: [plugin] [ORPHAN] mdp_calendar

OK – here is a weird problem. I am using the latest rev of TXP + the latest plugin code (0.4.3) and am getting a strange bug.

I can not post an event to the 1st day of the month?? 1st day of the week no problem – but 1st day of any month – no show…

I am using the large calendar with showfuture turned on…

Any ideas?

Offline

#48 2005-06-15 02:24:19

trailgirl
Member
Registered: 2004-06-04
Posts: 68
Website

Re: [plugin] [ORPHAN] mdp_calendar

I tried a test with an event dated July 1, no problems. I’m also using rc3 and plugin 0.4.3 with first day of month set to Sunday (I don’t know if that matters). I’m calling the plugin with:

txp:mdp_calendar_large section=“events” displayfuture=“1” firstday=“7”

(I don’t know how to put angle brackets in the forum).

Last edited by trailgirl (2005-06-15 02:24:43)

Offline

Board footer

Powered by FluxBB