Forums / All Other Contributions/Addons / Testimonial Manager Support Thread

Testimonial Manager Support Thread

Started by clydejones on 11 Jan 2007, 10:12 PM · Views: 278,958

Results 21 to 40 of 1,502
23 Jan 2007, 4:26 AM
#21
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Testimonial Manager Support Thread

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

23 Jan 2007, 4:45 AM
#22
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

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>

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

23 Jan 2007, 5:12 PM
#23
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

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.

23 Jan 2007, 6:34 PM
#24
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

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

Thanks

23 Jan 2007, 8:11 PM
#25
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

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

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

23 Jan 2007, 11:27 PM
#26
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

Here's some CSS styling for the sidebox

.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

  $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>';
 }

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

25 Jan 2007, 3:43 AM
#27
ngr avatar

ngr

New Zenner

Join Date:
Dec 2006
Posts:
23
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Hello, how can i separate with a fine line the testimonials in the sidebox?
is there a way to make the field "testimonial title " not as required??

thanks!

25 Jan 2007, 5:26 AM
#28
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

For the first part of your question:

Open your includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php

and replace the current code with the following:

  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
  for ($i=1; $i<=sizeof($page_query_list); $i++) {
  $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></p></div><br />';
	$content .= '<hr id="catBoxDivider" />';
  }
  }
  if (DISPLAY_ALL_TESTIMONIALS_TESTIMONIALS_MANAGER_LINK == 'true') {
  $content .= '<p><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER_ALL) . '">' . TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS . '</a></p>';
 }
$content .= '</div>';

For the second part; yes its possible but would require modifying several files.

I'll work on it and make a version update as soon as I can manage.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Jan 2007, 5:55 PM
#29
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Awesome mod! Question, How come on the testimonials read page, the quote marks don't show up in IE? Also, only the beginning quote marks show in FireFox. Shouldn't there be end quote marks? Thanks for the help!

30 Jan 2007, 6:47 PM
#30
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

They should show up. If they don't use the image from the attached file.

upload it to includes/templates/YOUR_TEMPLATE/images

in the testimonials_manager_all_testimonials.css

find the following declaration:

blockquote{background:url("../images/blockquote.png")0 0 no-repeat;border:1px solid navy;padding:10px 5px 0;}

change the .png extension to .gif

save and upload the file to your server.

The single quote is correct. It was a deliberate choice based on some research into "pull quotes" and "blockquote" styling.[Attachment no longer available]

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Jan 2007, 8:08 PM
#31
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Thanks for the awesome reply! One more thing, is an email suppposed to be sent to people after they submit a testimonial? If so, mine dosen't seem to be working.

31 Jan 2007, 12:43 AM
#32
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

I tried what you suggested about the quote mark thing not showing in Internet Explorer, and it still didn't work. I also checked your site and saw that the image dosen't show on your page as well in IE.

31 Jan 2007, 6:56 AM
#33
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

immersive:

Thanks for the awesome reply! One more thing, is an email suppposed to be sent to people after they submit a testimonial? If so, mine dosen't seem to be working.

You should be getting the "shop owner" confirmation e-mail.

immersive:

I tried what you suggested about the quote mark thing not showing in Internet Explorer, and it still didn't work. I also checked your site and saw that the image dosen't show on your page as well in IE.

I did some research and came up with a solution (why it works I have no idea)

Open both testimonials_manager_all_testimonials.css and testimonials_manager.css

replace the entire blockquote declaration with the following:

blockquote {
margin:0 !important;
padding:0 !important;
background: url(../images/blockquote.png) top left no-repeat;
border:1px solid navy;
height:1%;
}

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Feb 2007, 5:01 AM
#34
immersive avatar

immersive

New Zenner

Join Date:
Oct 2006
Location:
Alaska
Posts:
48
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Thank you so much for your hard work in this great mod! That seems to do the trick :-)

6 Feb 2007, 8:42 AM
#35
pablosan avatar

pablosan

Zen Follower

Join Date:
Jan 2007
Location:
Bellingham, Wa
Posts:
171
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Installed fine. Made a test submission, got this in the mail> A new testimonial was submitted at HaskellGraphics. It is not yet approved.

Please verify thie testimonial and activate.Now how do I verify and activate it so it appears?

I looked in the manager in admin panel. What am I missing?

6 Feb 2007, 10:43 AM
#36
pablosan avatar

pablosan

Zen Follower

Join Date:
Jan 2007
Location:
Bellingham, Wa
Posts:
171
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

I forgot the entire admin folder.....Sorry. Great contribution BTW. One other problem though. The e-mails are hidden on all testimonal page even though they are set to show in admin. On the single testimony page the email is shown as it should be?? Thanks.http://www.estore.haskellgraphics.com/index.php?main_page=testimonials_manager_all_testimonials

6 Feb 2007, 3:24 PM
#37
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

Hiding the e-mails was a deliberate choice on my part. I did it mainly to cut down on spam bots that look for e-mail address.

I think I may have overlooked that line of code in the individual lisiting page.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

14 Feb 2007, 6:11 PM
#38
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

Clyde, you are officially the King of the sidebox modules! :P
Having just installed your Links Manager, I'm now thinking of adding this great mod. However, I'm running 1.3.6 - Do you know if Testimonials will work?

Thanks - Tim

14 Feb 2007, 8:50 PM
#39
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Testimonial Manager Support Thread

Tim,

Yep, yep, yep. It'll work with 1.3.6.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

20 Feb 2007, 1:32 AM
#40
sunabac avatar

sunabac

Zen Follower

Join Date:
Dec 2006
Location:
Summer:Ontaio, Winter:Texas
Posts:
211
Plugin Contributions:
0

Re: Testimonial Manager Support Thread

clydejones:

Hiding the e-mails was a deliberate choice on my part. I did it mainly to cut down on spam bots that look for e-mail address.

I think I may have overlooked that line of code in the individual lisiting page.

O.K., where do I look to also remove it from that one page??Tx