follow the instructions in the uninstall_testimonials_manager.txt file that is included with the contribution.
Printable View
Any thoughts on a possible fix rather?
Thank you
Sorry also nothing
I have:
install.txt
readme.txt
upgrade.txt
mine is:
testimonial_manager_v1-4-4.zip
Run this sql statement using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)
For best results, copy-and-paste the code into the query field and press 'Send'.
Manually delete the following files:Code:#Testimonials Manager SQL Uninstall
# For Zen-Cart 1.3.8
# Last Updated: 03/26/2008
SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Testimonials Manager'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_TESTIMONIAL_STATUS';
INSERT INTO `configuration` VALUES (NULL, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, NULL, now(), NULL, NULL);
INSERT INTO `configuration` VALUES (NULL, 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, NULL, now(), NULL, NULL);
INSERT INTO `configuration` VALUES (NULL, 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, NULL, now(), NULL, NULL);
INSERT INTO `configuration` VALUES (NULL, 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, now(), NULL, 'zen_cfg_textarea_small(');
DROP TABLE IF EXISTS `testimonials_manager`;
admin/testimonials_manager.php
admin/includes/boxes/extra_boxes/testimonials_manager_tools_dhtml.php
admin/includes/extra_datafiles/testimonials_manager.php
admin/includes/functions/extra_functions/testimonials_manager_functions.php
admin/includes/languages/english/testimonials_manager.php
admin/includes/languages/english/extra_definitions/testimonials_manager.php
admin/includes/languages/english/images/buttons/button_new_testimonial.gif
-------
includes/extra_datafiles/testimonials_manager_filenames.php
includes/functions/testimonials.php
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
includes/modules/pages/testimonials_add
includes/modules/pages/testimonials_manager
includes/modules/pages/testimonials_manager_all_testimonials
includes/modules/sideboxes/YOUR_TEMPLATE/testimonials_manager.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_add_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_manager_all_testimonials_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_manager_default.php
includes/templates/YOUR_TEMPLATE/css/testimonials_add.css
includes/templates/YOUR_TEMPLATE/css/testimonials_manager.css
includes/templates/YOUR_TEMPLATE/css/testimonials_manager_all_testimonials.css
includes/templates/YOUR_TEMPLATE/buttons/english/button_submit_testimonials.gif
includes/templates/YOUR_TEMPLATE/buttons/english/button_testimonials.gif
includes/templates/YOUR_TEMPLATE/buttons/english/button_view_testimonials.gif
Based on the following:
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:
then I changed the ~includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_add_default.php by commenting out the following:Code:$error = false;
// if ($testimonials_title == '') {
// $error = true;
// $messageStack->add('new_testimonial', ERROR_TESTIMONIALS_TITLE_REQUIRED);
// }
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: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" />
This won't allow it to show up. Any help would be appreciated.Quote:
Error: Testimonials title required.
Cheers