Textpattern CMS support forum

You are not logged in. Register | Login | Help

#881 2016-11-06 18:31:20

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,202
Website

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

Let’s say my event is on Friday at 10am-6pm.

When I use <txp:smd_article_event time="future" /> when the time rolls around to 10am it no longer displays… I would like it to display til 6pm then disappear…

Am I missing something? Is there an easy way to handle this?

Offline

#882 2016-11-06 18:38:52

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,400

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

In Content > Date and time > Expire time 18:00:00. Sorry, I don’t know why you need <txp:smd_article_event />.

Offline

#883 2016-11-08 16:12:09

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,202
Website

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

<txp:smd_article_event /> has additional features for displaying recurring events, etc. I got around the issue by using time="any" attribute and by setting expiration on all events regardless of how long the actual event is.

Offline

#884 2016-12-05 16:30:32

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,202
Website

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

OK. Still getting the NULLDATETIME errors from <txp:smd_article_event stepfield="custom_35" /> where custom_35 contains 1 week

Codebase: 4.6.2
Plugin: 0.5.4

Help?

Offline

#885 2017-04-03 12:18:07

Gallex
Member
Registered: 2006-10-08
Posts: 1,117

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

i have the same NULLDATETIME issue:

Tag error: <txp:smd_calendar section="uudised" size="small" firstday="1" dayformat="{P,E,T,K,N,R,L}"  monthformat="{Jaanuar,Veebruar,Märts,Aprill,Mai,Juuni,Juuli,August,September,Oktoober,November,Detsember}" time="any" yearwidth="2,1c" id="aastalind" /> ->  Notice: Use of undefined constant NULLDATETIME - assumed 'NULLDATETIME' while parsing form smd_calendar on page default

and second one:

Tag error: <txp:smd_calendar section="uudised" size="small" firstday="1" dayformat="{P,E,T,K,N,R,L}"  monthformat="{Jaanuar,Veebruar,Märts,Aprill,Mai,Juuni,Juuli,August,September,Oktoober,November,Detsember}" time="any" yearwidth="2,1c" id="aastalind" /> ->  Textpattern Error: Unknown column 'NULLDATETIME' in 'having clause' while parsing form smd_calendar on page default

TXP: 4.6.2

Offline

#886 2017-04-03 12:36:13

Gallex
Member
Registered: 2006-10-08
Posts: 1,117

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

trying to install the latest version of the plugin which should remove the NULLDATETIME issue from https://github.com/Bloke/smd_calendar
but can’t: Badly formed or empty plugin code

?

Offline

#887 2017-04-03 12:58:45

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

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

Gallex wrote #305200:

Badly formed or empty plugin code

Had that when copying from somewhere and had <? or the like captured at the beginning.


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

Offline

#888 2017-04-03 13:02:16

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,622
Website

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

Gallex wrote #305200:

Badly formed or empty plugin code

Try the official release, which has been compiled as a proper plugin. You’ll get that error if you try to install a PHP template file instead of a .txt file.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#889 2017-04-04 08:24:56

Gallex
Member
Registered: 2006-10-08
Posts: 1,117

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

thank’s!

Offline

#890 2018-04-27 14:36:36

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 640
Website

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

Stef, is it possible to use smd_calendar from a secondary database but create/edit/view them from a primary Textpattern site/backend?

Last edited by jayrope (2018-04-27 14:37:19)


a hole turned upside down is a dome, though only when there’s gravity.

Offline

Board footer

Powered by FluxBB