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

Testimonial Manager Support Thread

Views: 278,022

Results 881 to 900 of 1,502
7 Jun 2009, 8:29 AM
#881
shoesbuyonline avatar

shoesbuyonline

New Zenner

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

Testimonial Manager Support Thread

clydejones:

Check here for information on how to implement this:

Hi, clydejones

Your add-on is good and your services are better! :smile: I do have the same puzzle as lextechs. Why not just including the link in your help file? :P

All the best,

7 Jun 2009, 4:31 PM
#882
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

ShoesBuyOnline:

Hi, clydejones

Your add-on is good and your services are better! :smile: I do have the same puzzle as lextechs. Why not just including the link in your help file? :P

All the best,

It is included in the install_testimonials_manager.txt file.

scroll to the bottom of the page

8 Jun 2009, 12:36 AM
#883
shoesbuyonline avatar

shoesbuyonline

New Zenner

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

Re: Testimonial Manager Support Thread

clydejones:

You'd need to use the Zen Cart built-in review system to do this.

Hi, clyde

Might I understand in this way: built-in reviews are on product-level while yours testimonial manager on site-level. :smile:

Thanks again for the nice add-on,

8 Jun 2009, 2:07 AM
#884
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

ShoesBuyOnline:

Hi, clyde

Might I understand in this way: built-in reviews are on product-level while yours testimonial manager on site-level. :smile:

Thanks again for the nice add-on,

That is correct.

25 Jun 2009, 3:18 PM
#885
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

thanks for your mod. This is not a major issue, but when i add in the code into meta_tags.php file I get this error on my site

Parse error: syntax error, unexpected T_CASE in /home/public_html/store/includes/languages/english/meta_tags.php on line 56

any thoughts on this or how to fix it, I removed the code for now

the file I edited was in /includes/languages/english/meta_tags.php

thanks!

John

25 Jun 2009, 5:47 PM
#886
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

ethical:

thanks for your mod. This is not a major issue, but when i add in the code into meta_tags.php file I get this error on my site

Parse error: syntax error, unexpected T_CASE in /home/public_html/store/includes/languages/english/meta_tags.php on line 56

any thoughts on this or how to fix it, I removed the code for now

the file I edited was in /includes/languages/english/meta_tags.php

thanks!

John

Can you post the section of meta_tags.php that you edited.

25 Jun 2009, 6:09 PM
#887
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

thanks for the reply, I put it after this

// favicon setting
// There is usually NO need to enable this unless you wish to specify a path and/or a different filename
 define('FAVICON','favicon.ico');

and before the close php tag:

?>

and this is what i pasted:

//TESTIMONIALS:
case 'testimonials_manager_all_testimonials':

$sql = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
$testimonials = $db->Execute($sql);
while (!$testimonials->EOF) {
  $testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;

	
$testimonials->MoveNext();
	
} //EOF
    define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
    define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
    define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
break;

case 'testimonials_manager':
    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']);
break;

I didn't remove anything. Thanks for your help!

John

25 Jun 2009, 8:06 PM
#888
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

ethical:

thanks for the reply, I put it after this

// favicon setting
// There is usually NO need to enable this unless you wish to specify a path and/or a different filename
define('FAVICON','favicon.ico');

> 
> and before the close php tag:
> 
> ```
?>

and this is what i pasted:

//TESTIMONIALS:
case 'testimonials_manager_all_testimonials':

$sql = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
$testimonials = $db->Execute($sql);
while (!$testimonials->EOF) {
$testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;

$testimonials->MoveNext();

} //EOF
define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
break;

case 'testimonials_manager':
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']);
break;

> 
> I didn't remove anything. Thanks for your help!
> 
> John

You put it in the wrong file;

open **includes/modules/meta_tags.php**

find the following line of code

// EZ-Pages:

Put the code just above this line.

save the file to includes/modules/YOUR_TEMPLATE/meta_tags.php

Don't forget to delete the code from includes/languages/english/meta_tags.php
26 Jun 2009, 1:07 AM
#889
ethical avatar

ethical

New Zenner

Join Date:
Mar 2009
Posts:
57
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

thanks! perhaps might be a good idea to add that to the install doc, since there are 2 meta_tags.php files.

26 Jun 2009, 1:21 AM
#890
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

ethical:

thanks! perhaps might be a good idea to add that to the install doc, since there are 2 meta_tags.php files.

Will do

2 Jul 2009, 11:03 PM
#891
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hi Clyde Jones and thank you so much for this add-on. I'm using it to display 'facts' rather than testimonials. I got it installed and working, then began customizing and had no problems. I added all the facts from within the Admin>Tools>Testimonials Manager. After that, I began removing certain things like the title, the read more, etc and all was working well. Finally, I wanted to add images, so I went into the Admin>Tools>Testimonials Manager and received the following error:

Fatal error: Call to a member function get_template_dir() on a non-object in /home/enchant2/public_html/biad/admin/includes/languages/english/testimonials_manager.php on line 30

I did not make any changes at all in the admin files.

Thank you.

2 Jul 2009, 11:23 PM
#892
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

tamalita:

Hi Clyde Jones and thank you so much for this add-on. I'm using it to display 'facts' rather than testimonials. I got it installed and working, then began customizing and had no problems. I added all the facts from within the Admin>Tools>Testimonials Manager. After that, I began removing certain things like the title, the read more, etc and all was working well. Finally, I wanted to add images, so I went into the Admin>Tools>Testimonials Manager and received the following error:

Fatal error: Call to a member function get_template_dir() on a non-object in /home/enchant2/public_html/biad/admin/includes/languages/english/testimonials_manager.php on line 30

> 
> I did not make any changes at all in the admin files.
> 
> Thank you.


I'd need a url for your site

AND

the details of what file(s) you modified to do the following:

*After that, I began removing certain things like the title, the read more, etc*
3 Jul 2009, 12:00 AM
#893
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

The site (still under construction) is currently located at
http://biad.enchanted-graphics.com/

This is a new installation of the add on.

the files I changed were:
includes>templates>mine>sideboxes>tpl_testimonials_manager.php

on line 14 I removed the following code between the ''

<b><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' . $page_query_list[$i]['name'] . '</a></b><div class="testimonial">

on line 20 I removed the following code because I did not want "Read More>>"

<span><strong><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' .TESTIMONIALS_MANAGER_READ_MORE .'</a></strong></span>

on line 21, I removed everything, because I did not need the separator

$content .= '<hr class="catBoxDivider" />';

in includes>languages>english>extra_definitions>mine I changed testimonials_manager_defines.php:
lines 12, 13, 23 I changed the word Testimonials to Facts.

I believe that is all .... I will look through things more closely to see if anything was changed.

3 Jul 2009, 12:27 AM
#894
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

tamalita:

The site (still under construction) is currently located at
http://biad.enchanted-graphics.com/

This is a new installation of the add on.

the files I changed were:
includes>templates>mine>sideboxes>tpl_testimonials_manager.php

on line 14 I removed the following code between the ''

<b><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' . $page_query_list[$i]['name'] . '</a></b><div class="testimonial">

> 
> on line 20 I removed the following code because I did not want "Read More>>"
> ```
<span><strong><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' .TESTIMONIALS_MANAGER_READ_MORE .'</a></strong></span>

on line 21, I removed everything, because I did not need the separator

$content .= '<hr class="catBoxDivider" />';

> 
> in includes>languages>english>extra_definitions>mine I changed testimonials_manager_defines.php:
> lines 12, 13, 23 I changed the word Testimonials to Facts.
> 
> I believe that is all .... I will look through things more closely to see if anything was changed.

First: Try re-uploading ALL the **unmodified** testimonial manager files both admin and includes.

We can go back later and properly edit/modify the files to your needs.
3 Jul 2009, 3:54 PM
#895
tamalita avatar

tamalita

New Zenner

Join Date:
Jan 2006
Posts:
57
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Magic haha. I must have inadvertently changed something on one of those files. Now I no longer get that error! Thank you! That was a pretty simple fix!

3 Jul 2009, 5:38 PM
#896
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

tamalita:

Magic haha. I must have inadvertently changed something on one of those files. Now I no longer get that error! Thank you! That was a pretty simple fix!

glad it got sorted

16 Jul 2009, 7:42 AM
#897
rashuweb avatar

rashuweb

New Zenner

Join Date:
Jul 2009
Location:
india
Posts:
28
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Install testimonials-module; semm some thing missing, getting error please suggest me.


1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]

16 Jul 2009, 8:14 AM
#898
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

rashuweb:

Install testimonials-module; semm some thing missing, getting error please suggest me.


1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]

Did you follow the highlighted section from the installation instructions:

NEW INSTALLATION:

Unzip the contribution.

Open the New_installation folder

run the included install_testimonials_manager.sql using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)
For best results, copy-and-paste the code into the query field and press 'Send'.

Before uploading change the YOUR_TEMPLATE folders to match the name of your custom template.
includes/languages/english/extra_definitions/YOUR_TEMPLATE
includes/languages/english/YOUR_TEMPLATE
includes/languages/english/html_includes/YOUR_TEMPLATE
includes/modules/sideboxes/YOUR_TEMPLATE
includes/templates/YOUR_TEMPLATE

The files are arranged in the same structure as Zen Cart so you can FTP the admin, images and includes folders to your server.

Login in to your admin panel admin -> tools -> layout boxes contoller and activate the new sidebox.

16 Jul 2009, 8:41 AM
#899
rashuweb avatar

rashuweb

New Zenner

Join Date:
Jul 2009
Location:
india
Posts:
28
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

thanks clydejones!

YES! i do follow exactly as mention above;

in admin > tools > Testimonial Manager has created and in Tools>Layout Manager > sideboxes/classic/testimonials_manager.php has been created but at front end i can see an error on right layout as

1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]*

do i need to edit some thing in phpmyadmin? or need to do again.
please

16 Jul 2009, 2:20 PM
#900
clydejones avatar

clydejones

Deceased

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

Re: Testimonial Manager Support Thread

rashuweb:

thanks clydejones!

YES! i do follow exactly as mention above;

in admin > tools > Testimonial Manager has created and in Tools>Layout Manager > sideboxes/classic/testimonials_manager.php has been created but at front end i can see an error on right layout as

1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]*

do i need to edit some thing in phpmyadmin? or need to do again.
please

I'd uninstall it first and then reinstall