Forums / Basic Configuration / sidebox header change font & disable link

sidebox header change font & disable link

Locked

Started by jharradine on 15 Apr 2010, 2:08 AM · Views: 1,866

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
15 Apr 2010, 2:08 AM
#1
jharradine avatar

jharradine

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

sidebox header change font & disable link

hi guys,

I just noticed how my Information Box header has a different font face from the other sideboxes and as well the header as a link.

i can't seem to be able to disable the link. and whilst i'm at it id like the font matching the other boxes.

Ive had a good look around files and the forums, not least includes\modules\sideboxes\template\information.php and around line 126 it shows:

$title = BOX_HEADING_INFORMATION;
$title_link = false;

It seems odd there is a link in the first place, I never added it.

http://mymultitools.co.uk/

thanks

Joe

<a href="http://mymultitools.co.uk">My Multi Tools</a>

15 Apr 2010, 2:28 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: sidebox header change font & disable link

That is very strange. The link reads as inside the information heading in Web Developer, but is clearly part of the preceding sidebox in the HTML source (as well as logically, since the preceding sidebox is gift certificates and the link takes you to that page).

15 Apr 2010, 2:43 AM
#3
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: sidebox header change font & disable link

Hi,

Looks like you've forgotten a closing "</p>" tag. See below:

*

<!--// bof: blank1sidebox //-->
<div class="leftBoxContainer" id="blank1sidebox" style="width: 170px">
    <div class="sidebox-header-left ">
        <h3 class="leftBoxHeading " id="blank1sideboxHeading">Gift Certificates</h3>
    </div>
    <div id="blank1sideboxContent" class="sideBoxContent">
        <p></p>
        <p>
        <p align="center">
            ...
        </p>
    </div>
</div>
<!--// eof: blank1sidebox //-->
<!--// bof: information //-->
<div class="leftBoxContainer" id="information" style="width: 170px">
    <div class="sidebox-header-left ">
        <h3 class="leftBoxHeading " id="informationHeading">Information</h3>
    </div>
    <div id="informationContent" class="sideBoxContent">
        <ul style="margin: 0; padding: 0; list-style-type: none;">
            ...
        </ul>
    </div>
</div>
<!--// eof: information //-->

*

hope his helps!

15 Apr 2010, 2:45 AM
#4
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: sidebox header change font & disable link

bugger, sorry about that! forgot to highlight the offending lines....

*<!--// bof: blank1sidebox //-->

<div class="leftBoxContainer" id="blank1sidebox" style="width: 170px"> <div class="sidebox-header-left "> <h3 class="leftBoxHeading " id="blank1sideboxHeading">Gift Certificates</h3> </div> <div id="blank1sideboxContent" class="sideBoxContent"> <p></p> <p> <p align="center"> ... </p> </div> </div> <!--// eof: blank1sidebox //--> <!--// bof: information //--> <div class="leftBoxContainer" id="information" style="width: 170px"> <div class="sidebox-header-left "> <h3 class="leftBoxHeading " id="informationHeading">Information</h3> </div> <div id="informationContent" class="sideBoxContent"> <ul style="margin: 0; padding: 0; list-style-type: none;"> ... </ul> </div> </div> <!--// eof: information //-->*
15 Apr 2010, 3:05 AM
#5
jharradine avatar

jharradine

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: sidebox header change font & disable link

ALiepinieks:

bugger, sorry about that! forgot to highlight the offending lines....

*<!--// bof: blank1sidebox //-->

<div class="leftBoxContainer" id="blank1sidebox" style="width: 170px"> <div class="sidebox-header-left "> <h3 class="leftBoxHeading " id="blank1sideboxHeading">Gift Certificates</h3> </div> <div id="blank1sideboxContent" class="sideBoxContent"> <p></p> <p> <p align="center"> ... </p> </div> </div> <!--// eof: blank1sidebox //--> <!--// bof: information //--> <div class="leftBoxContainer" id="information" style="width: 170px"> <div class="sidebox-header-left "> <h3 class="leftBoxHeading " id="informationHeading">Information</h3> </div> <div id="informationContent" class="sideBoxContent"> <ul style="margin: 0; padding: 0; list-style-type: none;"> ... </ul> </div> </div> <!--// eof: information //-->*

great thanks, i'm sure it will work. but could you please tell me the file name. clearly demonstrating and justifying my newbie status!

thank-you!

joe

<a href="http://mymultitools.co.uk">My Multi Tools</a>

15 Apr 2010, 3:18 AM
#6
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: sidebox header change font & disable link

funny that, i simply assumed there was a gift certificate sidebox in a standard ZC install. learn something new everyday!

anyway, unless i'm mistaken (very possible), it looks like you've either added a mod that facilitates this, or modified an existing sidebox to point to a specific category, which in this case happens to be your GV category. so to be honest, i'm not 100% sure which file would be in use, but i can say it would be under the following folder (most likely)...

includes/templates/YOUR_TEMPLATE/sideboxes/

...as an aside, the sidebox's name (not on display quite obviously) seems to be "blank1" after looking at the classnames in use. you could always do a search in the developers toolkit (admin backend) for this string and see which files pop up. may give you a hint in the right direction.

good luck!

15 Apr 2010, 4:03 AM
#7
jharradine avatar

jharradine

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: sidebox header change font & disable link

ALiepinieks:

funny that, i simply assumed there was a gift certificate sidebox in a standard ZC install. learn something new everyday!

anyway, unless i'm mistaken (very possible), it looks like you've either added a mod that facilitates this, or modified an existing sidebox to point to a specific category, which in this case happens to be your GV category. so to be honest, i'm not 100% sure which file would be in use, but i can say it would be under the following folder (most likely)...

includes/templates/YOUR_TEMPLATE/sideboxes/

...as an aside, the sidebox's name (not on display quite obviously) seems to be "blank1" after looking at the classnames in use. you could always do a search in the developers toolkit (admin backend) for this string and see which files pop up. may give you a hint in the right direction.

good luck!

Thanks for your help, fixed it. it was the added sidebox above ie. gift certifcates. i'd missed the '</a>' for linking the image to the gift cert page.

thanks for your help!!!

Joe

<a href="http://mymultitools.co.uk">My Multi Tools</a>