Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to add links in footer?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 08-26-2009, 06:39 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add links in footer?

your welcome.
__________________
xcart 5.1.2
Reply With Quote
  #12  
Old 08-28-2009, 07:17 AM
 
dwpers dwpers is offline
 

Senior Member
  
Join Date: Aug 2009
Location: Washington D.C.
Posts: 136
 

Default Re: How to add links in footer?

Ok, I tried to do the same thing, when adding to bottom.tpl it only affects the admin. I added a link to copyright.tpl and it removes the text that the { smarty } tags generate for the copyright text and only displays the link. However like mentioned above its not clickable (I'm assuming the z-index fix will work here), but how do I get my copyright notice back as well?

I'm not replacing, deleting or commenting out, just insert a link above it and having <br/> to separate the lines.

Any ideas?
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #13  
Old 08-28-2009, 07:23 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add links in footer?

post the code please. and url.
__________________
xcart 5.1.2
Reply With Quote
  #14  
Old 08-28-2009, 07:26 AM
 
dwpers dwpers is offline
 

Senior Member
  
Join Date: Aug 2009
Location: Washington D.C.
Posts: 136
 

Default Re: How to add links in footer?

I decided to not edit bottom.tpl as it only changes the Admin footer it seems.

This is my copyright.tpl.

Code:
{* $Id: copyright.tpl,v 1.14 2008/08/21 09:52:40 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} <a href="">blah test link</a><br/> {$lng.lbl_copyright} ╘ {$config.Company.start_year}{if $config.Company.start_year lt $config.Company.end_year}-{$smarty.now|date_format:"%Y"}{/if} {$config.Company.company_name}

URL in a PM
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #15  
Old 08-28-2009, 07:41 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add links in footer?

are you editing skin1/bottom.tpl or skin1/customer/bottom.tpl
__________________
xcart 5.1.2
Reply With Quote
  #16  
Old 08-28-2009, 07:43 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add links in footer?

I think you should change the height of the bottom box, you also might need to change the bottom margin of center-main I think.
__________________
xcart 5.1.2
Reply With Quote
  #17  
Old 08-28-2009, 07:47 AM
 
dwpers dwpers is offline
 

Senior Member
  
Join Date: Aug 2009
Location: Washington D.C.
Posts: 136
 

Default Re: How to add links in footer?

No, I'm only editing ../copyright.tpl as that is the only .tpl that affects the public footer it seems.

I just increased #footer height: 39px; to 50px; in main.css (more than enough to fit 2 lines of text) and it didn't fix my problem, it just made the footer larger without including the copyright text. I'm thinking adding the link where I did is somehow overriding the copyright text, but why?
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #18  
Old 08-28-2009, 07:55 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add links in footer?

***********MAKE SURE YOU BACK UPI YOUR FILES FIRST!!!!!!!!!!!!

you will need to change the following CSS. change height and line-height to whatever larger number you would like. maybe 80.

#footer .subbox {
position: relative;
border-top: #ffd30d 1px solid;
background: #f4f5f7 none;
color: #667d92;
height: 40px;
vertical-align: middle;
padding: 0px;
}
#footer .subbox .left {
background: transparent none;
position: absolute;
left: 12px;
top: 0px;
line-height: 40px;
vertical-align: middle;
}
#footer .subbox .right {
background: transparent none;
position: absolute;
right: 12px;
top: 0px;
text-align: right;
line-height: 40px;
vertical-align: middle;
}

then here

#content-container {
clear: both;
float: left;
overflow: hidden;
position: relative;
width: 100%;
padding-bottom: 39px;
margin-top: 140px;
}

change padding to match topm number.
__________________
xcart 5.1.2
Reply With Quote

The following user thanks ARW VISIONS for this useful post:
dwpers (08-28-2009)
  #19  
Old 08-28-2009, 08:00 AM
 
dwpers dwpers is offline
 

Senior Member
  
Join Date: Aug 2009
Location: Washington D.C.
Posts: 136
 

Default Re: How to add links in footer?

Thanks for trying, but it did absolutely nothing .
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #20  
Old 08-28-2009, 08:20 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: How to add links in footer?

did you clear browser history?
__________________
xcart 5.1.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:58 AM.

   

 
X-Cart forums © 2001-2020