Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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