Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Calendar?

#46 2004-06-16 04:42:00

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

Re: Calendar?

> trailgirl wrote:

> Is there a way to have the range of months displayed to only cover the beginning of articles to the latest articles? In other words if my oldest article is in January 2004, when displaying January there would not be a backlink to December 2003.

Nope. It wouldn’t be terribly hard to do, simply run two querie’s that return true if there are article’s in the specified month (one for next and previous month). A nice feature though, I’ll add it to the suggested for future versions box. I’ve got a new version that does clean URL’s much better, thanks to Manfre, but I’m going to get them even better before I release into the wild (and messy URL’s also need work).

Offline

#47 2004-06-16 05:46:05

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: Calendar?

hey greenrift.. thank you for making that calendar.. i know some people apparently abhor the little calendars (i’m not referring to the large event-style calendars), but i actually really like them. i don’t expect this to be any sort of a top priority for you, but if you’l be working on this wonderful plugin further, i’d really like to be able to edit the days of the week (M T W ~ Mon Tue Wed, etc.) and the < to &laquo.., and especially to be able to change/remove the zeros (01 02 03… 09 10 —> 1 2 3… 9 10).. those would be extra-splendid. and the way i had set mine up in movable type, i was able to show the entries for a given day in the ‘title’ or the url of the day.. so it was only visible on hover, but there nonetheless.. i don’t suppose that’s as easy to do, though? regardless, this is a beautiful plugin and i’m thankful someone made it. thanks, greenrift. :)

EDIT: i did find the very very simple solution to removing the zeros.. for anyone who was as dense as me about it, the way you do it is just to go to your plugins listing on your textpattern admin panel and click on the calendar plugin, and you’ll get the whole code of it…

find the lines
<code>/* doubleDigit($num)
/* Padds a single digit number to double digit.
*/</code>

and in place of the “0”, just…. make it blank: “ “. that’s it.
that’s probably how i’ll be editing the days of the week and the left and right arrows too, huh.

thanks again, greenrift, for this plugin :)

Last edited by alicson (2004-06-19 02:25:04)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#48 2004-06-16 15:35:49

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

Re: Calendar?

Thank you, greenrift. Awesome plugin.

Offline

#49 2004-06-19 20:43:54

HarryTick
New Member
From: NY
Registered: 2004-05-20
Posts: 5
Website

Re: Calendar?

I have articles posted on the 13th and 10th but the links show up on the 12th and 9th. Any idea why it is doing that?

Offline

#50 2004-06-20 21:22:08

HarryTick
New Member
From: NY
Registered: 2004-05-20
Posts: 5
Website

Re: Calendar?

I’ve figured it out (I think)….it’s a timezone difference. The date the article shows is from my timezone +4hrs and my server is located somewhere near 0hrs, would like to be able to set it to read the date of the article, without reading the date of the server. Don’t have near enough time to look into doing it myself, but something to look at.

Offline

#51 2004-06-23 03:34:49

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

Re: Calendar?

> Picasso wrote:

> Re. upcoming event list.

I’m new to TXP, and the event list plugin is one of the things I’m looking for. However, I’m trying to list, say, 5 of 20 events on a page and have a “Next 5” type link. Is there a way to create this link?

No, not currently. I could probably add something that would do that.

Offline

#52 2004-06-25 03:12:40

bleveck
Member
Registered: 2004-05-30
Posts: 52
Website

Re: Calendar?

Hmm… I’m afraid I don’t understand the upcoming event plugin. Where does it draw its upcoming articles from, or rather, what do I have to do to have an article listed by it?

Offline

#53 2004-06-25 05:22:23

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

Re: Calendar?

> bleveck wrote:

> Hmm… I’m afraid I don’t understand the upcoming event plugin. Where does it draw its upcoming articles from, or rather, what do I have to do to have an article listed by it?

You post an article that is meant to be published in the future, where it says “Post article at” or “Published at” you make to a date in the future (make sure to uncheck the “set timestamp to now” if it is a new article).

All publishing at a later date does is make it not appear on the frontpage until the day it is supposed to be published.

Offline

#54 2004-06-25 06:37:27

bleveck
Member
Registered: 2004-05-30
Posts: 52
Website

Re: Calendar?

Thanks, works great now.

Offline

#55 2004-06-25 12:12:01

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

Re: Calendar?

There’s a “time offset” under site preferences, would that fix it?

> HarryTick wrote:

> I’ve figured it out (I think)….it’s a timezone difference. The date the article shows is from my timezone +4hrs and my server is located somewhere near 0hrs, would like to be able to set it to read the date of the article, without reading the date of the server. Don’t have near enough time to look into doing it myself, but something to look at.

Offline

#56 2004-06-26 05:05:43

Sam
Member
From: New York City
Registered: 2004-06-26
Posts: 127
Website

Re: Calendar?

> trailgirl wrote:
> There’s a “time offset” under site preferences, would that fix it?

No, I have the same problem, my server time being -8hours and my local time being +10 hours makes my posts appear in the Calendar as if they were posted a full day behind.

However, I spoke to greenrift last night about it and I do believe he is working on a fix! =)

Offline

#57 2004-07-05 07:10:50

Kossatsch
Member
From: St. Wolfgang
Registered: 2004-04-01
Posts: 198
Website

Re: Calendar?

Is there any possibility to replace the English month names by other ones. I did not have any problerm replacing the days, but if I could replace the Month names by numbers (e.g. “7/2004” instead of “July 2004”), this would be great.

Any ideas?


txp at irox.de since spring 2004 (g1.17) & at roxomatic since 2006.

Offline

#58 2004-07-08 15:48:23

battletux
New Member
Registered: 2004-04-15
Posts: 6

Re: Calendar?

Hey greenrift,
I really like this but i need some help.
I would like to have a calender setup like you have on your archieve page (i want to do something similar as this is the only way i can get a decent archive section) but i dont know how to get it to display like that.
Here is my site’s archive page: http://www.opensauce.co.uk/index.php?s=archive

It looks really funny.
Thanks in advance.

Offline

  1. Index
  2. » Archives
  3. » Calendar?

Board footer

Powered by FluxBB