Zen Cart Logo
Forums / All Other Contributions/Addons / Testimonial Manager Support Thread

Testimonial Manager Support Thread

Views: 278,022

Results 301 to 320 of 1,502
27 Aug 2007, 3:51 PM
#301
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Testimonial Manager Support Thread

kimsonvu:

I see this when update SQL:

what do you see when you view admin -> configuration -> testimonial manager

27 Aug 2007, 4:05 PM
#302
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

I see this:

Title Value Action
Display Add New Testimonial Link In Sidebox true
Testimonial Image Height 550 Info
Testimonial Image Width 450 Info
Testimonial Image Directory testimonials/ Info
Display Company Name field true Info
Display City field true Info
Display Country field true

Can you share me the code or some guide to display testimonial in home page?I would like to add more testimonial but i can not control how many display in home page.

KIMSON

Thanks you !

27 Aug 2007, 4:24 PM
#303
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

kimsonvu:

I see this:

Can you share me the code or some guide to display testimonial in home page?I would like to add more testimonial but i can not control how many display in home page.

KIMSON

Thanks you !

I just sent you a PM

28 Aug 2007, 2:10 AM
#304
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

Please disregard the image fix posted here and use this one instead.

[Attachment no longer available]

28 Aug 2007, 3:56 AM
#305
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

I was tested and see this:

24 statements processed.
Error ERROR: Cannot insert configuration_key "MAX_DISPLAY_TESTIMONIALS_MANAGER_TITLES" because it already exists
Error ERROR: Cannot insert configuration_key "DISPLAY_TESTIMONIALS_MANAGER_TRUNCATED_TEXT" because it already exists
Error ERROR: Cannot insert configuration_key "TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH" because it already exists
Error ERROR: Cannot insert configuration_key "MAX_DISPLAY_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS" because it already exists
Error ERROR: Cannot insert configuration_key "DISPLAY_TESTIMONIALS_DATE_PUBLISHED" because it already exists
Error ERROR: Cannot insert configuration_key "DISPLAY_ALL_TESTIMONIALS_TESTIMONIALS_MANAGER_LINK" because it already exists
Error ERROR: Cannot insert configuration_key "REGISTERED_TESTIMONIAL" because it already exists
Warning Note: 7 statements ignored. See "upgrade_exceptions" table for additional details.

28 Aug 2007, 3:57 AM
#306
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Admin - config:

Title Value Action
Testimonial Title Minimum Length 2 Info
Testimonial Text Minimum Length 10 Info
Testimonial Contact Name Minimum Length 2 Info
Display Add New Testimonial Link In Sidebox true Info
Testimonial Image Width 550 Info
Testimonial Image Height 450
Testimonial Image Directory testimonials/ Info
Display Company Name field true Info
Display City field true Info
Display Country field true

28 Aug 2007, 4:31 AM
#307
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

kimsonvu:

Admin - config:

Once again check your PM

1 Sep 2007, 5:24 PM
#308
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Clyde

I get these errors/messages when I run the latest upgrade_testimonials_manager.sql (from Downloads)

ERROR: Cannot ADD column testimonials_url because it already exists. Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

Firstly: I don't know what the upgrade exceptions table is!!

I don't suppose you could confirm whether there is a significance to any of these messages, or whether I can just ignore them? Of course, if there is a potential problem arising from these messages I would be most grateful if you could assist by giving me some guidance as to how to go about fixing any problems!!

1 Sep 2007, 9:05 PM
#309
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

blag:

Clyde

I get these errors/messages when I run the latest upgrade_testimonials_manager.sql (from Downloads)

Firstly: I don't know what the upgrade exceptions table is!!

I don't suppose you could confirm whether there is a significance to any of these messages, or whether I can just ignore them? Of course, if there is a potential problem arising from these messages I would be most grateful if you could assist by giving me some guidance as to how to go about fixing any problems!!

It just means that it ignored one of the statements in the sql script because that particular table entry was already in the database.
There are no problems The mod should work.

2 Sep 2007, 6:34 AM
#310
blag avatar

blag

Zen Follower

Join Date:
May 2007
Location:
Leicester, England
Posts:
165
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

It just means that it ignored one of the statements in the sql script because that particular table entry was already in the database.
There are no problems The mod should work.
Thanks!!

5 Sep 2007, 1:14 PM
#311
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

On my PittiVintage site I've added images to the testimonials. They appear within the testimonials themselves and at times in the sidebox. :huh:
I would like them to always appear in the sidebox, as well. Any idea why this may be occuring? I've just upgraded to testimonial_manager_1.4.3.2

thanks!

5 Sep 2007, 1:51 PM
#312
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

MeltDown:

On my PittiVintage site I've added images to the testimonials. They appear within the testimonials themselves and at times in the sidebox. :huh:
I would like them to always appear in the sidebox, as well. Any idea why this may be occuring? I've just upgraded to testimonial_manager_1.4.3.2

thanks!

make sure you have the following line(s) of code near the top of the file

includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php

if ($page_query_list[$i]['image'] != '') {  
$content .= '<p class="testimonialImage">' . zen_image(DIR_WS_IMAGES . $page_query_list[$i]['image'], $page_query_list[$i]['name'], TESTIMONIAL_IMAGE_WIDTH, TESTIMONIAL_IMAGE_HEIGHT) . '</p>';  
  }
6 Sep 2007, 4:09 AM
#313
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

make sure you have the following line(s) of code near the top of the file

includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php

if ($page_query_list[$i]['image'] != '') {
$content .= '<p class="testimonialImage">' . zen_image(DIR_WS_IMAGES . $page_query_list[$i]['image'], $page_query_list[$i]['name'], TESTIMONIAL_IMAGE_WIDTH, TESTIMONIAL_IMAGE_HEIGHT) . '</p>';
}



Yes, that bit of code is in place but still no certainty of the image displaying. In your example I see the red highlighted bits - Should I somehow be modifying those areas?

To call the images (admin/configuration testimonial image directory) I've tried entering complete URL of the image file, as well.

Thanks
6 Sep 2007, 6:10 AM
#314
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

MeltDown:

Yes, that bit of code is in place but still no certainty of the image displaying. In your example I see the red highlighted bits - Should I somehow be modifying those areas?

To call the images (admin/configuration testimonial image directory) I've tried entering complete URL of the image file, as well.

Thanks

Just as a check - have you actually uploaded your graphics to images/testimonials?

6 Sep 2007, 8:25 AM
#315
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

Just as a check - have you actually uploaded your graphics to images/testimonials?

Yes, I have, and they are visible in the in the testimonials section online, just not in the sidebox.

Now that you mention it though, there was not a "testimonials" file created in /images/testimonials/. After seeing that the images were not appearing in the sidebox I did create one. Initially I had them in another folder but I also had the complete URL listed in admin/configuration/testimonials image directory. Again, they have always appeared on the main testimonials page no matter the configuration.

Thanks

6 Sep 2007, 1:34 PM
#316
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

MeltDown:

Yes, I have, and they are visible in the in the testimonials section online, just not in the sidebox.

Now that you mention it though, there was not a "testimonials" file created in /images/testimonials/. After seeing that the images were not appearing in the sidebox I did create one. Initially I had them in another folder but I also had the complete URL listed in admin/configuration/testimonials image directory. Again, they have always appeared on the main testimonials page no matter the configuration.

Thanks
in admin -> configuration -> testimonials manager -> image directory (setting)

you only need to have /directoryname You don't need to use the full URL..

What are the height and width settings?

6 Sep 2007, 4:00 PM
#317
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

in admin -> configuration -> testimonials manager -> image directory (setting)

you only need to have /directoryname You don't need to use the full URL..

What are the height and width settings?

Width 100

Height 60

Thanks

6 Sep 2007, 6:34 PM
#318
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

MeltDown:

Width 100

Height 60

Thanks

did you modify includes/modules/sideboxes/YOUR_TEMPLATE/template_manager.php so that it only shows on certain a certain page(s).

If so can you provide the code you used.

7 Sep 2007, 5:12 AM
#319
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

did you modify includes/modules/sideboxes/YOUR_TEMPLATE/template_manager.php so that it only shows on certain a certain page(s).

If so can you provide the code you used.

Hmmm... I don't see that file in the specified location. Neither in my over-rides file or the file that it would over-ride. There is the testimonials_manager.php. Here is that entire page:

<?php
/**
 * Testimonials Manager - display Testimonials sidebox
 *
 * @package templateSystem
 * @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 7-25-2007 clyde $
 */
 
// test if box should display
$page_query = $db->Execute("select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added  from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 order by rand(), testimonials_title limit " . MAX_DISPLAY_TESTIMONIALS_MANAGER_TITLES ."");
if ($page_query->RecordCount()>0) {
      $title =  BOX_HEADING_TESTIMONIALS_MANAGER;
      $box_id =  testimonials_manager;
      $rows = 0;
      while (!$page_query->EOF) {
        $rows++;
        $page_query_list[$rows]['id'] = $page_query->fields['testimonials_id'];
        $page_query_list[$rows]['name']  = $page_query->fields['testimonials_title'];
        $page_query_list[$rows]['story']  = $page_query->fields['testimonials_html_text'];
		$page_query_list[$rows]['image'] = $page_query->fields['testimonials_image'];

        $page_query->MoveNext();
      }
      $left_corner = false;
      $right_corner = false;
      $right_arrow = false;
      $title_link = false;
      require($template->get_template_dir('tpl_testimonials_manager.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_testimonials_manager.php');
      require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
?>

I am using Jade's Apple Zen template, however, which forces a single, right-hand only sidebox.

7 Sep 2007, 5:53 AM
#320
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

MeltDown:

Hmmm... I don't see that file in the specified location. Neither in my over-rides file or the file that it would over-ride. There is the testimonials_manager.php. Here is that entire page:

<?php /** * Testimonials Manager - display Testimonials sidebox * * @package templateSystem * @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 7-25-2007 clyde $ */ // test if box should display $page_query = $db->Execute("select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 order by rand(), testimonials_title limit " . MAX_DISPLAY_TESTIMONIALS_MANAGER_TITLES .""); if ($page_query->RecordCount()>0) { $title = BOX_HEADING_TESTIMONIALS_MANAGER; $box_id = testimonials_manager; $rows = 0; while (!$page_query->EOF) { $rows++; $page_query_list[$rows]['id'] = $page_query->fields['testimonials_id']; $page_query_list[$rows]['name'] = $page_query->fields['testimonials_title']; $page_query_list[$rows]['story'] = $page_query->fields['testimonials_html_text']; $page_query_list[$rows]['image'] = $page_query->fields['testimonials_image']; $page_query->MoveNext(); } $left_corner = false; $right_corner = false; $right_arrow = false; $title_link = false; require($template->get_template_dir('tpl_testimonials_manager.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_testimonials_manager.php'); require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default); } ?>
> 
> I am using Jade's Apple Zen template, however, which forces a single, right-hand only sidebox.

Thats the right file and it looks like it is calling the things it should.

what are your setting in admin -> configuration -> testimonial manager 
for the following options:

Display Truncated Testimonials in Sidebox 
Length of truncated testimonials to display