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

How to add an ad on the right side/nav bar of our site?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-21-2012, 11:25 AM
 
ViperMaul ViperMaul is offline
 

Newbie
  
Join Date: Oct 2006
Posts: 8
 

Default How to add an ad on the right side/nav bar of our site?

I am hoping someone can help by explaining to me how to add a simple picture with link to the right side/nav bar below the affiliate link?

Thank you for your help in advance,

Craig

Using Xcart 4.4.4
__________________
-Aequitas Technologies
www.AequitasTech.com
X-Cart Version 4.1.6
X-Afilliate Version 4.1.6
Reply With Quote
  #2  
Old 02-22-2012, 02:24 AM
  pauldodman's Avatar 
pauldodman pauldodman is online now
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,052
 

Default Re: How to add an ad on the right side/nav bar of our site?

Firstly you need to upload the image in question to your skin/images folder - either via ftp or through admin.

Then you need to find and open the template:
customer/right_bar.tpl
for your skin

Find the affiliates code, and below add the standard html code for an image and a link - but with the smarty code for the image path - e.g.

<a href="link goes here"><img src="{ImagesDir}/imagename.jpg" alt="" border="0" /></a>

You may want to enclose all of that in a div (layer) to align etc.

<div class="center">
code
</div>

Make sure you do have a class in your css file called center with attributes to center align the image if you wish.
Or change the name and add your own class with whatever attributes you need - borders, backgrounds, margins, etc.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 03-14-2012, 12:11 PM
 
ViperMaul ViperMaul is offline
 

Newbie
  
Join Date: Oct 2006
Posts: 8
 

Default Re: How to add an ad on the right side/nav bar of our site?

I have been attempting this but to no avail. Although the nav bar is on the right it is still labeled left nav bar but i just found that out hehe. Do you have any coding examples as to how to do this.

On a side note, I have also been attempting to change the affiliate sign up link to:

Sign up:

Log in:

Directly under Affiliates on the store page.

I have noticed that in a lot of the x-cart templates there is both an affiliate registration link and Affiliate log in link one on top of the other. How do I add that to my site. As it sits, there is only an affiliate registration link and no log in link. What files do I need to edit and how do edit them? Even at that the registration link sucks hehe!

Ack, I feel like pulling my hair out. I have done this once before years ago for another site but do not recall as to how I did it lol!

There are some templates that automatically have this feature built in.

Help!!!

Craig
__________________
-Aequitas Technologies
www.AequitasTech.com
X-Cart Version 4.1.6
X-Afilliate Version 4.1.6
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:30 AM.

   

 
X-Cart forums © 2001-2020