Page 99 of 151 FirstFirst ... 4989979899100101109149 ... LastLast
Results 981 to 990 of 1501
  1. #981
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    Hello,

    Firstly thanks Clyde (again!) for a superb add on

    Two questions:
    (I have searched this thread but to no avail.)

    1: Would it be possible to display the Testimonials sidebox only on the Home page?

    2: Can I add the 'index.php?main_page=display_all_testimonials' page to the site map?

    Thanks.

  2. #982
    Join Date
    Jun 2008
    Location
    Osprey, Florida
    Posts
    151
    Plugin Contributions
    14

    Default Re: Testimonial Manager Support Thread

    To answer question #1 visit this page on the zencart tutorial.

    To answer #2 visit this page "How to edit SiteMap links in ZenCart".

    Hope that helps...

  3. #983
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by ultimate_zc View Post
    To answer question #1 visit this page on the zencart tutorial.

    To answer #2 visit this page "How to edit SiteMap links in ZenCart".

    Hope that helps...
    Thanks for the reply,

    I managed to add the relevant link to the sitemap so thanks for that usefull link. However Im still struggling with the sidebox question. Heres my /modules/sideboxes/my_template/testimonials_manager.php file as is:

    <?php
    /**
    * Testimonials Manager
    *
    * @package Template System
    * @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 v1.5.0 1-9-2009 Clyde Jones $
    */
    // 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 and language_id = " . (int)$_SESSION['languages_id'] . " 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);
    }
    //EOF



    Im not sure how, what or where to add the relevant code mentioned here: https://www.zen-cart.com/tutorials/i...hp?article=270

    Any helps much appreciated

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

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by gaffettape View Post
    Thanks for the reply,

    I managed to add the relevant link to the sitemap so thanks for that usefull link. However Im still struggling with the sidebox question. Heres my /modules/sideboxes/my_template/testimonials_manager.php file as is:
    PHP Code:
    <?php
    /**
     * Testimonials Manager
     *
     * @package Template System
     * @copyright 2007 Clyde Jones
      * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
     * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0
     * @version $Id: Testimonials_Manager.php v1.5.0 1-9-2009 Clyde Jones $
     */
    // test if box should display
    $show_testimonial true

    if ($this_is_home_page) {
    $show_testimonial true
    } else {
    $show_testimonial false
    }

    if (
    $show_testimonial == true) {

    $page_query $db->Execute("select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added  from " TABLE_TESTIMONIALS_MANAGER " where status = 1  and language_id = " . (int)$_SESSION['languages_id'] . " 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);
        }
    }    
    //EOF


    Im not sure how, what or where to add the relevant code mentioned here: https://www.zen-cart.com/tutorials/i...hp?article=270

    Any helps much appreciated
    I've added the corrected code above just copy and paste and save to your server.

  5. #985
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by clydejones View Post
    I've added the corrected code above just copy and paste and save to your server.
    Sorry Clyde that hasn't seemed to of worked ?? I would provide a link to the site ... but its just on my comp at the moment (sorry!)

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

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by gaffettape View Post
    Sorry Clyde that hasn't seemed to of worked ?? I would provide a link to the site ... but its just on my comp at the moment (sorry!)
    Try this:
    PHP Code:
    if ($this_is_home_page) {

    $page_query $db->Execute("select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added  from " TABLE_TESTIMONIALS_MANAGER " where status = 1  and language_id = " . (int)$_SESSION['languages_id'] . " 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);
        }


  7. #987
    Join Date
    May 2009
    Posts
    413
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    Yea that worked perfectly, Thanks Clyde

  8. #988
    Join Date
    Sep 2006
    Posts
    142
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    I had the testimonials running on my site. I changed templates, and now it's not running correctly anymore. The testimonials are there....

    but when I go to turn on the sidebox, I can see it there....

    sideboxes/a_pink_boutique/testimonials_manager.php

    I clidk on edit, add to the left column, click update, and it takes me back to my main admin page, out of the layout boxes completely.

    I reinstalled all the files, from the newest version, ran the upgrade, and again, I can see all the testimonials are there, but I still can't add them to my sidebox.

  9. #989
    Join Date
    Sep 2006
    Posts
    142
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread

    well, this looks to be something related to something else, because I am having the same problem when I'm adding a link to my ez pages...it just pops straight back to the admin screen

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

    Default Re: Testimonial Manager Support Thread

    Quote Originally Posted by paperthreads View Post
    well, this looks to be something related to something else, because I am having the same problem when I'm adding a link to my ez pages...it just pops straight back to the admin screen
    Version of Zen Cart?

    Have you installed the Security updates?

 

 

Similar Threads

  1. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 261
    Last Post: 13 Jan 2025, 11:14 PM
  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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR