Thursday 21 June 2007 4:40:49 pm - 3 replies
Hi all !
I have a problem, because I want to display after content creation the newly created object in full view and not the line view of the newly created object with the full view of the parent object !
Have someone an idea?
I know this 2 possibilities, which doesn't suite:
<input type="hidden" name="RedirectURIAfterPublish" value={ezhttp('LastAccessesURI','session')} />
or
<input type="hidden" name="RedirectURIAfterPublish" value={ezhttp('LastAccessedModifyingURI','session')} />
Thanks for your help !
Heiner
Monday 25 June 2007 1:57:02 pm
Hello Heiner
Take a look at this forum topic: http://ez.no/community/forum/developer/node_number_at_first_publishing
Modified on Monday 25 June 2007 1:57:14 pm by Kristof Coomans
Tuesday 26 June 2007 10:04:22 pm
I've used this code in the template of the content/edit:
{if eq($object.status, '0')}
<input type="hidden" name="RedirectURIAfterPublish" value={concat( "content/versionview/", $object.id,"/", $object.current_version )} />
{else}
<input type="hidden" name="RedirectURIAfterPublish" value={concat( "content/view/full/", $object.main_node_id )} />
{/if}
You must be logged in to post messages in this topic!