Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-05-22 16:24:49

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

Re: [plugin] [ORPHAN] mdp_calendar

In that case do you have the full tag in there like so:-

< txp:mdp_calendar_small / >

only without the spaces at the bginning and end and what version of TXP are you running?


Stuart

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

Offline

#17 2005-05-22 21:35:09

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

Re: [plugin] [ORPHAN] mdp_calendar

I have TXP RC3. Well, I’m not on my machine right now, I will take another view to my tags later.

Offline

#18 2005-05-22 21:49:36

starzabove
Member
Registered: 2004-04-13
Posts: 76

Re: [plugin] [ORPHAN] mdp_calendar

I’m getting the same error, with that tag (minus space) and yes, plug-in is ON.
I believe this is on REV 371. I will update it now to see if it works out.

edit—
updated to rev 383 and it works!

Last edited by starzabove (2005-05-22 22:11:39)


90+ Textpattern installs and still going…

Offline

#19 2005-05-23 01:17:53

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

Re: [plugin] [ORPHAN] mdp_calendar

That was the problem!
I just update TXP RC3 to the last REV and the Calendar is working.

Thanks a ton!

Offline

#20 2005-05-24 00:32:49

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

Re: [plugin] [ORPHAN] mdp_calendar

Can someone please post an example of how to have a small calendar and a list of articles for that month on the same page? I’m using displayfuture=1 and article time=“future” but can’t get it to work. It just displays all articles for all months regardless of what month the small calendar displys. Thanks for any suggestions.

Offline

#21 2005-05-25 18:01:32

moloko
Member
From: USA
Registered: 2005-05-25
Posts: 35
Website

Re: [plugin] [ORPHAN] mdp_calendar

Great plug-in. Installed and running relatively easy. Still trying to figure out how to modify the CSS for this.

Offline

#22 2005-05-26 04:40:21

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

Re: [plugin] [ORPHAN] mdp_calendar

> moloko wrote:

> Great plug-in. Installed and running relatively easy. Still trying to figure out how to modify the CSS for this.

I couldn’t get the class=“string” option to work but I put the calendar (large calendar) in div’s, using a class I called, “calendar”. So for css that gives “.calendar table” for the calendar itself, “.calendar th” for the header (the month and the days of the week), “.calendar h4” for the dates, “.calendar td” for the squares. You can also style the links using “.calendar .permalink a”, etc. There’s also these classes: .today, .hasarticle, and .invalidDay (that’s for the extra squares that fills out the calendar.)

Offline

#23 2005-05-26 13:33:11

moloko
Member
From: USA
Registered: 2005-05-25
Posts: 35
Website

Re: [plugin] [ORPHAN] mdp_calendar

Got part of it up and running how I want. For the most part got the CSS working, just ironing it all out now and making it presentable. A few questions.

1. I have it sent to 0 but still showing monday as the start of the week. Changing to 6 does not change the day.

2. How do I just have the first letter show for the day?

Offline

#24 2005-05-26 14:00:44

jufemaiz
Archived Plugin Author
From: nth narrabeen, sydney, nsw, au
Registered: 2005-03-17
Posts: 91
Website

Re: [plugin] [ORPHAN] mdp_calendar

thinking about using for a mates band – any chance that it can do a list of upcoming gigs?

Would that be by setting up articles for the future and listing them in reverse order from today’s date?

regards,
kvack


BE + MEngSc = engineer with a side dish of frustrated designer/developer with a penchant for photography outside

Offline

#25 2005-05-26 21:03:09

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

Re: [plugin] [ORPHAN] mdp_calendar

Is there a way to set up the calendar so that it displays article results on a page other than ‘default’. I’ve got a site I’d love to use the small calendar for, but my ‘default’ page is a little unusual. Most of my articles run off a page called ‘news’ and that’s the page I think I need to be using to output article results from clicking a date on the calendar. Any ideas? Or a perhaps a possibility for the next version?

(I know Marshall, I keep asking a lot of you on this plugin! I’m sorry!)

Offline

#26 2005-05-26 22:10:23

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

Re: [plugin] [ORPHAN] mdp_calendar

Well, well, I’ve got a ton of questions. The first thing is that I’m feeling that this plugin needs a well explained doc with all the FAQs (this is not a critique, just a wish).
I installed the plugin in my TXP RC3. The calendar works but not as I need, for example:

How I use it without tables?

How to use it with clean URLs (Im using TXP in this way > root/section/article_name)?
— the links on the calendar looks like > root/?month=2005-05-19&s=SectionName
but that link takes me to the index page of that section not to the article specific page!

Is still needed to hack anything?

Each day with a link has this code:

< td class = “hasarticle” >< a href = “theURL” class = “hasarticle” >12 < /a > (of course without that spaces)

The second class into the href has no sense for me, how can I take it out?

Internationalization of dates?
I’m using Lang ES (Spanish) and just have the Month translated, all the days of the week are still in english.

Enough for today.

Thx in advance

Last edited by duchamp (2005-05-27 00:23:01)

Offline

#27 2005-05-27 16:32:03

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

Re: [plugin] [ORPHAN] mdp_calendar

I’m getting there with this plugin, but I still need a little help, anyone?

»How do I get mdp_calendar to produce clean urls?
»Is there any way for an article list page generated by mdp_calendar to NOT be considered a section frontpage? Then I could use a conditional to style content differently.
»The class=“className” attribute has no effect.

Thanks in advance…

Last edited by mrdale (2005-05-27 16:33:00)

Offline

#28 2005-05-29 19:06:56

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

Re: [plugin] [ORPHAN] mdp_calendar

I’ve updated the release over this weekend. Please upgrade and email me if you find any other bugs.

v0.4.2 2005-05-29
  • Bug Fix: Calendar now produces correct output for the starting day of the week
  • Bug Fix: class attribute works.
  • Bug Fix: Dual “hasarticle” class removed. The “hasarticle” class only applies to the table cell.
  • Bug Fix: Day names are now internationalized. If using a custom date format, convert it to strftime format!
  • Bug Fix: Table not having assigned class
  • Compatibility Fix: ?date=yyyy-mm-dd URL’s now changed into ?month. Allows older links to work
  • New: links to articles now have title attribute set

Last edited by greenrift (2005-05-29 23:05:56)

Offline

#29 2005-05-29 22:49:39

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

Re: [plugin] [ORPHAN] mdp_calendar

Great! Going to update right now!
Thanks a ton.

Offline

#30 2005-05-30 08:52:51

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

Re: [plugin] [ORPHAN] mdp_calendar

> Bug Fix: Day names are now internationalized. If using a custom date format, convert it to strftime format!

Well, that’s right but for some reason accents are replaced by a ?.
EG.: In spanish Miércoles are showed as Mi? and Sábado as S?b

> Bug Fix: Dual “hasarticle” class removed. The “hasarticle” class only applies to the table cell.

Great!

> # Compatibility Fix: ?date=yyyy-mm-dd URL’s now changed into ?month. Allows older links to work

Im not sure if I’m doing all the right work. Im still having troubles with links and URLs.
Each linked day has this format:

SITE URL/?month=2005-05-13&s=Section

My TXP is configured to show URLs as /section/title … could this work with the calendar or I must to change it to /year/month/day/title?

> New: links to articles now have title attribute set

Not on mine! I just have a simple link without the title attribute.

Offline

Board footer

Powered by FluxBB