I’m not sure why I’m having problems with this.
I have a template that lists some entries…
{exp:weblog:entries weblog="tracks" limit="10"}
{title} (<a href="/tracks/edit/{entry_id}">Edit</a>)
{/exp:weblog:entries}
The ‘Edit’ link for the entries links to an edit form (I’ve stripped in for simplicity)
{exp:weblog:entries weblog="tracks" limit="1" entry_id="{segment_3}"}
{exp:weblog:entry_form weblog="tracks" return="tracks/index"}
<input type="hidden" name="entry_id" value="{entry_id}" />
<label>Title</label>
<input type="text" name="title" value="{title}" />
<input type="submit" name="submit" value="Update" />
{/exp:weblog:entry_form}
{/exp:weblog:entries}
When you submit the form it returns to /tracks/ but the list of entries doesn’t show. Refresh the page and they show (with the track edited).
Anyone?
TIA
