Hi there - I’m having a problem with safecracker. When I use the url_title parameter, no {custom_field} or {field:custom_field} tags are working. {custom_field} doesn’t parse at all - {custom_field} shows up in the content. And {field:custom_field} doesn’t do anything (no HTML is generated).
So this code works properly (notice the entry_id):
{exp:safecracker require_entry="yes" channel="events" author_only="yes" return="events/manage/thank_you/" entry_id="9014"}
<label for="title"><span class="required">*</span> Event Name</label>
<input id="title" class="inputLong" type="text" name="title" value="{title}" maxlength="128" />
<label for="event_summary"><span class="required">*</span> One Sentence Summary</label>
<input id="event_summary" class="inputLong" type="text" name="event_summary" value="{event_summary}" maxlength="200" />
<input class="button" type="image" name="submit" src="/css/images/button_update_event.gif" />
{/exp:safecracker}While this code doesn’t (changing entry_id to the associated url_title):
{exp:safecracker require_entry="yes" channel="events" author_only="yes" return="events/manage/thank_you/" url_title="tester"}
<label for="title"><span class="required">*</span> Event Name</label>
<input id="title" class="inputLong" type="text" name="title" value="{title}" maxlength="128" />
<label for="event_summary"><span class="required">*</span> One Sentence Summary</label>
<input id="event_summary" class="inputLong" type="text" name="event_summary" value="{event_summary}" maxlength="200" />
<input class="button" type="image" name="submit" src="/css/images/button_update_event.gif" />
{/exp:safecracker}{title} works in both (as do all the built-in fields like entry_date, etc.). But custom fields just return {custom_field} with url_title.
Thanks for the help!