URL so I can take a look!
URL so I can take a look!
Finally got it working correctly...now I'm trying to get the style sheet set to show the box as the others are shown - as with yours... right now I have a box around the clickable title and nothing around the box with the truncated text... The border should encompass the entire side box... so I'm playing with that now...
URL - lorindascandlesandmore.com
Thanks
Try something like this: I took the following from the view source of your site.
<div id="testimonials-managerContent" class="sideBoxContent"><b><a href="http://www.lorindascandlesandmore.com/index.php?main_page=testimonials_manager&testimonials_id=2">Wonderful Candles</a></b></div><div class="testimonial"><p>I just love Lorinda's Candles. They just never seem to lose their scent and they burn so clean. My favorite is Satin Sheets and Fresh Lilac. I won't...<br /><span><strong><a href="http://www.lorindascandlesandmore.com/index.php?main_page=testimonials_manager&testimonials_id=2">Read More -></a></strong></span><img src="includes/templates/template_default/images/OTHER_IMAGE_SILVER_SEPARATOR" alt="" width="100%" height="1" /><br /><a href="http://www.lorindascandlesandmore.com/index.php?main_page=testimonials_manager_all_testimonials">View All Testimonials</a></p></div></div>
You closed one div too soon(I think) - So try this:
<div id="testimonials-managerContent" class="sideBoxContent"><div class="testimonial"><b><a href="http://www.lorindascandlesandmore.com/index.php?main_page=testimonials_manager&testimonials_id=2">Wonderful Candles</a></b><p>I just love Lorinda's Candles. They just never seem to lose their scent and they burn so clean. My favorite is Satin Sheets and Fresh Lilac. I won't...<br /><span><strong><a href="http://www.lorindascandlesandmore.com/index.php?main_page=testimonials_manager&testimonials_id=2">Read More -></a></strong></span><img src="includes/templates/template_default/images/OTHER_IMAGE_SILVER_SEPARATOR" alt="" width="100%" height="1" /><br /><a href="http://www.lorindascandlesandmore.com/index.php?main_page=testimonials_manager_all_testimonials">View All Testimonials</a></p></div></div>
That is what I was looking at... here's the part I don't get... I've not edited your tpl's at all - I've just been looking at them trying to figure out where that code is coming from. I use FF, so when I view the ID's and the classes - nothing appears for the text and the "read more" for either an ID or class. Trying to figure out where the info was being pulled from, I even removed each style sheet one at a time. Did not effect the side box. I've gone into the style sheet and tried to use #testimonial-manager .sideBoxContainer and sideBoxContent to draw the border -
no joy.
You are correct there is an extra <div>, but where is it being pulled from?
I looked at the modules/sideboxes/testimonial-manager.php -
There is the following code: $title = BOX_HEADING_TESTIMONIALS_MANAGER;
$box_id = testimonials_manager;
I tried using that box id to create a new style... nothing... but in that file I don't see the extra <div> My tpl_index_default is standard and so is my tpl_main_page as I've created the entire look of the site via css - so I'm just really confused, as it's not a <div> I've created.
Thanks for looking at this for me.
Found it... finally...LOL...it was right in front of me in the tpl for the side box.... I just kept overlooking it...
Thanks
I'll look at that file and see check to make sure it conforms to other sidebox code.
Here's some CSS styling for the sidebox
and here's the modified code for sidebox/tpl_testimonials_manager.phpCode:.testimonial { padding: 0 5px 5px 5px; text-align:left; } .testimonial p { margin: 0; padding: 0; } .testimonial span { float:right; }
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>';
}
Version 1.3.8
I've used your Testimonial manager for another site I created with no problems. Thanks.
I'm attempting to create a new site by copying my previous site, and everything else about the new site is working fine, except for the Testimonial manager. It appears that none of the 'define' variables can be found and the variable names themselves show up on the page, for instance: TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS shows up instead of the words "View all Testimonials".
On my new site, I renamed all of the template folders to a new name, including those related to the testimonial manager. I don't understand why the define pages can not be found. For example, there is a file called tpl_testimonials_manager.php. In it, there is a line that uses a defined constant: TESTIMONIALS_MANAGER_ADD_TESTIMONIALS. This page is located in inlcludes/templates/mytemplate/sideboxes. The defined constant is located in: includes/languages/english/extra_definitions/mytemplate/testimonials_manager_defines.php. It's as if it can't find any of the defined vars. Any ideas? Is there something that could get messed up during my site copy process that would make the testimonial manager scripts lose their defined vars? By the way, I tried uninstalling the entire testimonial add on, then reinstalling it. It still acts the same way. Suggestions? Thanks!!!
hi, i can't will my chinese code in the testimonials,, do u have any latest version to support UTF-8, i have code converter software but i dun know which files to effect this..