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

Adding links to Information bar?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-28-2010, 12:49 PM
 
dwpers dwpers is offline
 

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

Default Adding links to Information bar?

Hi,

I would like to add 2 links to my information bar on the left that customers see when visiting the site.

I know I can add custom pages and set their order, but I found no place to add custom links. I have 2 other shops that I would like to link to in this manner.

Is this possible to do? Or will I have to be ghetto and create 2 separate pages and then use a meta refresh to the shop urls?
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #2  
Old 01-28-2010, 02:09 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Adding links to Information bar?

Links to what ? Additional info Or already created links?

If just links to somewhere else you can just edit your template and manually add the links.

Let us know what template your using and where exactly you want the links and maybe help a little here
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #3  
Old 01-29-2010, 03:53 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Adding links to Information bar?

You just need to find the template for the information bar (url will help here). Are you talking about the default speed bar at the top of page or th eone that's with the search? If it is the speed bar you can add links to it in admin/speed bar
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 01-29-2010, 07:16 AM
 
dwpers dwpers is offline
 

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

Default Re: Adding links to Information bar?

I'm using one of the default templates, you can see it here: http://www.royalepro.com

I want to add external links to the Information nav menu on the bottom left that link to my other sites. I haven't been able to find it in the template code yet.
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #5  
Old 01-29-2010, 01:39 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Adding links to Information bar?

You need to edit skin1/customer/help/menu.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
Brett_H (02-06-2010), dwpers (02-01-2010)
  #6  
Old 01-29-2010, 01:42 PM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Adding links to Information bar?

Go to skin1/customer/help/menu.tpl

This is what you see as I see your using light and lucid:
ORIGINAL

{*
$Id: menu.tpl,v 1.5 2009/03/18 10:45:28 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{capture name=menu}

<ul>
<li><a href="help.php?section=contactus&amp;mode=update"> {$lng.lbl_contact_us}</a></li>
{foreach from=$pages_menu item=p}
{if $p.show_in_menu eq 'Y'}
<li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp| escape}</a></li>
{/if}
{/foreach}
</ul>

{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_help content=$smarty.capture.menu link_href="help.php" additional_class="menu-help"}

ORIGINAL END

Just add what I have added in red below (works a treat)

MODIFIED

{*
$Id: menu.tpl,v 1.5 2009/03/18 10:45:28 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{capture name=menu}

<ul>
<li><a href="help.php?section=contactus&amp;mode=update"> {$lng.lbl_contact_us}</a></li>
{foreach from=$pages_menu item=p}
{if $p.show_in_menu eq 'Y'}
<li><a href="pages.php?pageid={$p.pageid}">{$p.title|amp| escape}</a></li>
{/if}
{/foreach}<li><a href="http://www.yourlink.com">My Link</a></li>
</ul>

{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_help content=$smarty.capture.menu link_href="help.php" additional_class="menu-help"}

END MODIFIED

So if you want another link just repeat added code below>
<li><a href="http://www.yourlink2.com">My Link 2</a></li>

And so on, hope this helps.
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote

The following 2 users thank gizmo for this useful post:
Brett_H (02-06-2010), dwpers (02-01-2010)
  #7  
Old 02-01-2010, 08:33 AM
 
dwpers dwpers is offline
 

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

Default Re: Adding links to Information bar?

Thanks mate! Works a treat!
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #8  
Old 02-01-2010, 09:19 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Adding links to Information bar?

Quote:
Originally Posted by dwpers
Thanks mate! Works a treat!
Your welcome, just a thought if you have links where you want new window just add it this way.

<li><a href="http://www.mylink in newwindow.com" target="_blank">Hello New Window</a></li>

Not sure if you was aware that was all it just adds the target="_blank

And of course if you wanted title etc on mouse over etc, I won't go on, all can be found at w3 or any good css site.
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote

The following user thanks gizmo for this useful post:
dwpers (02-04-2010)
  #9  
Old 02-04-2010, 09:03 AM
 
dwpers dwpers is offline
 

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

Default Re: Adding links to Information bar?

Yep, thanks I know HTML .

(just not the X-CART/SMARTY system yet)
__________________
X-Cart Pro 4.2.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 12:06 AM.

   

 
X-Cart forums © 2001-2020