Hi All,
Does anyone have a quick solution for bypassing the overview screen when saving a content type?
You could create your own edit.cfm
for your content type and then in your ft:processformobjects
you could output a <script>
tag containing a call to $fc.closeBootstrapModal()
. Similar to this example in core:
<cfimport taglib="/farcry/core/tags/webskin" prefix="skin" />
<cfimport taglib="/farcry/core/tags/formtools" prefix="ft" />
<cfimport taglib="/farcry/core/tags/admin" prefix="admin" />
<ft:processForm action="Save">
<ft:processFormObjects objectid="#stobj.objectid#" />
</ft:processForm>
<ft:processForm action="Save,Cancel" bHideForms="true">
<cfoutput>
<script type="text/javascript">
$fc.closeBootstrapModal();
</script>
</cfoutput>
</ft:processForm>
<admin:header />
This file has been truncated. show original
Thanks Justin,
Sweet, that’s exactly what I was after.
Cheers Phil