2005-05-25 18:01:32

moloko
Member
gamma
From: USA
Known languages: English, Tagalog
Website

Re: [ORPHAN] mdp_calendar

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

Offline

 

2005-05-26 04:40:21

trailgirl
Member
delta
Website

Re: [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

 

2005-05-26 13:33:11

moloko
Member
gamma
From: USA
Known languages: English, Tagalog
Website

Re: [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

 

2005-05-26 14:00:44

jufemaiz
Plugin Author
epsilon
Real name: Joel
From: nth narrabeen, sydney, nsw, au
Known languages: English, MySQL, PHP, RoR, x/html, css, SAS
Website

Re: [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

 

2005-05-26 21:03:09

theturninggate
Member
êta
Website

Re: [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

 

2005-05-26 22:10:23

duchamp
Member
êta
Real name: Alex Dukal
From: Patagonia
Known languages: es | en
Website

Re: [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

 

2005-05-27 16:32:03

mrdale
Moderator
omega
Real name: Dale Chapman
From: Walla Walla
Known languages: strine.
Website

Re: [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

 

2005-05-29 19:06:56

greenrift
Plugin Author
êta
Real name: Marshall
Website

Re: [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

 

2005-05-29 22:49:39

duchamp
Member
êta
Real name: Alex Dukal
From: Patagonia
Known languages: es | en
Website

Re: [ORPHAN] mdp_calendar

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

Offline

 

2005-05-30 08:52:51

duchamp
Member
êta
Real name: Alex Dukal
From: Patagonia
Known languages: es | en
Website

Re: [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

 

Powered by FluxBB