Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: etc_post: post anything from the public side
Thank you for the hint! I have tried several variations but I still do not fully understand the etc_post logic and could not initiate a change of the Author (the author exists and is active).
V1 fix values for selected[] and AuthorID in tag
<txp:etc_post event="list" step="list_multi_edit" edit_method="changeauthor" selected[]="1894" AuthorID="someone">
</txp:etc_post>
V2 fix values for selected[] and AuthorID enclosed
<txp:etc_post event="list" step="list_multi_edit" edit_method="changeauthor" post="">
selected[]=1894
AuthorID=someone
</txp:etc_post>
V3 values for selected[] and AuthorID submitted through form
<txp:etc_post event="list" step="list_multi_edit" edit_method="changeauthor" post="selected[], AuthorID">
</txp:etc_post>
I have no idea what to change and would appreciate every hint.
Best,
Peter
Offline
Re: etc_post: post anything from the public side
The tags own attributes are user
, event
and step
. The rest is populated from $_POST
data or from the tags content. You can try this:
<txp:etc_post user="pemishl" event="list" step="list_multi_edit">
edit_method=changeauthor
selected[]=1894
AuthorID=someone
</txp:etc_post>
Offline