Guest oldboy Posted May 20, 2007 Share Posted May 20, 2007 I want to move the mailing list form to SiteDocs list. I tried to copy the whole form code from mailList.tpl but it will not show up at all. However it works when i paste only the input tag: <input name="email" type="text" size="10" maxlength="100" class="textbox" /> <input type="hidden" name="act" value="mailList" /> Can anyone advice if this is possible to move the form to SiteDocs and how it can be done. the code from SiteDocs: <!-- BEGIN: site_docs --> <div class="siteDocs"> <div class="siteDocsBgRight"> <span class="siteDocsBgLeft"> </span> <div style="padding-top: 5px;"> <!-- BEGIN: a --> <a href="index.php?act=viewDoc&docId={DATA.doc_id}" class="txtSiteDocs">{DATA.doc_name}</a> <!-- BEGIN: sep --> | <!-- END: sep --> <!-- END: a --> </div> </div> </div> <!-- END: site_docs --> the code from mailList.tlp: <!-- BEGIN: mail_list --> <div class="boxContentRight txtCopy"> <!-- BEGIN: form --> <form action="{FORM_METHOD}" method="post"> <strong>{LANG_EMAIL}</strong> <input name="email" type="text" size="10" maxlength="100" class="textbox" /> <input type="hidden" name="act" value="mailList" /> <div style="padding-top: 5px; text-align: center;"> <input name="submit" type="submit" value="{LANG_GO}" class="submit" /> </div> </form> <!-- END: form --> </div> <!-- END: mail_list --> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.