forum.coppermine-gallery.net
No Support => Feature requests => Topic started by: jmt75 on November 28, 2004, 09:15:37 pm
-
I didn't see how to preview the e-card that you are preparing to send. It is frustrating.
Is it a forgotten feature; or I did understand anything?
-
There is no preview. If you want to see how an ecard will look, you can send one to yourself.
-
So bad. I think it is not logical. If the idea is to send a beautiful card to somebody, it is logical to want to see the result before to send it.
Did you see, there is a preview of the message in this forum ;)
-
I'll bring this up in the dev board. I'll look into the code to see how to show the preview when confirming that the ecard was sent. However using a preview while editing will be more complex, I think.
-
OK, I figured out how to show a preview of the ecard when the confirmation shows up. However, I'm not skilled enough to do the preview-while-editing, but this is a start. It's not what you want but maybe someone else can make use of this.
You will edit the file ecard.php
Look for:
if ($result) {
pageheader($lang_ecard_php['title'], "<META http-equiv=\"refresh\" content=\"3;url=displayimage.php?album=$album&pos=$pos\">");
msg_box($lang_cpg_die[INFORMATION], $lang_ecard_php['send_success'], $lang_continue, "displayimage.php?album=$album&pos=$pos");
Replace with:
if ($result) {
pageheader($lang_ecard_php['title']);
msg_box($lang_cpg_die[INFORMATION], $lang_ecard_php['send_success'], $lang_continue, "displayimage.php?album=$album&pos=$pos");
echo '<br />';
starttable('100%', "Preview of the ecard");
echo '<tr><td>';
echo template_eval($template_ecard, $params);
echo '</td></tr>';
endtable();
-
Here is a mod (http://forum.coppermine-gallery.net/index.php?topic=12641.0)that will let you preview and edit the ecard before sending.