Re: Testimonial Manager 1.3.7
Clyde;
Is the picture on the page tpl_testimonials_manager_default.php supposed to be a thumbnail or the full size picture?
Cheers!
Re: Testimonial Manager 1.3.7
Quote:
Originally Posted by
Einstin
Clyde;
Is the picture on the page tpl_testimonials_manager_default.php supposed to be a thumbnail or the full size picture?
Cheers!
The way the code is now written it will show the full size image and the sidebox will show a thumnail image.
I'm revising the code for both tpl_testimonials_manager_default.php and tpl_testimonials_manager_all_testimonials_default.php so that an image will be displayed as a thumnail.
I'm also revising the code to take care of the "link" problem you described.
Re: Testimonial Manager 1.3.7
Quote:
Originally Posted by
clydejones
The way the code is now written it will show the full size image and the sidebox will show a thumnail image.
I'm revising the code for both tpl_testimonials_manager_default.php and tpl_testimonials_manager_all_testimonials_default.php so that an image will be displayed as a thumnail.
I'm also revising the code to take care of the "link" problem you described.
Let me know if you need it tested! You making it configurable or writing the changes static into the code for the image thumbs?
Re: Testimonial Manager 1.3.7
Clyde,
I upgraded to TM 1.4.6 and noticed some strange behaviour, no one seems to have encountered this.
In Admin -> Tools -> Testimonials Manager there are two panels: one with a list of testimonials on the left and the other one with Edit-Delete buttons on the right.
The strange thing is that when there are more than one page of testimonials and I go to the next page, the right panel disappears. Clicking any testimonials entry in this page takes me to the previous page with no right panel. If I then go to the next page again, it appears normally, i.e. with the right panel.
This does not seem to break anything, but adds a few extra clicks if entries other that those on the first page are to be edited. I there any simple for this?
Thanks so much for the mod,
Alex
Re: Testimonial Manager 1.3.7
Quote:
Originally Posted by
AlexT
Clyde,
I upgraded to TM 1.4.6 and noticed some strange behaviour, no one seems to have encountered this.
In Admin -> Tools -> Testimonials Manager there are two panels: one with a list of testimonials on the left and the other one with Edit-Delete buttons on the right.
The strange thing is that when there are more than one page of testimonials and I go to the next page, the right panel disappears. Clicking any testimonials entry in this page takes me to the previous page with no right panel. If I then go to the next page again, it appears normally, i.e. with the right panel.
This does not seem to break anything, but adds a few extra clicks if entries other that those on the first page are to be edited. I there any simple for this?
Thanks so much for the mod,
Alex
I'll check it out!
Re: Meta Tags in Testimonials
Any ideas how I can add meta tags to individual testimonial pages?
I can use the meta_tags.php file for
case 'testimonials_manager'
...but not
case 'testimonials_manager&testimonials_id=43'
Better yet, it would be great if meta tags could be generated automatically from the content of the comment. Nice dream...
Re: Testimonial Manager 1.3.7
Quote:
Originally Posted by
paul3648
Any ideas how I can add meta tags to individual testimonial pages?
I can use the meta_tags.php file for
case 'testimonials_manager'
...but not
case 'testimonials_manager&testimonials_id=43'
Better yet, it would be great if meta tags could be generated automatically from the content of the comment. Nice dream...
Open includes/modules/meta_tags.php
add the following code just above the // EZ-Pages: section:
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);
$testimonial_title = 'All Testimonials - ';
while (!$testimonials->EOF) {
$testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;
$testimonials->MoveNext();
} //EOF
define('META_TAG_TITLE', $testimonial_title . $testimonial_string_metatags);
define('META_TAG_DESCRIPTION', $testimonial_title . $testimonial_string_metatags);
define('META_TAG_KEYWORDS', $testimonial_title . $testimonial_string_metatags);
break;
case 'testimonials_manager':
$testimonial_title = 'Testimonial - ';
define('META_TAG_TITLE', $testimonial_title . $page_check->fields['testimonials_title']);
define('META_TAG_DESCRIPTION', $testimonial_title . $page_check->fields['testimonials_title']);
define('META_TAG_KEYWORDS', $testimonial_title . $page_check->fields['testimonials_title']);
break;
Re: Testimonial Manager 1.3.7
Quote:
Originally Posted by
clydejones
I'll check it out!
Quote:
Originally Posted by
AlexT
Clyde,
I upgraded to TM 1.4.6 and noticed some strange behaviour, no one seems to have encountered this.
In Admin -> Tools -> Testimonials Manager there are two panels: one with a list of testimonials on the left and the other one with Edit-Delete buttons on the right.
The strange thing is that when there are more than one page of testimonials and I go to the next page, the right panel disappears. Clicking any testimonials entry in this page takes me to the previous page with no right panel. If I then go to the next page again, it appears normally, i.e. with the right panel.
This does not seem to break anything, but adds a few extra clicks if entries other that those on the first page are to be edited. I there any simple for this?
Thanks so much for the mod,
Alex
Not sure what might cause this. I've checked on 4 different sites and couldn't reproduce the behavior.
Try uploading the attached to your admin folder and see if that makes a difference.
Attachment 4004
Re: Testimonial Manager 1.3.7
Thank you Clyde - that works great!
Quote:
Originally Posted by
clydejones
Open includes/modules/meta_tags.php
add the following code just above the // EZ-Pages: section:
Re: Testimonial Manager 1.3.7
Quote:
Originally Posted by
clydejones
Not sure what might cause this. I've checked on 4 different sites and couldn't reproduce the behavior.
Try uploading the attached to your admin folder and see if that makes a difference.
Attachment 4004
No, it doesn't, but thanks anyway. Perhaps, if others do not see this, then it is not worth putting more effort in, the issue is minor. Besides, it is not that often when someone has to edit entries on the pages other than the first one.
Cheers,
Alex