Here's a fix for this.
open admin/testimonials_manager.php
Find this line of code (around line 185)
change it as followsCode:<td class="main"><?php echo zen_draw_input_field('testimonials_url', zen_not_null($iInfo->testimonials_url) ? $iInfo->testimonials_url : 'http://', 'maxlength="255"', true); ?></td>
Save the file and upload to your serverCode:<td class="main"><?php echo zen_draw_input_field('testimonials_url', zen_not_null($bInfo->testimonials_url) ? $bInfo->testimonials_url : 'http://', 'maxlength="255"', true); ?></td>
Dear Clyde, maybe that is part of my problem - I don't see the testimonials_manager.php file under admin: admin/testimonials_manager.php
I do have a file named: testimonials_manager.php here...
admin\includes\languages\english\testimonials_manager.php
but it doesn't have a 185 line that reads:
<td class="main"><?php echo zen_draw_input_field('testimonials_url', zen_not_null($iInfo->testimonials_url) ? $iInfo->testimonials_url : 'http://', 'maxlength="255"', true); ?></td>
here is it:
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | http://www.zen-cart.com/index.php |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | http://www.zen-cart.com/license/2_0.txt. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email protected] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// Original contrib by Vijay Immanuel for osCommerce, converted to zen by [email protected] - http://www.open-operations.com
// $Id: links_manager.php 2006-12-22 Clyde Jones
//
define('HEADING_TITLE', 'Testimonials Manager');
define('TABLE_HEADING_TESTIMONIALS', 'Testimonials Title');
define('TABLE_HEADING_NAME', 'Testimonials Name');
define('TABLE_HEADING_MAIL', 'Testimonials Mail');
define('TABLE_HEADING_ACTION', 'Action');
define('TABLE_HEADING_SORT_ORDER', 'Sort Order');
define('TEXT_TESTIMONIALS_TITLE', 'Testimonials Title:');
define('TEXT_TESTIMONIALS_NAME', 'Testimonials Name:');
define('TEXT_TESTIMONIALS_URL', 'Testimonials URL:');
define('TEXT_TESTIMONIALS_MAIL', 'Testimonials Mail:');
define('TEXT_TESTIMONIALS_HTML_TEXT', 'Testimonials:');
define('TABLE_HEADING_DATE_ADDED', 'Date Added:');
define('TEXT_TESTIMONIALS_STATUS_CHANGE', 'Status Change: %s');
define('TEXT_INFO_DELETE_INTRO', 'Are you sure you want to delete this Testimonial?');
define('SUCCESS_PAGE_INSERTED', 'Success: The Testimonial has been inserted.');
define('SUCCESS_PAGE_UPDATED', 'Success: The Testimonial has been updated.');
define('SUCCESS_PAGE_REMOVED', 'Success: The Testimonials item has been removed.');
define('SUCCESS_PAGE_STATUS_UPDATED', 'Success: The status of the Testimonial item has been updated.');
define('ERROR_PAGE_TITLE_REQUIRED', 'Error: Testimonials title required.');
define('ERROR_UNKNOWN_STATUS_FLAG', 'Error: Unknown status flag.');
define('TABLE_HEADING_STATUS', 'Status');
define('TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> testimonials items)');
define('IMAGE_NEW_PAGE', 'New Testimonials Item');
define('TEXT_INFO_PAGE_IMAGE', 'Image');
define('TEXT_INFO_CURRENT_IMAGE', 'Current Image:');
?>
Quote image names:
lftquote.png and rgtquote.png
and there are here: includes\templates\apple_zen\images
double check the custom ZIP file I provided; there should be an admin folder which you should have uploaded.
If you uploaded it then testimonials_manager.php should be in your admin folder.
You wouldn't have the necessary options under admin -> tools -> Testimonial Manager otherwise.
AAH HAH!
Thats why they aren't showing up.
open
testimonials_manager_all_testimonials.css
and
testimonials_manager.css
change the following declarations
blockquote {
margin:0 !important;
padding:0 !important;
background: url(../images/lftblockquote.png) top left no-repeat;
border:1px solid navy;
height:1%;
}
blockquote div {
padding:38px 56px;
background: url(../images/rgtblockquote.png) bottom right no-repeat;
}
change the highlighted portions so they match your quote image filenames
testimonials_manager.css
here is the coding...(the names are already correct)
#testimonialDefault{margin:0 5px;padding:8px;font-size:1.2em;text-align:left;}
#testimonialDefault h1{margin:0;padding:10px 0;font-size:1.5em;font-weight:700;}
blockquote {
margin:0 !important;
padding:0 !important;
background: url(../images/lftblockquote.png) top left no-repeat;
height:1%;
}
blockquote div {
padding:8px 6px;
background: url(../images/rgtblockquote.png) bottom right no-repeat;
height:1%;
}
#testimonialImage {
text-align: center;
}
-----------------
testimonials_manager_all_testimonials.css
#testimonialDefault{margin:0 5px;padding:8px;font-size:1.2em;text-align:left;}
#testimonialDefault h1{margin:0;padding:10px 0;font-size:1.5em;font-weight:700;}
blockquote {
margin:0 !important;
padding:0 !important;
background: url(../images/lftblockquote.png) top left no-repeat;
height:1%;
}
blockquote div {
padding:8px 6px;
background: url(../images/rgtblockquote.png) bottom right no-repeat;
height:1%;
}
#testimonialImage {
text-align: center;
}
Hi there,
I've uploaded testimonials manager and have a problem! None of the text is displaying correctly.
Here is a link to my page: http://www.handcrafteduk.com/
Would it be because I am using 1.3.6? I'm scared up upgrading!!!![]()
Bookmarks