Author Topic: username will not be displayed  (Read 2372 times)

0 Members and 1 Guest are viewing this topic.

Offline qpatrick

  • Newbie
  • *
  • Posts: 30
    • View Profile
username will not be displayed
« on: June 17, 2003, 12:29:42 PM »
I still have a problem with the postcard. Under the photo (in the postcard) I want to display the username and title.

This works fine in the postcard_preview.html:
Code: [Select]
{header}
<p align="left"><img src="{template_url}/images/header.gif" alt="" /></P><p align="center">{if msg}<b>{msg}</b>{endif msg}</p>
<form action="{url_postcard}" method="post">
  <table border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td>
        <table border="0" cellspacing="0" cellpadding="1">
          <tr>
            <td bgcolor="{border_color}">
              <table border="0" cellspacing="0" cellpadding="10" bgcolor="{bg_color}">
                <tr>
                  <td valign="top">{image}<br />
                    {image_name} by {user_name}</td>
                  <td valign="top" width="200" height="250">
                    <div align="right"><img src="{template_url}/images/stamp.gif" border="0" /></div>
                    <br /><br />
                    <b><font face="{font_face}" color="{font_color}" size="4">{headline}</font></b>
<br /><br />
                    <font face="{font_face}" color="{font_color}" size="2">{message}</font>
<br /><br />
                    <font face="{font_face}" color="{font_color}" size="2">{sender_name}</font><br />
<a href="mailto:{sender_email}"><font face="{font_face}" color="{font_color}" size="2">{sender_email}</font></a>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
        <br />
        <br />
        <b>{lang_sender}:</b> {sender_name} ({sender_email})<br />
        <b>{lang_recipient}:</b> {recipient_name} ({recipient_email}) </td>
    </tr>
  </table>
  <p align="center">
    <input type="hidden" name="bg_color" value="{bg_color}" />
    <input type="hidden" name="border_color" value="{border_color}" />
    <input type="hidden" name="font_color" value="{font_color}" />
    <input type="hidden" name="font_face" value="{font_face}" />
    <input type="hidden" name="sender_name" value="{sender_name}" />
    <input type="hidden" name="sender_email" value="{sender_email}" />
    <input type="hidden" name="recipient_name" value="{recipient_name}" />
    <input type="hidden" name="recipient_email" value="{recipient_email}" />
    <input type="hidden" name="headline" value="{headline}" />
    <input type="hidden" name="message" value="{message}" />
    <input type="hidden" name="action" value="sendcard" />
    <input type="hidden" name="image_id" value="{image_id}" />
    <input type="hidden" name="back_url" value="{back_url}" />
    <input type="button" value="{lang_edit_postcard}" onclick="history.go(-1)" class="button" />
    <input type="submit" value="{lang_send_postcard}" class="button" />
  </p>
</form>
{footer}


But not in the postcard_send.html. So if you send the card and retrieve the card you can't see the username. Although you can see the title.

Postcard_send.html:
Code: [Select]
{header}
<p align="left"><img src="{template_url}/images/header.gif" alt="" /></P><p align="center">{if msg}<b>{msg}</b>{endif msg}</p>
<table border="0" cellspacing="0" cellpadding="1" align="center">
  <tr>
    <td bgcolor="{border_color}">
      <table border="0" cellspacing="0" cellpadding="10" bgcolor="{bg_color}">
        <tr>
          <td valign="top">{image}<br />
             {image_name} by {user_name}</td>
          <td valign="top" width="200" height="250">
            <div align="right"><img src="{template_url}/images/stamp.gif" border="0" /></div>
            <br />
            <br />
            <b><font face="{font_face}" color="{font_color}" size="4">{headline}</font></b>
            <br />
            <br />
            <font face="{font_face}" color="{font_color}" size="2">{message}</font>
            <br />
            <br />
            <font face="{font_face}" color="{font_color}" size="2">{sender_name}</font><br />
            <a href="mailto:{sender_email}"><font face="{font_face}" color="{font_color}" size="2">{sender_email}</font></a>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<p align="center"><a href="{url_home}">{site_name}</a></p>
{footer}



Can someone help me with this. It's driving me nuts. I can't figure it out

Thanx

:arrow: Patrick