ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Tell a friend doesn't show up

April 07, 2011 5:33am

Subscribe [4]
  • #1 / Apr 07, 2011 5:33am

    apsbb

    3 posts

    Hi,

    While developing this form:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Tell a friend</title>
    
        {base_css}
        
        {exp:jquery:script_tag}
        
        [removed]
        $(document).ready(function () {
            var windowHash = [removed].hash;    
            if(windowHash == "#passed")
            {
                parent.$.fancybox.close();
            }
        });
        [removed]
        
        <style type="text/css">
            #tell_a_friend_container {
                border:#999 1px solid;
                padding:20px;
            }
        </style>
        
    </head>
    
    <body>
        <div id="tell_a_friend_container">
        <h1>Stuur door naar vriend</h1>
        {exp:email:tell_a_friend charset="utf-8" allow_html="yes" return="user_input/tell_a_friend/#passed"}
            <label for="from">Je email adres: </label>
    
            <input type="text" id="from" name="from" size="40" maxlength="35" value="{member_email}" /></p> 
            
            <label for="name">Je naam: </label>
     
            <input type="text" id="name" name="name" size="40" maxlength="35" value="{member_name}" /></p> 
            
            <label for="to">Naar email adres: </label>
     <input type="text" id="to" name="to" size="40" maxlength="35" /></p> 
            
            <label for="subject">Onderwerp: </label>
     <input type="text" id="subject" name="subject" size="40" value="Kersouwe: {title}" /></p> 
            
            <label for="message">Bericht: </label>
     <textarea id="message" name="message" readonly="readonly" rows="8" cols="62">{summary}
     \n\n <a href="http://kersouwe.apsbb.com/site/voorstelling/{url_title}&lt/textarea&gt&lt/p&gt">http://kersouwe.apsbb.com/site/voorstelling/{url_title}</textarea></p&gt</a>; 
            
            <input name="submit" type='submit' value='Submit Form' /></p> 
        {/exp:email:tell_a_friend}
        
        </div><!-- #input_container -->
    </body>
    </html>

    Everything was working well. But now it stopped working. Any clues on what this might be?

    EE v2.1.3.
    Link to tell a friend page: http://kersouwe.apsbb.com/user_input/tell_a_friend/41

    Help me out please, site is going live tomorrow.

  • #2 / Apr 07, 2011 5:21pm

    Sue Crocker

    26054 posts

    Hi, apsbb - I see a form there.. did you fix it by any chance?

  • #3 / Apr 08, 2011 3:40am

    Sanity11

    314 posts

    Hi Sue, I have fixed it with the Freeform module. But the native form doesn’t seem to work. No show stopper anymore, but this may be a bug.

  • #4 / Apr 09, 2011 9:05am

    Greg Salt

    3988 posts

    Hi apsbb,

    Glad that you found a solution so that you could get your site launched. I’ll go ahead and close this thread now but please post back if required.

    Cheers

    Greg

  • #5 / Apr 09, 2011 9:05am

    Greg Salt

    3988 posts

    And….closing… 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases