Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

#31 2004-06-08 01:26:48

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

Re: Calendar?

Nice site. I got it to work. For some reason I had <if_article_list> (with the large calendar) twice.

Thanks.

Do you know if g1.19 had the ability to display future articles?


bludrop studios .::. Creative Expression

Offline

#32 2004-06-08 02:10:56

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

Re: Calendar?

> blumie607 wrote:
> Do you know if g1.19 had the ability to display future articles?

Yes, the displayfuture option still works perfectly.

Offline

#33 2004-06-08 02:43:41

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

Re: Calendar?

How do you use it? With article_custom?


bludrop studios .::. Creative Expression

Offline

#34 2004-06-08 02:52:46

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

Re: Calendar?

Oh, I don’t know how to get TXP to display article’s in the future using any normal TXP function.

But if you do some URL changing (in messy mode, the ?id=#, make the # into the ID for the article in the future) you can display future articles (which is how my calendar works).

Offline

#35 2004-06-08 03:03:16

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

Re: Calendar?

Is there a way to get your upcoming events list to also display the article associated with it (or the excerpt)?


bludrop studios .::. Creative Expression

Offline

#36 2004-06-09 18:51:16

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

Re: Calendar?

Greenrift, thanks for the plugin – I’ve been following the posts for a while, but only now have I got the time to try and implement it further.

It works for me, BUT:

Notice: Undefined index: static in C:\Programmer\Abyss Web Server\roots\pixelsinmycoffee\textpattern\publish.php(764) : eval()’d code on line 217

Notice: Undefined index: displayfuture in C:\Programmer\Abyss Web Server\roots\pixelsinmycoffee\textpattern\publish.php(764) : eval()’d code on line 249

These are only the first 2 notices – there are about 100 of them!!
It’s probably something stupid I’ve done, just can’t find out what.

Any Idea? Anyone?

Thanks

Last edited by fri (2004-06-09 18:52:07)

Offline

#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

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

Board footer

Powered by FluxBB