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

Testimonial Manager Support Thread

Views: 278,022

Results 981 to 1,000 of 1,502
6 Jan 2010, 7:00 PM
#981
clydejones avatar

clydejones

Deceased

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

Testimonial Manager Support Thread

ultimate_zc:

Clyde, first of all, thanks for all your contributions. I wanted to verify whether this was the proper way to add the code to the metatags.php.

When adding:

define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . $page_check->fields['testimonials_title']);
define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . zen_trunc_string($page_check->fields['testimonials_html_text'],TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH));
define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . $page_check->fields['testimonials_title']);
> 
> I get the following on my metatags:
> ```html
<title>META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGERGreat</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGERGreat" />
<meta name="description" content="META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGERThis is just a test submission to show you how it looks, great, eh?" />

When deleting "META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER"

as in ```php
define('META_TAG_TITLE', $page_check->fields['testimonials_title']);
define('META_TAG_DESCRIPTION', zen_trunc_string($page_check->fields['testimonials_html_text'],TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH));
define('META_TAG_KEYWORDS', $page_check->fields['testimonials_title']);

> 
> my meta tags show as they should...
> ```html
<title>Great</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="Great" />
<meta name="description" content="This is just a test submission to show you how it looks, great, eh?" />

Will doing so will create any problems with other pages? I ask because I assume the original code worked for you and you added it for a reason...

Thanks

Shouldn't have any effect on other pages.

8 Jan 2010, 3:54 PM
#982
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hello,

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

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.

8 Jan 2010, 4:43 PM
#983
ultimate_zc avatar

ultimate_zc

Zen Follower

Join Date:
Jun 2008
Location:
Osprey, Florida
Posts:
147
Plugin Contributions:
7

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

8 Jan 2010, 5:07 PM
#984
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

ultimate_zc:

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/index.php?article=270> :blush: Any helps much appreciated :smile:
8 Jan 2010, 6:03 PM
#985
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

gaffettape:

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 [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_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/index.php?article=270> :blush: > > Any helps much appreciated :smile: I've added the corrected code above just copy and paste and save to your server.
8 Jan 2010, 6:25 PM
#986
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

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 :dontgetit ?? I would provide a link to the site ... but its just on my comp at the moment (sorry!)

9 Jan 2010, 1:57 AM
#987
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

gaffettape:

Sorry Clyde that hasn't seemed to of worked :dontgetit ?? I would provide a link to the site ... but its just on my comp at the moment (sorry!)

Try this:

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_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
}
9 Jan 2010, 1:17 PM
#988
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Yea that worked perfectly, Thanks Clyde :smile:

12 Jan 2010, 1:20 AM
#989
paperthreads avatar

paperthreads

Zen Follower

Join Date:
Sep 2006
Posts:
142
Plugin Contributions:
0

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.

12 Jan 2010, 2:14 AM
#990
paperthreads avatar

paperthreads

Zen Follower

Join Date:
Sep 2006
Posts:
142
Plugin Contributions:
0

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

12 Jan 2010, 3:03 AM
#991
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

paperthreads:

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?

12 Jan 2010, 3:22 AM
#992
paperthreads avatar

paperthreads

Zen Follower

Join Date:
Sep 2006
Posts:
142
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hi Clyde!

Yes, sorry I didn't get back to this thread to update!

I did the security patch, earlier in the day, and things worked fine for about 3 hours, then all of a sudden this started happening.

Searching more, I found that it was the security patch causing it, and have since reuploaded the htmp_output file back...and it's all working correctly now!

29 Jan 2010, 12:54 PM
#993
psygnosis avatar

psygnosis

New Zenner

Join Date:
Nov 2009
Posts:
19
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hi to all, I have zen car 1.3.8 and when I install testimonial manager 1.5.0's sql patch via admin panel I have this error

33 statements processed.
Error ERROR: Cannot insert configuration_key "PRODUCTS_OPTIONS_TYPE_SELECT" because it already exists
Error ERROR: Cannot insert configuration_key "UPLOAD_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "TEXT_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Warning Note: 4 statements ignored. See "upgrade_exceptions" table for additional details.

What I have to do? to fix this?
Anyway it seems that testimonial manager work correctly but I don't want that this error make some error in the shop...
thansk

29 Jan 2010, 4:06 PM
#994
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

Psygnosis:

Hi to all, I have zen car 1.3.8 and when I install testimonial manager 1.5.0's sql patch via admin panel I have this error

What I have to do? to fix this?
Anyway it seems that testimonial manager work correctly but I don't want that this error make some error in the shop...
thansk

Not to worry, the error simply means that the information was already in the database.

It will have no effect on the shop.

30 Jan 2010, 2:54 PM
#995
psygnosis avatar

psygnosis

New Zenner

Join Date:
Nov 2009
Posts:
19
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

really thanks

6 Feb 2010, 5:44 AM
#996
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hello,

Installed this mod and everything seems to work fine! Awesome module!
Just wondering, is it possible to get the testimonial sidebox to look like our "Information Burst" sidebox (www.playnippon.com)? We would like to show 10 testimonial but would like to have a scroll bar and a background color.

Thanks

6 Feb 2010, 6:18 AM
#997
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

Berserker:

Hello,

Installed this mod and everything seems to work fine! Awesome module!
Just wondering, is it possible to get the testimonial sidebox to look like our "Information Burst" sidebox (www.playnippon.com)? We would like to show 10 testimonial but would like to have a scroll bar and a background color.

Thanks

I'm not sure how you set up that sidebox but you should be able to set up the testimonial sidebox the same way.

8 Feb 2010, 6:29 PM
#998
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Testimonial Manager Support Thread

Hello, thank you for this mod, is really working great on both my new websites, but I have a problem trying to install the captcha.

I can't access the fix for the captcha that is referenced in this post http://www.zen-cart.com/forum/showpost.php?p=669562&postcount=807

Would it be possible to post it on the forum so everyone could benefit from it?

Thanks!

8 Feb 2010, 6:57 PM
#999
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

mvstudio:

Hello, thank you for this mod, is really working great on both my new websites, but I have a problem trying to install the captcha.

I can't access the fix for the captcha that is referenced in this post http://www.zen-cart.com/forum/showpost.php?p=669562&postcount=807

Would it be possible to post it on the forum so everyone could benefit from it?

Thanks!

as requested:

Attachment #7033

8 Feb 2010, 7:37 PM
#1000
mvstudio avatar

mvstudio

Zen Follower

Join Date:
Apr 2008
Posts:
447
Plugin Contributions:
1

Re: Testimonial Manager Support Thread

WONDERFUL! Thank you!!!