Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#409 2009-11-18 11:57:58

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: smd_calendar: complete schedule / event / calendar / diary

RedFox wrote:

Else … do you mean this?

Nope, this

Edited for better resource

Last edited by uli (2009-11-18 12:00:06)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#410 2009-11-18 20:25:49

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: smd_calendar: complete schedule / event / calendar / diary

RedFox wrote:

Else …

Hehe, I know that on this forum the else/Els thing can be confusing, but I wouldn’t expect it from a fellow kaaskop… ;)
Glad you solved the problem!

uli wrote:

Edited for better resource

Hey, I hadn’t noticed that Textbook article yet, nice one Stef!

Offline

#411 2009-11-18 20:32:31

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 809
Website

Re: smd_calendar: complete schedule / event / calendar / diary

A new tag > <txp:if_els /> … :)

Offline

#412 2009-11-24 04:35:12

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

Re: smd_calendar: complete schedule / event / calendar / diary

Hi Stef,

I’m on PHP 5.2.9 and I’m getting the November problem with everything off by one day :S

www.hemispheregauche.com

Is there any way to remedy this?

Cheers

Offline

#413 2009-11-24 04:39:40

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: smd_calendar: complete schedule / event / calendar / diary

assaultonaudio — I am not sure if you are referring to the seven day headers (Monday, Tuesday, etc.) across the top of the calendar, but I ran into a situation where they were shifting. This plugin provides a simple remedy in the dayformat attribute, like this:

<txp:smd_calendar dayformat="{Sun,Mon,Tue,Wed,Thu,Fri,Sat}" />

This essentially hard-codes the days into place. Have not had an issue since.

Last edited by kevinpotts (2009-11-24 04:40:45)


Kevin
(graphicpush)

Offline

#414 2009-11-24 04:47:22

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

Re: smd_calendar: complete schedule / event / calendar / diary

Kevin. You just saved my life.

Offline

#415 2009-11-24 04:49:26

kevinpotts
Member
From: Ghost Coast
Registered: 2004-12-07
Posts: 370

Re: smd_calendar: complete schedule / event / calendar / diary

assaultonaudio wrote:

Kevin. You just saved my life.

Well, you know, I try to do that at least once or twice a day.


Kevin
(graphicpush)

Offline

#416 2009-11-24 04:50:52

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

Re: smd_calendar: complete schedule / event / calendar / diary

Haha. The world must be in debt to you then :)

That was exactly my problem. I set it up for the client, and he called me the next month and said it was wrong…and then I noticed the days were all wrong…Beautiful!

Offline

#417 2009-11-24 07:08:22

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: smd_calendar: complete schedule / event / calendar / diary

as an aside – I had the same thing happen when I installed the plugin last week. Then it corrected itself 24-36 hours later.

Thanks for the tip in case it “uncorrects” itself :)

Offline

#418 2009-11-25 01:24:35

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

Re: smd_calendar: complete schedule / event / calendar / diary

Wow…I’m having bad luck this week for some reason with my calendar. Today, when I click on next or previous, it takes me to a specific event…not the next calendar day.

www.hemispheregauche.com is the site

Anyone have any ideas?

Cheers

Offline

#419 2009-11-25 01:26:35

assaultonaudio
Member
From: Montreal
Registered: 2009-09-03
Posts: 11

Re: smd_calendar: complete schedule / event / calendar / diary

nevermind. it was my maintain attribute that was wrong

Cheers

Offline

#420 2009-12-09 23:48:57

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 637
Website

Re: smd_calendar: complete schedule / event / calendar / diary

Having a problem with the recurring events feature:
I’m trying to display the second-wednesday date of each month
so it will now should display this date: 13.01.10
but what it shows is the next second wednesday from now that is: 23.12.09

this is how I use the plugin -
in the page:

<txp:smd_article_event id="869" stepfield="custom_1" type="recur" eventlimit="1" section="audio" form="audio_home" time="future" limit="1" />

in the article into custom_1 field second wednesday ?month

in the form <txp:posted format="%d.%m.%y" />

What am I doing wrong please?

btw: the posted date of the article is: 11.11.09

Last edited by THE BLUE DRAGON (2009-12-09 23:53:13)

Offline

Board footer

Powered by FluxBB