Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding links


musc3

Recommended Posts

Hi,i'm a nubbie here,i'v been looking all over the forum for answer to how coould i add links to the rest of my site.

I can/t find a folder of a file with the existing links (Top, Catalog,My Account....ect.ect..) at the top of the page.

Would like to add links to the rest of my site.

Thanks in advance...

Regards...musc3.

Link to comment
Share on other sites

some of what your asking is done by the breadcrumb, look in application_top, the rest is in the header.php

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

some of what your asking is done by the breadcrumb, look in application_top, the rest is in the header.php

Hi Sam,

I,v looked in the application_top and header.php and it's nothing like the other script where i have added links.

First of all my script is out dated (2003).So i gonna updated.

 

Second of all i want to add the links

1)<li><a class="support" href="/support/upload">Support</a></li>

 

2)<li><a class="home" href="/">Home</a></li>

 

3) <li><a class="gallery" href="/photo/">Gallery</a></li>

 

4)<li><a class="contest" href="/contest/">Photo Contest</a></li>

 

Can i add the links like this in applicatio_top and header.php?

 

If so ca someone show me exactly were in the script i can add the links.....

 

 

Thanks in advance.....Regards

 

Musc3.

Link to comment
Share on other sites

all you have to do is take that code and place in it the proper table inside of the header.php tag

 

You will NOT see any basic html links coded anywhere in oscommerce because its all PHP... IF and ELSE statements replace the basic <a href=

 

So instead you have php statements that tell the browser to display a link to the page that you are on.. Hence the breadcrumb

 

I suggest installing firebug (firefox addon) and learn the table structure. Theres also a link in my signature called ROADMAP that will talk to you about the file structure of osc -w hich you will need.. You need to start with the basics

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...