Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
Re: Calendar?
How do you use it? With article_custom?
bludrop studios .::. Creative Expression
Offline
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
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
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
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.
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
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
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
Re: Calendar?
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
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
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
Re: Calendar?
well.. thats a good start.
I appreciate your help.
Offline
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
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