Results 1 to 10 of 1501

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Location
    Fountain Hills, AZ
    Posts
    515
    Plugin Contributions
    1

    Default Re: Testimonial Manager 1.3.7

    Found it... finally...LOL...it was right in front of me in the tpl for the side box.... I just kept overlooking it...

    Thanks

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

    Default Re: Testimonial Manager 1.3.7

    I'll look at that file and see check to make sure it conforms to other sidebox code.

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

    Default Re: Testimonial Manager 1.3.7

    Here's some CSS styling for the sidebox

    Code:
    .testimonial {
    padding: 0 5px 5px 5px;
    	text-align:left;
    }
    .testimonial p {
    	margin: 0; padding: 0;
    }
    .testimonial span {
    	float:right;
    }
    and here's the modified code for sidebox/tpl_testimonials_manager.php

    PHP Code:
      $content '';
      for (
    $i=1$i<=sizeof($page_query_list); $i++) {
      
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent">';
      
    $content .= '<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">';
      if (
    DISPLAY_TESTIMONIALS_MANAGER_TRUNCATED_TEXT == 'true') {
        
    $content .= '<p>' zen_trunc_string($page_query_list[$i]['story'],TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH) . '<br /><span><strong><a href="' zen_href_link(FILENAME_TESTIMONIALS_MANAGER'testimonials_id=' $page_query_list[$i]['id']) . '">Read More -></a></strong></span>';
        
    $content .= zen_draw_separator(DIR_WS_TEMPLATE_IMAGES OTHER_IMAGE_SILVER_SEPARATOR'100%''1');
      }
      }
      if (
    DISPLAY_ALL_TESTIMONIALS_TESTIMONIALS_MANAGER_LINK == 'true') {
      
    $content .= '<br /><a href="' zen_href_link(FILENAME_TESTIMONIALS_MANAGER_ALL) . '">' TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS '</a></p></div></div>';
     } 

 

 

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