ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

SAEF blank screen - return parameter not working

February 18, 2011 1:30am

Subscribe [2]
  • #1 / Feb 18, 2011 1:30am

    grenadir

    9 posts

    This question may be related to a resolved thread.

    I am running EE 1.6.8.  When I submit a page with the weblog:entry_form tag, I see a blank page with the same URL, instead of being redirected to the “return” page.
    The template jobs/addresume has this tag:

    {exp:weblog:entry_form weblog=“jobs_resume” return=“jobs/base/submit”}
    and the generated code has the following:
    
    <form id="entryform" method="post" action="http://www.company.org/index.php/jobs/addresume/">
    <div class="hiddenFields">
    <input name="ACT" value="17" type="hidden">
    <input name="RET" value="http://www.company.org/index.php/jobs/addresume/" type="hidden">
    <input name="URI" value="/jobs/addresume/" type="hidden">
    <input name="return_url" value="jobs/base/submit" type="hidden">

    The value of the RET parameter is the same as the value of the action, which is the same as the current template URL.  Only the parameter return_url picks up the value I specified for return.

    The code in mod.weblog_standalone.php shows that $RET is being set to fetch_current_uri (line 444) and that variable $RET is used to set both the hidden field ‘RET’ (line 450) and the action (line 1437).

    I do not have the add-on SC Publish Redirect which was suggested as the cause of the problem in a related thread on the forum.
    Is there a problem in the code of the weblog module?

    Aharon

  • #2 / Feb 18, 2011 8:27am

    Sue Crocker

    26054 posts

    Hi, grenadir. What is jobs/base/submit? Is it a thank you template or something similar?

    What about other extensions? What are they?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases