Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to add zencart to already designed site

How to add zencart to already designed site

Locked

Views: 1,130

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Jul 2008, 9:43 PM
#1
bswinnerton avatar

bswinnerton

New Zenner

Join Date:
Jul 2008
Location:
Connecticut
Posts:
77
Plugin Contributions:
0

How to add zencart to already designed site

Hi everyone. New to Zen Cart, and was wondering how to make it so that zencart will go inside of my already designed site. I just need to know where to place the following code so that it shows up on the top of the page:

<!-- Javascript to preload images and run flash-->
<script src="../scripts/preload_images.js" type="text/javascript"></script>
<script src="../scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<link href="../style.css" rel="stylesheet" type="text/css">
</head>


<body onload="MM_preloadImages('../images/navbar_contact.png','../images/navbar_products.png','../images/navbar_home.png','../images/navbar_about.png')">


<br>
<div id="navbar" align="center">
	<img src="../images/prp_logo.png" alt="PRP Logo" width="216" height="63" align="middle">  
    <img src="../images/navbar_products.png" alt="" border="0" align="middle" usemap="#navbarmap" id="Image1">
<map name="navbarmap" id="navbarmap">
      <area shape="poly" coords="144,39,64,39,6,4,144,4" href="../prp" onmouseover="MM_swapImage('Image1','','../images/navbar_home.png',1)" onmouseout="MM_swapImgRestore()" alt="Navigation Bar Home">
      <area shape="rect" coords="146,4,289,40" href="../products/catalog" onmouseover="MM_swapImage('Image1','','../images/navbar_products.png',1)" onmouseout="MM_swapImgRestore()" alt="Navigation Bar Products">
      <area shape="rect" coords="290,4,423,40" href="../about.html" onmouseover="MM_swapImage('Image1','','../images/navbar_about.png',1)" onmouseout="MM_swapImgRestore()" alt="Navigation Bar About">
      <area shape="rect" coords="424,4,568,40" href="../contactus.html" onmouseover="MM_swapImage('Image1','','../images/navbar_contact.png',1)" onmouseout="MM_swapImgRestore()" alt="Navigation Bar Contact">
  </map>
</div>
<br><br><br>

<table id="bodytable">
  <tr>
    <td>

I tried it on the top of application_top.php but it seems to take away the stylesheet, because all of the text gets bigger.

Thanks!!

19 Jul 2008, 9:50 PM
#2
bswinnerton avatar

bswinnerton

New Zenner

Join Date:
Jul 2008
Location:
Connecticut
Posts:
77
Plugin Contributions:
0

Re: How to add zencart to already designed site

Nevermind,

Found html_header.php and put it in there.

20 Jul 2008, 4:02 AM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,650
Plugin Contributions:
0

Re: How to add zencart to already designed site

You might want to have a look at the tutorials/FAQ section on how to make a custom template ... link at the top of the page ^^^

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

20 Jul 2008, 4:22 AM
#4
bswinnerton avatar

bswinnerton

New Zenner

Join Date:
Jul 2008
Location:
Connecticut
Posts:
77
Plugin Contributions:
0

Re: How to add zencart to already designed site

Thank you,

That was actually the first thing that I did as it was referenced here quite a few times. But since https://www.zen-cart.com/tutorials/index.php?article=142 does not state how to create links or add custom html to the top of the page, I decided to post in the forum.