Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I created a menu bar in photoshop. How do I add this to my site?


katman1971

Recommended Posts

I guess you talk about a static link menu, so, same way as you would do in a html page, only difference is that you need to keep the tep_ref_link format, read here

 

The file to do this is probably includes/header.php, assuming that it is a main menu to be shown on the top

Link to comment
Share on other sites

I guess you talk about a static link menu, so, same way as you would do in a html page, only difference is that you need to keep the tep_ref_link format, read here

 

The file to do this is probably includes/header.php, assuming that it is a main menu to be shown on the top

 

It is a static link menu. I'm still a bit confused.

same way as you would do in a html page

How exactly is this done? I know that I'll need to upload the image and it's slices to the images folder. What code will I need to add to includes/header.php? Is there any other code needed elsewhere to display the header and make the link menu work? Thanks

Link to comment
Share on other sites

Your question, though a good one, is too vague to answer. It's not much different than asking 'what's the best way to design a webpage'.

 

That said, this contribution below, is a simple and straight forward way to create a navigation bar in the header, and appears to be similar to what you are describing. If you study it, and see what is going on, you may have a model to build on.

 

Also as multimixer suggests above, study the file includes/header.php. Pay particular attention to how links are created and how images are placed.

 

http://addons.oscommerce.com/info/1873

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

Your question, though a good one, is too vague to answer. It's not much different than asking 'what's the best way to design a webpage'.

 

That said, this contribution below, is a simple and straight forward way to create a navigation bar in the header, and appears to be similar to what you are describing. If you study it, and see what is going on, you may have a model to build on.

 

Also as multimixer suggests above, study the file includes/header.php. Pay particular attention to how links are created and how images are placed.

 

http://addons.oscommerce.com/info/1873

 

I didn't mean to be vague. I assumed this was a stage that is reached in the design of most websites. (adding a header with a menu bar to your website that was designed in photoshop). Perhaps I was looking for a simple way of doing this since I am a beginner when it comes to code. I thought it could have been done by using a tool like dreamweaver.

 

With that said, thanks for your advice. I'll look at that contrib. and I'll study the header.php file and I'll try to make sense of it.

Link to comment
Share on other sites

I didn't mean to be vague. I assumed this was a stage that is reached in the design of most websites. (adding a header with a menu bar to your website that was designed in photoshop). Perhaps I was looking for a simple way of doing this since I am a beginner when it comes to code. I thought it could have been done by using a tool like dreamweaver.

 

With that said, thanks for your advice. I'll look at that contrib. and I'll study the header.php file and I'll try to make sense of it.

 

Try to do it first on a plain html page. There are many tutorials and info around on how to do this. Create a test page and make such a menu, lets say with dreamweaver.

 

Then look at the code you created in "code view"

 

After you know how to do this, then you do the same in your header.php file, just changing the way the links are set

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...