customizing Testimonials header

Hi, I can’t find where to customize the header (sidebox title) for the Testimonials. It doesn’t seem to have a sidebox of it’s own. I have my own custom images for the sidebox headers & want to use the same for Testimonials.



Also, how can I make the testimonials sidebox appear on all pages?

Hello!


[quote name=‘Brennie369’]Hi, I can’t find where to customize the header (sidebox title) for the Testimonials. It doesn’t seem to have a sidebox of it’s own. I have my own custom images for the sidebox headers & want to use the same for Testimonials.



This is the homepage, with the testimonials box appearing on the lower left:

[URL=“http://www.dreamsoy.com/”]dreamsoy.com

[/QUOTE]



The sidebox for the Testimonials is the “/skins/[YOUR_SKIN]/customer/addons/discussion/discussion_small.tpl” file.




[QUOTE]Also, how can I make the testimonials sidebox appear on all pages?[/QUOTE]



In this case I advise you to replace the following part of code:



{if $settings.Addons.discussion == 'Y' && $content == ''}
{include file="addons/discussion/discussion_small.tpl" object_type="E" object_id="" title=$lang.discussion_title_home_page limit=$settings.Addons.discussion_opts.home_page_brief_number}
{/if}




with this one:



{if $settings.Addons.discussion == 'Y'}
{include file="addons/discussion/discussion_small.tpl" object_type="E" object_id="" title=$lang.discussion_title_home_page limit=$settings.Addons.discussion_opts.home_page_brief_number}
{/if}




in the “/skins/[YOUR_SKIN]/customer/main.tpl” file.

Hi, thanks! For the discussion_small.tpl file, which part do I change? It’s not the same as the other sidebox files.



Thanks,

Brenda

What do you want to change, is it the tittle or something else.



If it’s the tittle you edit this line.


{include file="common_templates/`$box_type`box.tpl" [COLOR=Red]title=$title[/COLOR] content=$smarty.capture.box anchor="discussion"}



to title=[COLOR=Red]$lang.your_tittle_name[/COLOR]

Edit: I figured it out. However the title box is larger (in height) than the other sidebox titles. Any idea why and how to fix it?



EDIT: Also when you click the “more” link in the testimonial, ALL of the headers are taller than before… ?



Thanks!



~B

Which skin are you using

It’s default_magenta



And this is how I changed that line:



{include file=“common_templates/$box_typebox.tpl” content=$smarty.capture.box icon=“sidebox_icon_testim.gif”}

Well I don’t see a problem with the different hieght, they look good to me, the common_template\sidebox.tpl controls the width and hieght of icon, as you are using.


icon="sidebox_icon_testim.gif"



Make sure the size is equal to the size of the gif you are using.

You don’t see the change in height from the home page to the testimonials page? I wonder if it’s on my end only…



The dimensions are set correct in the common_templates/sidebox.tpl file.



ADDITION: Do you think it could be the parts in red, because they differ from the regular sidebox files:



Line in discussion_small.tpl:

{include file=“common_templates/[COLOR=“Red”]$box_typebox[/COLOR].tpl” content=$smarty.capture.[COLOR=“red”]box[/COLOR] icon=“sidebox_icon_testim.gif”}



Line in regular sidebox .tpl’s:

{include file=“common_templates/[COLOR=“red”]sidebox[/COLOR].tpl” content=$smarty.capture.[COLOR=“red”]sidebox[/COLOR] icon=“sidebox_icon_auth.gif”}



EDIT: That can’t be it because I changed the two red items to both reflect “sidebox” & what it did was duplicate the info box’s contents into the discussion box! I’m confused.

I honestly see know problem, it looks fine to me, if others can take a look, maybe they might see something.

The box for Testimonial is twice the height of the other title boxes from my point of view.

I am not to sure what you mean by twice the hieght of other boxes, I must be missing something. :wink:

box.JPG

SO WIERD! On your image, Zardoz, it looks normal, so I went to take a screenshot on my end & it’s all normal now! In two different browsers. I don’t get it!



But anyway, now that’s resolved itself, I have ONE more issue :smiley:



If you look at the Testimonials header, right below it, sort of hovering on top of the words “Author: Cindy & Amy”, it still shows the word “Testimonials” in white. I can’t for the life of me remember how I removed that from the other sidebox headers!



Hope you or someone can help? :cool:



Thanks,

Brenda

Not positive, but I would just ‘remove’ the language variable.



Home—> Languages



Search for

discussion_title_home_page



Testimonials is in the variable box.



maybe?

I thot about that but was wondering if there are other circumstances that use that same language variable? I’ll try it & see how it goes.



EDIT: Ok I tried that & while I removed what I wanted it to remove, it also removed “testimonials” from the breadcrumb links.

yep…i saw that while you were doing it

sorry…i am still on 1.3.4 sp3 and was just guessing.

[QUOTE]sort of hovering on top of the words “Author: Cindy & Amy”, it still shows the word “Testimonials” in white[/QUOTE]



I’ve bucked an eye test, because I cannot see that either. :confused:

haahaa - that’s funny!



The text is white so it’s hard to see, but if you move your mouse over the area & click & drag to select, you’ll see it. Right now it just looks like the words “Author: Cindy & Amy” is jagged or something.

Hi Brennie369, ok found it for you, in your main.tpl edit this code:


{if $settings.Addons.discussion == 'Y' && $content == ''}
{include file="addons/discussion/discussion_small.tpl" object_type="E" object_id="" [COLOR=Red]title=$lang.discussion_title_home_page[/COLOR] limit=$settings.Addons.discussion_opts.home_page_brief_number}
{/if}
{**[/ADDONS_DATA]**}




Just delete this code in red.

[quote name=‘zardos’]Hi Brennie369, ok found it for you, in your main.tpl edit this code:[/QUOTE]



Beautiful - that did it, thanks! :smiley: