Hi Drumm, not sure if this falls under code or misc. but there is a permission "customize thank you page" that doesn't seem to be in use because I can't find where to edit the thank you message. This would be very helpful.

Comments

georgehotelling’s picture

Status: Active » Closed (fixed)

Customizing the thank you page is done by going to "My Account" -> edit -> Customize Thank You Page

We put it there because the thank you page is unique to each user, but the same for every campaign for that user. On citizenspeak.org we added a link directly to the Customize Thank You Page in a custom block:

<?php global $user; ?>
<?php if ($user->uid) : ?>
  <div id="signedin">

  Logged in as: <?php print l($user->name, 'user/'.$user->uid); ?> <br/>
<?php print l("logout","logout"); ?><br /><br />
<?php
  $dashboard_widgets = array(
    l("Create Campaigns", "node/add/citizenspeak"),
    l("Manage Campaigns", "user/$user->uid"), // include uid for class="active"
    l("Customize Thank You Page", "user/$user->uid/edit/citizenspeak_thank_you"),
    l("Account Settings", "user/$user->uid/edit")
);
  print theme("item_list", $dashboard_widgets);
  
?>
</div>
  <?php else : ?>
 <form action="?q=user" method="post">
<div id="login">
<input type="hidden"
name="edit[destination]" value="user" />

<div id="signin"><table cellpadding="2"> <tr><td>Username: </td><td>Password:</td><td>&nbsp;</td></tr>
<tr><td><input type="text" maxlength="64" class="form-text" name="edit[name]" id="edit-name" size="8"
value="" /></td><td><input type="password" class="form-password" maxlength="64" name="edit[pass]" id="edit-pass" value="" size="8"
/></td><td><input type="submit" class="form-button" name="op" value="Log in" /></td></tr></table></div></form>
<?php print l("New user? Register here","user/register"); ?>
</div>
  <?php endif; ?>

(I think the code started off as http://drupal.org/node/17272)