|
|||
|
Hallo,
ich möchte Newsletter in meinen Shop einrichten..komm aber leider nicht weiter...brauche eure HILFE... 1.SCHRITT: Plugin instaliert 2.SCHRITT: Plugin aktiviert 3.SCHRITT: unter xtCore/forms/ eine Datei "newsletter.php" erstellt mit diesen Inhalt: <?php $add_data = array(); defined('_VALID_CALL') or die('Direct Access is not allowed.'); $brotkrumen->_addItem($xtLink->_link(array('page'=>'content', 'params'=>'coID='.$shop_content_data['content_id'],'seo_url' => $shop_content_data['url_text'])),$shop_content_data['title']); $template = new Template(); $tpl_data = array('message'=>$info->info_content,'data'=>$shop_content_data, 'subdata'=>$subdata,'captcha_link'=>$xtLink->_link(array('default_page'=>'captcha.php'))); $tpl_data = array_merge($tpl_data,$add_data); if (is_array($reinsert)) $tpl_data=array_merge($tpl_data,$reinsert); $tpl = 'newsletter.html'; ($plugin_code = $xtPlugin->PluginCode('module_content.php:tpl_data')) ? eval($plugin_code) : false; $page_data = $template->getTemplate('smarty', '/'._SRV_WEB_CORE.'forms/'.$tpl, $tpl_data); ?> 4.SCHRITT: newsletter.html Datei erstellt unter: templates/xt_default/xtCore/forms/ WELCHEN CODE MUSS ICH DA REINKOPIEREN??? UND WAS SIND DIE NÄCHSTEN SCHRITTE??? |
|
|||
|
natürlich den Code des Cleverreach Formulars ...steht doch genau im Handbuch beschrieben.
sonst gucke einfach mal hier xt:Commerce VEYTON 4.0 unter Tips & Tricks ...
|
|
|||
|
Im Handbuch steht:
Den Code für den Newsletter können Sie natürlich auch in eine Box oder anderes Template einfügen. ich hab den Code genau so in die box rein kopiert.... Im Shop zeigt er auch den Code anstatt die Anmeldung... was mache ich falsch? |
|
|||
|
poste mal den code...!
|
|
|||
|
Das ist der Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script> var $cr=jQuery.noConflict();var old_src;$cr(document).ready(function(){$cr(".cr_fo rm").submit(function(){$cr(this).find('.clever_for m_error').removeClass('clever_form_error');$cr(thi s).find('.clever_form_note').remove();$cr(this).fi nd(".musthave").find('input, textarea').each(function(){if(jQuery.trim($cr(this ).val())==""||($cr(this).is(':checkbox'))||($cr(th is).is(':radio'))){if($cr(this).is(':checkbox')||( $cr(this).is(':radio'))){if(!$cr(this).parent().fi nd(":checked").is(":checked")){$cr(this).parent(). addClass('clever_form_error')}}else{$cr(this).addC lass('clever_form_error')}}});if($cr(".cr_form").a ttr("action").search(document.domain)>0&&$cr(".cr_ form").attr("action").search("wcs")>0){var cr_email=$cr(this).find('input[name=email]');if(cr_email.val()){$cr.ajax({type:"GET",url:$cr (".cr_form").attr("action").replace("wcs","check_e mail")+$cr(this).find('input[name=email]').val(),success:function(data){if(data){cr_email. addClass('clever_form_error').before("<div class='clever_form_note cr_font'>"+data+"</div>");return false}},async:false})}var cr_captcha=$cr(this).find('input[name=captcha]');if(cr_captcha.val()){$cr.ajax({type:"GET",url:$ cr(".cr_form").attr("action").replace("wcs","check _captcha")+$cr(this).find('input[name=captcha]').val(),success:function(data){if(data){cr_captch a.addClass('clever_form_error').after("<div style='display:block' class='clever_form_note cr_font'>"+data+"</div>");return false}},async:false})}}if($cr('.clever_form_error' ).length){return false}return true});$cr('input[class*="cr_number"]').change(function(){if(isNaN($cr(this).val())){$c r(this).val(1)}if($cr(this).attr("min")){if(($cr(t his).val()*1)<($cr(this).attr("min")*1)){$cr(this) .val($cr(this).attr("min"))}}if($cr(this).attr("ma x")){if(($cr(this).val()*1)>($cr(this).attr("max") *1)){$cr(this).val($cr(this).attr("max"))}}});old_ src=$cr("div[rel='captcha'] img").attr("src")});function captcha_reload(){var timestamp=new Date().getTime();$cr("div[rel='captcha'] img").attr("src","");$cr("div[rel='captcha'] img").attr("src",old_src+"?t="+timestamp);return false} </script> <style> .cr_site { background:#FFFFFF; text-align:left;} .cr_header { width:640px; background-color:#ccc; } .cr_body {background-color:#efefef; padding:15px; } .cr_page {border-width:1px;border-color:#000000;border-style:solid; width:640px;} .cr_page {border-width:1px;border-color:#000000;border-style:solid;} .cr_font {font: normal 12px Arial, Helvetica, sans-serif;} .cr_header .logo {min-height:20px; } .cr_header_text p {display:block;margin:5;padding:5px;} .cr_ipe_item{ padding:7px; margin:5px; } .cr_ipe_item.inactive { display:none; } .cr_hr {border:0;background-color: #ccc;height: 1px;} .imprint {font-size:0.8em;} .cr_captcha {padding-left: 130px;} .cr_ipe_item .itemname{display:block;float:left;width:120px;tex t-align:left;margin:5px 0px 0px 0px;} .cr_ipe_item input[type="text"]{width:300px;} .cr_ipe_item textarea{width:300px;} .cr_ipe_item select{width:300px;} .cr_ipe_item p {margin:0;} .cr_ipe_item select {padding:5px 4px; border:1px solid #ccc; color:#333; background:#FFFFFF; margin:0px; padding:2px;} .cr_ipe_item textarea:focus, input[type="text"]:focus {border:1px solid #ababab;} .cr_ipe_item input, textarea{ padding:3px 3px; margin:2px; border:1px solid #ccc;} .cr_ipe_item input[type="checkbox"], input[type="radio"] { border:none; width:15px; } .cr_error {font-size:1.1em;padding:10px;} .clever_form_error { background-color: #f99; color:#fff; border:1px solid #f22 !important} .clever_form_note {margin:26px 0 0 3px;position:absolute;display:inline; padding: 2px 4px; font-weight:bold;background-color:#f2ecb5; color:#000; font-size:12px !important; } .cr_body {width:480px; } </style> <style id="style"> .cr_site {background-color:#5c75ad;} .cr_header {background-color:#134170;color:#FFFFFF;} .cr_body {background-color:#c6cdde;font-size:12px;color:#000000;} .cr_page {border-width:0px;border-style utset;border-color:#grey;}.cr_site a {color:#0084ff;} .cr_hr {background-color:#999;} </style> <form class="layout_form cr_form cr_font" action="http://7353.cleverreach.de/f/2423/wcs/" method="post" target="_blank"> <div class="cr_body cr_font"> <div class='non_sortable' style='text-align:left;'> </div> <div class='editable_content' style='text-align:left;'> <br /> <div id="54487" rel="mce_text" class="cr_ipe_item ui-sortable"> <div class="mce_text"><p>Bitte geben Sie Ihre E-Mail-Adresse ein, um sich beim Newsletter anzumelden.</p></div> </div><div id="54502" rel="email" class="cr_ipe_item ui-sortable musthave"> <label for="text54502" class="itemname">E-Mail*</label> <input id="text54502" name="email" value="" type="text" style="width x;"></div><div id="54504" rel="button" class="cr_ipe_item ui-sortable" style="text-align:center;"> <button type="submit">Anmelden</button> </div> </div> <br /> <div class='badge' style="text-align:center;"><a href="http://www.cleverreach.de/"><img src="http://www.cleverreach.de/cr3_images/badget1.png" border="0" /></a></div> </div> </form> <noscript><a href="http://www.cleverreach.de/frontend/create_send.php" target="_blank">Newsletter erstellen</a></noscript> Hab ich da was vergessen? In der Box zeigt er nur den Code an anstatt die Anmeldung... |
|
|||
|
__________________
xt:commerce 4 VEYTON-Reseller, Service-Partner & Solution-Partner shopx.de - shopx.de/blog - twitter.com/shopxperts - Kostenlose Plugins - shopxperts |
|
|||
|
hi,
leider klapt bei mir nicht die ertellung der newsletter box auf der Startseite. Ich habe die newsletter.php und newsletter.html dateien erstellt und eweils in die richtige verzeichnisse kopiert. Auch das in der Anleitung beschriebene ausschließen der Tags <style> datei mit {literal} beachtet. trotzdem nach dem upload ins xtcore/forms den newsletter.html zeigt er mir keine neue Content seite unter shop backend? mal ne andere Frage muss ich die beiden Dateien so wie in der Anleitung steht die newsletter.PHP in "stammverzeichniss/xtcore/forms und die newsletter.hmtl ins /templates/xtdetfauld/xtcore/forms uploaden? |
![]() |
| Lesezeichen |
| Stichworte |
| cleverreach, newsletter, veyton |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| VEYTON Newsletter möglichkeiten kostenlose alternativen | 3ddi | Installation und Konfiguration | 5 | 04.05.2012 12:10 |
| Arbeiten mit Formularen - Aber wie??? | mad_basher | Fragen zur Software | 0 | 20.09.2010 11:35 |
| Newsletter mittels Plugin CleverReach (4.0.13) | enengi | Fragen zur Software | 0 | 08.08.2010 23:31 |
| Shop installiert aber Newsletter funzt nicht | adesto | Installation und Konfiguration | 0 | 28.10.2009 12:09 |
| Problem mit den Grafiken im Newsletter / "Rundschreiben" | onliner | HTML & CSS | 1 | 06.10.2009 14:05 |