Results 1 to 10 of 1501

Hybrid View

  1. #1
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by MeltDown View Post
    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 Code:
    <?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_defaultDIR_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

  2. #2
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    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

    Display Truncated Testimonials in Sidebox - True

    Length of truncated testimonials to display - 25

    I've just seen that if I set the truncated testimonial to false it shoves everything on the page to the right.

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by MeltDown View Post
    Display Truncated Testimonials in Sidebox - True

    Length of truncated testimonials to display - 25

    I've just seen that if I set the truncated testimonial to false it shoves everything on the page to the right.
    The sidebox displays only the title of the testimonial then "read more" and the links to the view and add page(s).

    What happens if you try the mod with another template?

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    The sidebox displays only the title of the testimonial then "read more" and the links to the view and add page(s).

    What happens if you try the mod with another template?
    Your testimonial images should be stored in your main images directory:

    images/testimonials

    and not in

    includes/templates/YOUR_TEMPLATE/images/testimonials

  5. #5
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    help question Re: Testimonial Manager 1.3.7

    I just installed it on my in-the-process-of-building zencart site. It works great!

    One question: I am running a bilingual site. So ideally, if the customer leaves a testimonial in English, it should only be visible on the English language "view all testimonials" page and sidebox. And vice versa for a Chinese language visitor. But it seems like the Testimonial Manager is not set up this way.

    Questions:
    1. Am I correct is assuming it is not set up this way?
    2. Is it possible to modify it to work this way?

    As an example, I can point to the 5-star product review system that is a part of the standard 1.3.7 zencart. The 5-star review system only shows Chinese visitors the reviews entered by other Chinese language visitors, and only English reviews to English language visitors. Kind of a nifty feature that I would like to continue with Testimonials Manager.

    Thanks!

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by thomasw98 View Post
    I just installed it on my in-the-process-of-building zencart site. It works great!

    One question: I am running a bilingual site. So ideally, if the customer leaves a testimonial in English, it should only be visible on the English language "view all testimonials" page and sidebox. And vice versa for a Chinese language visitor. But it seems like the Testimonial Manager is not set up this way.

    Questions:
    1. Am I correct is assuming it is not set up this way?
    2. Is it possible to modify it to work this way?

    As an example, I can point to the 5-star product review system that is a part of the standard 1.3.7 zencart. The 5-star review system only shows Chinese visitors the reviews entered by other Chinese language visitors, and only English reviews to English language visitors. Kind of a nifty feature that I would like to continue with Testimonials Manager.

    Thanks!
    Correct, at this time testimonials manager does not support multi-languages

    I will look into adding this capability in a future upgrade.

  7. #7
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    Correct, at this time testimonials manager does not support multi-languages

    I will look into adding this capability in a future upgrade.
    This is a fairly big problem with languages like Chinese, since these turn into total gibberish when displayed on an English page. If it was French on an English page, it would not be such a big issue.

    I am not going to use the sidebox for now anyways, so I will only display a menu link to "view all testimonials" on my Chinese header and leave this off of the English header. If some day you add the bilingual feature, I will then turn on the menu button on the English pages also.

    Thanks for the nice contribution!

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by thomasw98 View Post
    This is a fairly big problem with languages like Chinese, since these turn into total gibberish when displayed on an English page. If it was French on an English page, it would not be such a big issue.

    I am not going to use the sidebox for now anyways, so I will only display a menu link to "view all testimonials" on my Chinese header and leave this off of the English header. If some day you add the bilingual feature, I will then turn on the menu button on the English pages also.

    Thanks for the nice contribution!
    The attached should allow you to use multi-languages with the testimonials MOD

    The zip file contains only the files necessary to add multi-language capabilities.

    as always, unzip the file, rename the YOUR_TEMPLATE directories to match the name of your custom template
    includes/modules/sideboxes/YOUR_TEMPLATE
    includes/templates/YOUR_TEMPLATE

    Copy the upgrade_testimonials_manager.sql and paste it into
    admin -> tools -> install sql patches and click the send button.

    upload both the admin and includes folders to your server.

    Attachment 2611

    I'll include these changes in an upgrade in the downloads section very soon.
    Last edited by clydejones; 31 Dec 2009 at 02:31 AM.

  9. #9
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Wow, I really appreciate the fast work! Thanks again.

  10. #10
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by thomasw98 View Post
    Wow, I really appreciate the fast work! Thanks again.
    I'd been thinking about doing this for a while anyway, you just gave me the shove I needed.

 

 

Similar Threads

  1. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 262
    Last Post: 26 Jun 2025, 10:42 AM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  3. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg