Wednesday 25 February 2004 11:12:50 pm
An update, I managed to sort of get what I want with a one-line entry in an overide form for this particular class (design/foobar/override/templates/edit_foobar_entry.tpl). I just drop this in the form with the buttons at the end of the template: <input type="checkbox" name="RedirectURI" value={concat("/content/copy/",$object.id,"/")} /> save and copy If you check the box and click submit, you save the original entry and are then redirected to the "do you want the current version or all versions?" intermediate page of the copy process, which is silly, at least in this case... But at least I'm close. Anyone have any ideas of how to skip this intermediate copy screen? I've tried hard-coding some GET parameters, but it looks like that's not going to work. If I figure it out first I'll let you know.
|