Results 1 to 10 of 1501

Hybrid View

  1. #1
    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
    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

    PHP Code:
    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_WIDTHTESTIMONIAL_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
    Last edited by MeltDown; 6 Sep 2007 at 05:14 AM.

  2. #2
    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
    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?

  3. #3
    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
    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

  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 MeltDown View Post
    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?

  5. #5
    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
    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. #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 MeltDown View Post
    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. #7
    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
    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 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.

 

 

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