Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Custom Header Bar


stoveman

Recommended Posts

I have very limited php experience, but I am learning fast.

 

I have created a custom header navigation bar with dreamweaver, copied the body code and put it into my main catalog directory.

Added one line of php code into catalog/includes/header.php <?Include ("catalogheader.html";?>

Everything looks great up to this point. My comfusion is how to make the navigation link to my categories.

 

I found that if I us a standard html link eg.<a href="http://localhost/catalog/index.php?cPath=21&osCsid=dd76c5a30b04b5e5a24eb5ba47b20993">

It would work ok, but I dont' know if this is the correct way to do the link.

 

any help or advice always appreciated

 

Gerald

Link to comment
Share on other sites

I have very limited php experience, but I am learning fast.

 

I have created a custom header navigation bar with dreamweaver, copied the body code and put it into my main catalog directory.

Added one line of php code into catalog/includes/header.php <?Include ("catalogheader.html";?>

Everything looks great up to this point. My comfusion is how to make the navigation link to my categories.

 

I found that if I us a standard html link eg.<a href="http://localhost/catalog/index.php?cPath=21&osCsid=dd76c5a30b04b5e5a24eb5ba47b20993">

It would work ok, but I dont' know if this is the correct way to do the link.

 

any help or advice always appreciated

 

Gerald

 

Firstly the link you've shown above is fine for linking to the main page, but you don't need any of the address after the index.php bit: http://localhost/catalog/index.php

 

I've just had a fiddle with my shop, and the following link appears to do what you require, atleast in my shop.

 

http://localhost/catalog/index.php?cPath=0

 

Hope thats of some help.

Link to comment
Share on other sites

I have very limited php experience, but I am learning fast.

 

I have created a custom header navigation bar with dreamweaver, copied the body code and put it into my main catalog directory.

Added one line of php code into catalog/includes/header.php <?Include ("catalogheader.html";?>

Everything looks great up to this point. My comfusion is how to make the navigation link to my categories.

 

I found that if I us a standard html link eg.<a href="http://localhost/catalog/index.php?cPath=21&osCsid=dd76c5a30b04b5e5a24eb5ba47b20993">

It would work ok, but I dont' know if this is the correct way to do the link.

 

any help or advice always appreciated

 

Gerald

 

Do not include the session id (everything from the ? on) in your links only include up to the end of the file name.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...