ColorMagic
Starting Member
USA
18 Posts Pre-sales questions only (More Details...)
|
Posted - 03/03/2022 : 09:05:09
We had a very old site that was a combo of a bunch of stuff, and I purchased a new premium design template, and connected our data base to it. I have a project.dwt in the templates folder, where I put our logo to replace the stock one, and changed the sliders in the index.php file. My problem is on the our main landing page www.colormagic.biz , the top menu bar doesn't show any of the categories or products. The left side menu is the categories. Any suggestions on how to fix this?
Sean
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/03/2022 : 10:14:47
Hi Sean
The vertical left hand menu is dynamically generated from the categories but the top hoizontal menu is not dynamic. The vertical left hand menu will be generated by code in the .dwt file which looks like the following
<div class="lefthand"> <div class="leftside"> <div class="menutop">Our Products</div> <?php $menustyle='verticalmenu2' ?> <?php include "vsadmin/inc/incmenu.php"?> </div>
I don't think the horizontal menu can be set as dynamic & it is case of creating the menu by hand. I'm sure someone will correct me if I am incorrect.
Steve Manchester UK
Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/03/2022 10:23:04
|
ColorMagic
Starting Member
USA
18 Posts Pre-sales questions only (More Details...)
|
Posted - 03/03/2022 : 10:43:30
Thank you. Do you know how to edit the top menu? In the project.dwt, I can't edit it in dreamweaver.
Sean
Edited by - ColorMagic on 03/03/2022 10:44:52
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/03/2022 : 11:29:06
You should see this in your .dwt file - correct? If so that is the horizontal menu
<!-- mega menu start --> <div class="menu-container"> <div class="ectmegamenu"> <ul> <!-- 2 links, no drop downs --> <li><a href="./">Home</a></li> <li><a href="../about.php">About</a></li> <!-- first mega menu display - 4 columns --> <li><a href="../products.php">Products</a> <ul> <li><a href="../products.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> Layout #1</a> <ul> <li><a href="../proddetail.php?prod=testproduct">Blue jeans boot cut</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue jeans relaxed</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue jeans skinny style</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue jeans straight</a></li> </ul> </li> <li><a href="../products2.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> Layout #2</a> <ul> <li><a href="../proddetail2.php?prod=testproduct">Black sneakers</a></li> <li><a href="../proddetail2.php?prod=testproduct">Blue sneakers</a></li> <li><a href="../proddetail2.php?prod=testproduct">Gray sneakers</a></li> <li><a href="../proddetail2.php?prod=testproduct">Light sneakers</a></li> <li><a href="../proddetail2.php?prod=testproduct">Pale sneakers</a></li> <li><a href="../proddetail2.php?prod=testproduct">Red sneakers</a></li> </ul> </li> <li><a href="../products3.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> Layout #3</a> <ul> <li><a href="../proddetail3.php?prod=testproduct">Drill bit arrow</a></li> <li><a href="../proddetail3.php?prod=testproduct">Drill bit pointy</a></li> <li><a href="../proddetail3.php?prod=testproduct">Drill bit pointy</a></li> <li><a href="../proddetail3.php?prod=testproduct">Drill bit screw</a></li> </ul> </li> <li><a href="../categories.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> All categories</a> <ul> <li><a href="../products.php">Blue jeans</a></li> <li><a href="../products.php">Cool sneakers</a></li> <li><a href="../products.php">Drill bits</a></li> </ul> </li> </ul> </li> <!-- second mega menu display - 4 columns --> <li><a href="../categories.php">Categories</a> <ul> <li><a href="../products.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> Blue Jeans</a> <ul> <li><a href="../proddetail.php?prod=testproduct">Blue jeans boot cut</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue jeans relaxed</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue jeans skinny style</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue jeans straight</a></li> </ul> </li> <li><a href="../products.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> Cools Sneakers</a> <ul> <li><a href="../proddetail.php?prod=testproduct">Black sneakers</a></li> <li><a href="../proddetail.php?prod=testproduct">Blue sneakers</a></li> <li><a href="../proddetail.php?prod=testproduct">Gray sneakers</a></li> <li><a href="../proddetail.php?prod=testproduct">Light sneakers</a></li> <li><a href="../proddetail.php?prod=testproduct">Pale sneakers</a></li> <li><a href="../proddetail.php?prod=testproduct">Red sneakers</a></li> </ul> </li> <li><a href="../products.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> Drill Bits</a> <ul> <li><a href="../proddetail.php?prod=testproduct">Drill bit arrow</a></li> <li><a href="../proddetail.php?prod=testproduct">Drill bit pointy</a></li> <li><a href="../proddetail.php?prod=testproduct">Drill bit pointy</a></li> <li><a href="../proddetail.php?prod=testproduct">Drill bit screw</a></li> </ul> </li> <li><a href="../categories.php"><i class="w3-margin-right fa fa-chevron-circle-right"></i> All categories</a> <ul> <li><a href="../products.php">Blue jeans</a></li> <li><a href="../products.php">Cool sneakers</a></li> <li><a href="../products.php">Drill bits</a></li> </ul> </li> </ul> </li> <!-- third mega menu display - 1 column --> <li><a href="#">Services</a> <ul> <li><a href="../clientlogin.php">Your Account</a></li> <li><a href="../orderstatus.php">Order Status</a></li> <li><a href="../tracking.php">Order tracking</a></li> <li><a href="../giftcertificate.php">Gift Certificates</a></li> <li><a href="../affiliate.php">Affiliates</a></li> </ul> </li> <!-- single link display --> <li><a href="../cart.php">View Cart</a></li> </ul> </div> </div> <!-- mega menu end -->
Steve Manchester UK
Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/03/2022 11:32:43
|
ColorMagic
Starting Member
USA
18 Posts Pre-sales questions only (More Details...)
|
Posted - 03/03/2022 : 11:46:55
That works everywhere but the HOME page. It still shows default. I added 4x6 postcard in the products menu (horizontal). You can't see that until you click a link in the left menu, then you see our logo, and the horizontal menu item that I added.
So for example if I load web site www.colormagic.biz, I don't see our logo or the 4x6 postcard I added in the Product Menu (horizontal). But you do once you click say Postcards, you can see that stuff. Any suggestions?
Sean
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/03/2022 : 11:59:44
I can see the index page is missing the logo & the postcard. Regarding DW, are you using DW Creative Cloud or DW desktop version? I don't have experience with Creative Cloud but I would start with recreating the Site Cache. To do so in the destop version go to Site > Advanced > Recreate Site Cache then upload your files back to the server to see if that solves the issue. Also carry out a hot browser refresh Ctrl+F5 to make sure you are seeing the latest site content. Update 20:00 hrs quote: I added 4x6 postcard in the products menu (horizontal). You can't see that until you click a link in the left menu, then you see our logo, and the horizontal menu item that I added
I can click on any horiz menu & I do see your logo and the postcard but clicking the horiz Home does not show those. Update 20:10 hrsIf that has zero effect head to DW open the index.php file & head to Modify > Templates > Attach Template to Page, save page & upload & see if that has the desired effect. Don't forget to Ctrl+F5 ----------------------------------- Steve Manchester UK Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/03/2022 12:12:31
|
ColorMagic
Starting Member
USA
18 Posts Pre-sales questions only (More Details...)
|
Posted - 03/03/2022 : 12:16:46
Using DW 21.2 Desktop. That worked!!!! Thank you.
Sean
Edited by - ColorMagic on 03/03/2022 12:19:28
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/03/2022 : 12:18:31
Hi Sean
Did you try the second update I posted a few minutes ago attching the file to template?
----------------------------------- Steve Manchester UK
Make it as simple as possible, but not simpler.
Edited by - 1818charlie on 03/03/2022 12:18:49
|
ColorMagic
Starting Member
USA
18 Posts Pre-sales questions only (More Details...)
|
Posted - 03/03/2022 : 12:20:18
Didn't see your reply, but did change mine above. It worked.
Sean
|
1818charlie
ECT Moderator
United Kingdom
1198 Posts |
Posted - 03/03/2022 : 12:22:03
Good to hear Sean  ----------------------------------- Steve Manchester UK Make it as simple as possible, but not simpler.
|
|
|