Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
clydejones
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,
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
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
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
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,
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
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.
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
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
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.
Re: Testimonial Manager Support Thread
thanks for the reply, I put it after this
Code:
// 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:
Code:
//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
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
ethical
thanks for the reply, I put it after this
Code:
// 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:
Code:
//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
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.
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
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