Inserire script nella pagina di registrazione gestita da Community Builder
-
Ciao ragazzi,
io dovrei inserire uno script html nella pagina di registrazione, che è gestita da community builder... praticamente, in quale file dovrei inserire questo script? Non riesco a trovare un file html di registrazione....Cioè... io dovrei inserire uno script all'interno di questa pagina: styylecult.net/registratimenu.html_subito al di sotto del campo Fax, ma non so in che file andare ad inserire lo script html.
Dovrei inserire questo codice:
<script type="text/javascript" src=coreg.1x12.net/?act=getoffers&pubid=2646"></script> <script type="text/javascript"> // These three functions must be included in your page. // validatePublisherForm() is called before processing offers form. // This is where you validate data from your own form, and if necessary, returns error. // If this function returns false, offers won't be processed. function validatePublisherForm() { if(cbFrmSubmitButton()) return true; return false; } // submitPublisherForm() is called by the LSF scripts after processing the coreg offers sending data to the LSF server. // This function must be the only way to submit the form. function submitPublisherForm() { document.adminForm.submit(); } // This is a security wrapper, used to call the two previous functions. function LSFaction(action) { switch (action) { case 0: if (window.display_LSF_offers) display_LSF_offers(); break; case 1: if (window.LSF_submit) LSF_submit(); else if (validatePublisherForm()) submitPublisherForm(); break; } } </script>tra i tag <head> e </head> della pagina, e poi questo:
... <form action="stylecult.net/registratimenu.html" method="post" id="cbcheckedadminForm" name="adminForm" enctype="multipart/form-data"> <!-- This is where you want to display the coregistration offers --> <script type="text/javascript"> LSFaction(0); </script> </form> <!-- Your submission button (or link) has to call LSFaction(1) --> <input type="button" value="Registrati" class="button" name=btnG onclick="LSFaction(1)"/> ...tra i tag <body> e </body> di quella pagina...
Qualche idea su come fare?

Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi