CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: adding link to headings of infobox
PostPosted: Tue Oct 11, 2011 5:55 am 
Offline
CRE Freak
User avatar

Joined: Sat Dec 13, 2008 1:16 am
Posts: 44
Hi, ive been searching this forum but cant find the answer.
How do i put a link on the headings of the infoboxes?
Ive found a way to use it on 6.2 but when i use that in my 6.4 template it links ok, but doesnt see the right fonts.
Here is the part of text im talking about:
//--></script>
<?php
$info_box_contents = array();
$info_box_contents[] = array('text' => '<font color="' . $font_color . '"><a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . BOX_HEADING_SHOPPING_CART . '</font></a>');

So it does link but doesnt see font...
Any suggestions?
:roll:


Top
 Profile  
 
 Post subject: Re: adding link to headings of infobox
PostPosted: Tue Oct 11, 2011 8:59 am 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 352
Got a link to your site?

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: adding link to headings of infobox
PostPosted: Tue Oct 11, 2011 6:20 pm 
Offline
CRE Freak
User avatar

Joined: Sat Dec 13, 2008 1:16 am
Posts: 44
hi, the site i want to use is www.sempresexy.com/test64catalog
Thanks
Angelina :roll:


Top
 Profile  
 
 Post subject: Re: adding link to headings of infobox
PostPosted: Wed Oct 12, 2011 6:57 am 
Offline
CRE Freak
User avatar

Joined: Sat Dec 13, 2008 1:16 am
Posts: 44
Anyone??? :?


Top
 Profile  
 
 Post subject: Re: adding link to headings of infobox
PostPosted: Wed Oct 12, 2011 7:59 am 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 352
This is what should be displayed within your shopping_cart.php file found in your boxes folder

Code:
    $info_box_contents = array();
    $info_box_contents[] = array('text'  => '<font color="' . $font_color . '">' . BOX_HEADING_SHOPPING_CART . '</font>');
   
    new $infobox_template_heading($info_box_contents, tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'), ((isset($column_location) && $column_location !='') ? $column_location : '') );


Replace it with:
Code:
    $info_box_contents = array();
    $info_box_contents[] = array('text'  => '<a class="cart_nav" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . BOX_HEADING_SHOPPING_CART . '</a>');
   
    new $infobox_template_heading($info_box_contents, tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'), ((isset($column_location) && $column_location !='') ? $column_location : '') );


Then add the following into your stylesheet found in templates/2051_bdsm/

Code:
a.cart_nav {
   font-weight:bold;
   font-size:12px;
   color:#FFFFFF;
   padding:4px;
   text-decoration:  none;
}


That should do it for you..

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: adding link to headings of infobox
PostPosted: Thu Oct 13, 2011 8:00 am 
Offline
CRE Freak
User avatar

Joined: Sat Dec 13, 2008 1:16 am
Posts: 44
Amazing!! Thank you soo much!
:lol:


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

Board index » Loaded Commerce Support » Install & Config

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Thu May 17, 2012 10:21 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy