2

I have a multi site setup and a front facing entry form, which saves entries always to the same site (and not the current one which is weird).

Is there a way to define to which site the current entry should be saved? Something in the lines of:

{{ csrfInput() }}
<input type="hidden" name="action" value="entries/save-entry">
<input type="hidden" name="sectionId" value="1">
<input type="hidden" name="site" value="{{ currentSite.id }}"
3

The parameter is called siteId

<input type="hidden" name="siteId" value="{{ currentSite.id }}">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.