I have a client who runs multiple websites, and wants a common navigation menu on each of the sites. To make the menu work, I need to include a CSS and an HTML file. On the other 2 websites, I do it like so:
Code:
(In the header)
<link href="/CSS/menustyle.css" rel="stylesheet" type="text/css" media="all" />
(In the body)
<!--#include virtual="/Includes/navbar.html" -->
I can't for the life of me figure out how to do this in the PHP code for Zencart. I have figured out the location where I want to include the navbar.html file in the tpl_header.php file. However, I don't know how to write a simple include statement that shows where to look for the correct file. The menu can be displayed on every page, so it doesn't need to have if/then functionality.
I'm sure this is really simple, but I've been trying to figure out how to do this for over an hour now.
TIA for the help!
Bookmarks