|
uCoz Community uCoz Modules E-mail Forms How to Create Report Form in the Ad Board Entry |
How to Create Report Form in the Ad Board Entry |
Please help me. Does anybody knows how to create a report form in the ad board entry? A report form which sends information (that includes link of the entry and choices of violations of the ads) to the site admin.
|
khen, as far as I understood you need to create a new e-mail form and then embed its code (like $MFORM_X$) into the necessary template in CP->Design->Design management (templates)->Ad Board->Page with entry full text and its comments
-Moved to E-mail Forms- |
khen, This might help you
![]() http://ucause.ucoz.com/forum/61-634-1 To busy building a passive income online ;)
|
khen,
Quote (khen) your script is not working in my website. What's wrong? You need to add this code to the template of the page, where you want the ajax window with the form to be displayed: Code <script type="text/javascript"> function openForm(){ new _uWnd('contact','Contact Us',400,150,{fadespeed: 666, fadeclosespeed: 666, fadetype: 2, fadeclosetype: 2,align:'left',footerc:' ',min:0,max:0,resize:0,closeonesc:1,autosize:1,shadow:0,topclass:'x-lightwnd',gridclass:'myWinGridBlack',modal:1}, $(".myform").html() ); } </script> <div class="myform" style="display:none;">$MFORM_X$</div> Use the dollar code of your form instead of $MFORM_X$ Insert the link to the ajax window where necessary, like this: Code <a href="#" onclick="openForm();return false;">Open Form</a> |
| |||
| |||