Jump to content

How to move Mailing List to SiteDocs list?


Guest oldboy

Recommended Posts

Guest oldboy

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" />

mailinglist.gif

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 -->

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...