Announcement

Collapse
No announcement yet.

Change page sent to after using Contact Us

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Change page sent to after using Contact Us

    If you use the "Contact Us" form and press Send the page you get sent to is the Contact Us form again.

    Does anyone know how I can change it so that you go to a either a hard coded page (eg home page) or to the page the visitor was looking at before they clicked the contact us button?

    Thanks.

    Trevor

    #2
    Trevor,

    This has beed answered on http://community.actinic.com/showthread.php?t=18193

    For others looking for this solution, it is available on the Knowledge Base, http://knowledge.actinic.com/acatalo...es.html#aKB741
    To specify the bounce destination

    Go to C:\Program Files\Actinic v7\Sites\Site1 (or equivalent) and find the file MailForm.pl.

    Right click to open in a text editor like Notepad.

    Search for 'GetLastShopPage', you should see the line...

    $::g_sContentUrl, $::g_pSetupBlob, $::Session->GetLastShopPage(),\%::g_InputHash,

    replace this with...

    $::g_sContentUrl, $::g_pSetupBlob, "http://myserver.com/acatalog/page.html", \%::g_InputHash,

    Replace http://myserver.com/acatalog/page.html with the URL of the page to bounce to.
    Save and Exit. Update the site.

    Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder, replace the script you have changed and upload to you site. If you have a test facility, we strongly recommend that you test any changes before you upload them to your live site.
    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Thanks Bruce.

      Problem solved as shown.


      Trevor

      Comment

      Working...
      X