These are chat archives for getkirby/chat

4th
Jan 2017
Kim.gif
@iKasch_twitter
Jan 04 2017 16:02
heya, i have a quick question about Controllers. Lets say i have a contact form in the footer of every page and i Set it up in a Controller, how can i maintain the code without copy/pasing it in all the page Controllers? Is there a way to use it like snippets? Or any other, simple way?
i like, how my avatar is broken somehow..
Kim.gif
@iKasch_twitter
Jan 04 2017 16:33
for now i'll go with snippets and just put all the logic in there.
Sonja Broda
@texnixe
Jan 04 2017 17:14
@iKasch_twitter Yes, the easiest way is to put the logic into the snippet together with the form.