
Originally Posted by
Alex Clarke
Hi Clyde,
This fix doesn't seem to have worked. I noticed that when using the new tpl_testimonials_add_default.php file the customer details (email address and name) were not automatically completed (if the customer was logged in).
This should help with this issue:
open tpl_testimonials_add_default.php find the following lines of code and add the highlighted portions
Code:
<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" />
<label class="inputLabel" for="testimonials_mail"><?php echo TEXT_TESTIMONIALS_MAIL; ?></label>
<?php echo zen_draw_input_field('testimonials_mail', $email, 'size="18" id="testimonials_mail"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<br class="clearBoth" />
I tried to submit a testimonial and the same thing happened (it just refreshed the form when I clicked on the submit button).
I'll be looking into this problem today and let you know if I find the solution.
In the meantime, thanks for the help. :)
I checked several more sites that are using testimonial manager and still can't reproduce this problem
Bookmarks