Based on the following:

Originally Posted by
clydejones
You'll have to change the error handling code in includes/modules/pages/testimonials_add/header_php.php
And
You'll have to change the code in the submission form
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_add_default.php
I'm trying to modify the code so that the Testimonial Title doesn't show up when someone adds their testimonial. I changed the ~includes/modules/pages/testimonials_add/header_php.php by commenting out:
Code:
$error = false;
// if ($testimonials_title == '') {
// $error = true;
// $messageStack->add('new_testimonial', ERROR_TESTIMONIALS_TITLE_REQUIRED);
// }
then I changed the ~includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_add_default.php by commenting out the following:
Code:
<fieldset>
<!--<label class="inputLabel" for="testimonials_title"><?php echo TEXT_TESTIMONIALS_TITLE; ?></label>
<?php echo zen_draw_input_field('testimonials_title', '', 'size="18" id="testimonials_title"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />-->
<label class="inputLabel" for="testimonials_name"><?php echo TEXT_TESTIMONIALS_NAME; ?></label>
<?php echo zen_draw_input_field('testimonials_name', $name, 'size="18" id="testimonials_name"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
Now, everything works fine for customers to add testimonials, but I can't approve anything. When I go into the Admin-->Tools-->Testimonials Manager I get an error at the top of Zen Cart stating:
Error: Testimonials title required.
This won't allow it to show up. Any help would be appreciated.
Cheers