after creating my own announcements (see [url=http://www.silverstripe.org/all-other-modules/show/277521#post277521]here[/url], thank's UncleCheese) I want to proceed from there.
In my calendar the events are shown in a list just as usual. Now I want to have for each announcement a link to a contact form. All contact data is available from the DateTime entry.
This leads to a more general Silverstripe question:
How can I create (and link to) a page which does not exist in the site tree. Normally, all pages are present in the side tree. I don't want to do that, now.
I could alter my calendar template so that the contact form is shown in the list of events (like the title, date and description), I guess. Instead I want to open a new page for that. How can this be achieved?
I found some hints to do it with ajax ([url=http://www.ssbits.com/using-a-thickbox-modal-window-with-ajax]1[/url], [url=http://doc.silverstripe.org/doku.php?id=recipes:ajax_basics]2[/url]), but still didn't get it to work. First step should be a normal page before doing it with ajax, shouldn't it? Likely the renderWith function plays a crucial part, but where and when?
Does anybody know some reference or tutorial how to do it? I couldn't find anything other than the links above.