Clyde;
Is the picture on the page tpl_testimonials_manager_default.php supposed to be a thumbnail or the full size picture?
Cheers!
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.
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
Learning the hard way -
Matryoshka Dolls
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;
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
Last edited by clydejones; 31 Dec 2009 at 02:32 AM.
Bookmarks