Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding links in header in oscommerce 2.3.3


hoverdave

Recommended Posts

Posted

I used to use oscommerce and would use an sts template to change or add links in the header or change the arrangement of certain things. I cant seem to figure out how to do that in 2.3.3. Is it possible anymore??

I have found acouple things on the net that say you no longer need STS to add links in 2.3.3. If this is true how

do I do it. Is there a way to enable STS? If so how and where do I do it?? or is there a way to add links with out STS..?

Please help, really having a hard time figuring this out.

 

Thanks,

David

Posted

Depends on what you are trying to do... there are links already in the header for cart, etc found here:

 

<?php

tep_draw_button(HEADER_TITLE_CART_CONTENTS . ($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : ''), 'cart', tep_href_link(FILENAME_SHOPPING_CART)) .

tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) .

tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL')) .

tep_draw_button(HEADER_TITLE_LOGOFF, null, tep_href_link(FILENAME_LOGOFF, '', 'SSL'));

?>

</div>

 

You can replace or add on to that or you can code your own like I have in this site broken links - still under construction:

http://www.webcart-consulting.com/development/ava/shop/index.php?cPath=3

Posted

Yes, that is exactly what I want to do..

How did you add the links for example : coffee service / company kitchen/ jelly belly / etc..

 

I used to use an sts module template to do that but it seems they are no longer available.

 

If you code them in how and where do you do it??

Posted

If u could copy and paste the code of how you put in the links I have listed in the previous comment and what .php document has to be changed..?

 

thanks'

 

Dave

Posted

I purchased a great on line book that could help you that was written by one of the community sponsors on oscommerce (sorry for vagueness but direct commrercial referrals get zapped) but look for Burt). :)

 

Or look into Gergley's header/footer content module add on: http://addons.oscommerce.com/info/8165

 

There are other ways to get what you want, you could try googling with key words like add links to headers oscommerce

 

Good luck.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

  • 2 weeks later...
Posted

@@hoverdave

 

it is, with possible effects upon what happens vertically and horizontally.

 

you can help the height issues in style sheet. here's the pertinent code from one of my sites:

 

#header {
background: #ffffff;
height: 110px;

 

horizontal issues can be trickier to deal with.

 

the document mentioned by @@burt covers this topic very well and once you've digested the material you can have your way with the logo however you wish.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Posted

Yes, but you may have to do this

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...