Menu

#57 How to change the width of the recipients field?

open
5
2006-09-15
2006-09-15
Anonymous
No

Great program on the whole, really! But - I have
really tried to find the file to change the width of
the VERY WIDE recipients field.. Anybody please!

zigge.holmgren@gmail.com

best regards, Zigge

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The recipient field is located in index.php because it is a
    variable.

    Open up the file and scroll down to line 168:

    for($i=0; $i<=($conf['max_recip'] - 1); $i++)
    {
    $recip .= "Recipient " . ($i + 1) . " email<br />";

    $recip .= "<input size=\"50\" type=\"text\"
    name=\"recip_email[]\" value=\"" . $_POST['recip_email'][$i]
    . "\" class=\"chunky\" /><br /><br />";
    }

    Change the input size to something smaller and upload the
    updated file. I will try to put this in a template but I
    don't know if it will be possible.

    Let me know if you need any more help.
    Chris

     
  • Zigge

    Zigge - 2006-09-25

    Logged In: YES
    user_id=1599047

    Thanks Chris! That helped a lot! Now another problem.... I
    have added my native language Swedish to the card/program,
    but I don't seem to be able to get the emails in the
    language choosen when creating the e-card. I would greatly
    appreciate your knowledge on this. best regards,
    Zigge Holmgren

     
  • Chris Charlton

    Chris Charlton - 2006-09-25

    Logged In: YES
    user_id=678800

    The words send in the email are stored in
    lang/[langname]/email.php When you have made your changes
    you can set it to the default language in the administration
    centre. This means that your chosen language will be
    automatically chosen when composing a WebCard. If you enable
    users to change their chosen language it will show up as an
    option at the bottom of every public page.

    Let me know if you need any more help. If you get the
    language translation finished please feel free to email it
    to me and I will release it for download.

    Chris

     

Log in to post a comment.