Results 1 to 10 of 1501

Hybrid View

  1. #1
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

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

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by paul3648 View Post
    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;

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    I'll check it out!
    Quote Originally Posted by AlexT View Post
    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
    Last edited by clydejones; 31 Dec 2009 at 02:32 AM.

  4. #4
    Join Date
    May 2007
    Location
    Perth, Australia
    Posts
    54
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    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
    Learning the hard way -
    Matryoshka Dolls

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by paul3648 View Post
    Thank you Clyde - that works great!
    Glad to help!

  6. #6
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Testimonial Manager 1.3.7

    Ok. For awhile I couldn't get images to load - fixed that by adding the testimonials folder to the /images folder. whew!

    However; the author's url is not "clickable". Is that the link you are working on.

    PS Have I mentioned how awesome this mod is????

  7. #7
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: Testimonial Manager 1.3.7

    addendum to last post by me! Images are linked to author's url. DOY! What more could I ask????

    Forgive me????

  8. #8
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Thank you Clyde - that works great!

    Quote Originally Posted by clydejones View Post
    Open includes/modules/meta_tags.php

    add the following code just above the // EZ-Pages: section:

 

 

Similar Threads

  1. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 262
    Last Post: 26 Jun 2025, 10:42 AM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  3. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg