www.buranchetto.com
Printable View
These are the language files:the highlighted one contains the definitions for the e-mails
includes/languages/english/extra_definitions/YOUR_TEMPLATE/testimonials_manager_defines.php
includes/languages/english/YOUR_TEMPLATE/testimonials_add.php
includes/languages/english/YOUR_TEMPLATE/testimonials_manager.php
includes/languages/english/YOUR_TEMPLATE/testimonials_manager_all_testimonials.php
includes/languages/english/html_includes/define_testimonials_add.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_testimonials_add.php
now I have
includes/languages/italian/extra_definitions/cherry_zen/testimonials_manager_defines.php
includes/languages/italian/cherry_zen/testimonials_add.php
includes/languages/italian/cherry_zen/testimonials_manager.php
includes/languages/italian/cherry_zen/testimonials_manager_all_testimonials.php
includes/languages/italian/html_includes/define_testimonials_add.php
includes/languages/italian/html_includes/cherry_zen/define_testimonials_add.php
but still doesn't work!!! :frusty:
If you are receiving the constants EMAIL_TEXT + EMAIL_DISCLAIMER_NEW_CUSTOMER but not the EMAIL_OWNER_TEXT
It generally means that Those particular definitions are missing or the language file containing the definitions is missing.
These are the definitions found in includes/languages/italian/cherry_zen/testimonials_add.php
define('EMAIL_TEXT', 'Your testimonial has been successfully submitted at ' . STORE_NAME . '. It will be added to our other testimonials as soon as we approve it. You will receive an email about the status of your submittal. If you have not received it within the next 48 hours, please contact us before submitting your testimonial again.' . "\n\n");
define('EMAIL_OWNER_TEXT', 'A new testimonial was submitted at ' . STORE_NAME . '. It is not yet approved. Please verify thie testimonial and activate.' . "\n\n");
define('EMAIL_DISCLAIMER_NEW_CUSTOMER', 'This testimonial was submitted to us by you or by one of our users. If you did not submit a testimonial, or feel that you have received this email in error, please send an email to %s ');
do you see any error in my testimonials_add.php?
PHP Code:
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.0 1-9-2009 Clyde Jones $
*/
define('NAVBAR_TITLE', 'Inserisci il tuo giudizio');
define('HEADING_ADD_TITLE', '<h1>Inserisci il tuo giudizio</h1>');
define('TESTIMONIAL_SUCCESS', 'Il tuo giudizio è stato inserito con successo e verrà pubblicato al più presto.');
define('TESTIMONIAL_SUBMIT', 'Inserisci il tuo giudizio utilizzando il modulo sottostante.');
//////////////
define('EMAIL_SUBJECT', 'Rilascio feedback a ' . STORE_NAME . '.' . "\n\n");
define('EMAIL_GREET_NONE', 'Caro/a %s' . "\n\n");
define('EMAIL_WELCOME', 'Grazie per aver rilasciato il tuo feedback a <b>' . STORE_NAME . '</b>.' . "\n\n");
define('EMAIL_TEXT', 'Il tuo giudizio è stato inserito con successo e verrà pubblicato al più presto. Riceverai una e-mail che ti confermerà l\'avvenuta pubblicazione. Se non riceverai comunicazioni entro 48 ore, contattaci prima di inserire nuovamente il tuo giudizio.' . "\n\n");
define('EMAIL_CONTACT', 'Per richieste o aiuto contattaci al seguente indirizzo: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n\n");
define('EMAIL_WARNING', '<b>Attenzione:</b> Questa e-mail ci è stata fornita durante l\'inserimento di un feedback. in caso di problemi contattaci al seguente indirizzo: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");
define('EMAIL_OWNER_SUBJECT', 'Rilascio feedback a ' . STORE_NAME);
define('SEND_EXTRA_TESTIMONIALS_ADD_SUBJECT', '[TESTIMONIAL SUBMISSION]');
define('EMAIL_OWNER_TEXT', 'Un nuovo giudizio è stato rilasciato a ' . STORE_NAME . '. Non è ancora stato approvato. Verifica il giudizio e pubblicalo.' . "\n\n");
define('EMAIL_GV_CLOSURE','Cordiali saluti,' . "\n\n" . STORE_OWNER . "\nStore Owner\n\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n\n");
define('EMAIL_DISCLAIMER_NEW_CUSTOMER', 'Questa e-mail ci è stata fornita da te o da qualche tuo conoscente durante l\'inserimento di un feedback . Se ritieni di non aver mai rilasciato feedback, o hai ricevuto questa e-mail per errore, scrivici una e-mail a %s ');
////////////////
define('TABLE_HEADING_TESTIMONIALS', 'Giudizio del cliente');
define('TESTIMONIAL_CONTACT', 'Informazioni di contatto');
define('TEXT_TESTIMONIALS_TITLE', 'Titolo:');
define('TEXT_TESTIMONIALS_NAME', 'Nome:');
define('TEXT_TESTIMONIALS_MAIL', 'E-mail:');
define('TEXT_TESTIMONIALS_COMPANY', 'Ditta:');
define('TEXT_TESTIMONIALS_CITY', 'Città:');
define('TEXT_TESTIMONIALS_COUNTRY', 'Stato:');
define('TEXT_TESTIMONIALS_HTML_TEXT', 'Giudizio');
define('TEXT_TESTIMONIALS_DESCRIPTION', 'Testo:');
define('TEXT_TESTIMONIALS_DESCRIPTION_INFO', '<li><strong>Il testo deve essere compreso tra ' . ENTRY_TESTIMONIALS_TEXT_MIN_LENGTH . ' & ' . ENTRY_TESTIMONIALS_TEXT_MAX_LENGTH . ' caratteri!</strong></li>');
define('TEXT_CAPTCHA_INFO', '<li><strong>Verification Code is case insensitive</strong></li>');
define('RETURN_REQUIRED_INFORMATION', ' = Dati obbligatori<br />');
define('RETURN_OPTIONAL_INFORMATION', ' = Dati facoltativi');
define('RETURN_OPTIONAL_IMAGE','optional.gif');
define('RETURN_OPTIONAL_IMAGE_ALT', 'optional information');
define('RETURN_OPTIONAL_IMAGE_HEIGHT', '12');
define('RETURN_OPTIONAL_IMAGE_WIDTH', '12');
define('RETURN_REQUIRED_IMAGE', 'star.gif');
define('RETURN_REQUIRED_IMAGE_ALT', 'required information');
define('RETURN_REQUIRED_IMAGE_HEIGHT', '12');
define('RETURN_REQUIRED_IMAGE_WIDTH', '12');
define('RETURN_WARNING_IMAGE', 'exclamation.gif');
define('RETURN_WARNING_IMAGE_ALT', 'warning');
define('RETURN_WARNING_IMAGE_HEIGHT', '16');
define('RETURN_WARNING_IMAGE_WIDTH', '16');
define('TEXT_TESTIMONIAL_LOGIN_PROMPT','Devi registrarti o accedere al tuo account per poter inserire un giudizio.');
define('ERROR_TESTIMONIALS_NAME_REQUIRED', '<span class="alert"><strong>Il nome è obbligatorio!</strong></span>');
define('ERROR_TESTIMONIALS_EMAIL_REQUIRED', '<span class="alert"><strong>Il tuo indirizzo e-mail è obbligatorio!</strong></span>');
define('ERROR_TESTIMONIALS_TITLE_REQUIRED', '<span class="alert"><strong>Il titolo è obbligatorio!</strong></span>');
define('ERROR_TESTIMONIALS_DESCRIPTION_REQUIRED', '<span class="alert"><strong>Il testo è obbligatorio!</strong></span>');
define('ERROR_TESTIMONIALS_TEXT_MAX_LENGTH', '<span class="alert"><strong>Inserisci meno di ' . ENTRY_TESTIMONIALS_TEXT_MAX_LENGTH . ' characters!</strong></span>');
define('ERROR_TESTIMONIALS', 'Ci sono degli errori! Per favore correggi e re-inserisci!');
//EOF
I would like that customers can add surname in the form and don't want that the form is already filled! how?
You will need to modify the following files:
includes/modules/pages/testimonials_add/header_php.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_add_default.php
You will need to add the specific fields you want to include as well as the error handling for those fields.
I just wanted to send a BIG Thank you out to Clyde Jones for the Testimonial Manager contribution. I downloaded it and installed it on my local WAMP server and FTP'd to my production server without a hitch.
You did an awesome job on this and I really appreciate your contributing this tool.
Thanks - Michael Stein
On version 1.3.8a
:bigups: