Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#46 2018-08-31 21:46:15

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,192
Website GitHub

Re: Outputting a valid .ics file from an Event for download

lythande wrote #313735:

At moment I have there written in this: <a class="ics" href="/?rah_external_output=generate-ics-event=83-86-91-92">Termine speichern</a> but …

No, you need your link to look like this:

<a class="ics" href="/?rah_external_output=generate-ics&event=83-86-91-92">Termine speichern</a>

Note the & in there.

I’m not sure how you’re pulling in your articles with the deadlines, but you should be able to do something like this:

<a href="/?rah_external_output=generate-ics&event=<txp:article_custom name="my_section" category="my_cat" wraptag="" break="-"><txp:article_id /></txp:article_custom>">Termine speichern</a>

Or use break="," if you go straight to commas using Oleg/etc’s method.


TXP Builders – finely-crafted code, design and txp

Offline

#47 2018-09-03 12:40:57

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: Outputting a valid .ics file from an Event for download

Hi Jacob,

much thanks.

Note the & in there.

Of course, why I having not see that…
Now the code works (with “-”).

For with comma-separated id’s I havent understand, how I should do it. The code from etc doesn’t works.

Offline

Board footer

Powered by FluxBB