Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

#37 2004-06-09 20:19:46

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

Re: Calendar?

Sorry!
My 100 notices mentioned above only mess up the version I have istalled on my local computer. Not the online installation – that works butifully!
It would be very nice to get a fix for the local one though, I’d like to be able to test on that (only got a small modem) and it looks VERY messy this way!

> erwin wrote:
> This is one nifty plugin :)
>Such a shame you cannot show more than one post per day in the smallformat mode. It would certainly have a place on my site if that was possible. :)
>Good job.

– I would also like to join in loudly on that one!

Another thing:
Do you think it would be possible to start the week on mondays?
That maybe a more european concept for timetables, and it would feel more familiar for my readers – maybe as an option?

Last edited by fri (2004-06-09 20:21:05)

Offline

#38 2004-06-10 03:58:32

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

Re: Calendar?

fri, could you possibly email me all 100 warning’s you are getting? And when you deactive my plugin, do the warnings continue or stop?

When I’ve had any warnings or errors they haven’t been in publish.php but in a tmp file, almost all of them have been as a result of some syntax problem.

Starting days on Monday is something that I was going to originally have then scrapped just to get a basic calendar at first. It is something that I plan on adding.

Offline

#39 2004-06-10 09:10:55

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

Re: Calendar?

Of course :)
When I deactivate they stop!
If I put on an the attribute smallformat: <txp:mdp_calendar smallformat=“1” />
the warnings limit to 6!
- but I’ll send you the 100 now…

Offline

#40 2004-06-10 16:30:29

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

Re: Calendar?

mdp_calendar 0.2.4

Stupid error reporting, I didn’t tell PHP to display all errors/warnings/notices and that led to fri’s problem. This new version fix’s the problem.

Offline

#41 2004-06-10 18:59:01

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

Re: Calendar?

Got it! Thank you again.

Now.. this server behaviour of mine..
I would be very interested in switching that kind of paranoia off. What is it good for?
I just don’t have a clue HOW.

Could anybody fill me in?
Maybe more people have that problem too – without knowing it yet – till the day they happily look forward to see a new function in work – and get insulted by their own php.

Offline

#42 2004-06-10 19:30:18

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

Re: Calendar?

Unforunately there isn’t much you can do. Maybe in your index.php add the line “error_reporting(0);” but that will only work for Textpattern and its plugin’s. If you uploaded any other script with notice’s then they would be displayed.

Offline

#43 2004-06-10 21:09:00

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

Re: Calendar?

well.. thats a good start.
I appreciate your help.

Offline

#44 2004-06-16 03:34:10

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

Re: Calendar?

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.

Offline

#45 2004-06-16 03:43:22

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

Re: Calendar?

Mostlikely not, unless there is an option for range in the txp:mdp__calendar tag. Usually calendars show every month, every year, etc…


bludrop studios .::. Creative Expression

Offline

#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 &lt; 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

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

Board footer

Powered by FluxBB