bdham
Advanced Member
USA
308 Posts Pre-sales questions only (More Details...)
|
Posted - 12/28/2020 : 13:43:25
Hi,
Can anyone advise me how to change the sort order of "PRODUCTS" on the top menu at radiantmetalworks.com? Note sure what order it is currently sorting, buy may be better if it displays the categories by name.
Thanks, Brad
|
Vince
Administrator
42768 Posts |
Posted - 12/29/2020 : 02:55:42
|
bdham
Advanced Member
USA
308 Posts Pre-sales questions only (More Details...)
|
Posted - 12/30/2020 : 06:38:12
Hi Vince,
I have this in my Dreamweaver template for the top menu section: <!-- mega menu start -->
<div class="menu-container">
<div class="menu">
<ul>
<!-- 2 links, no drop downs -->
<li class="headi"><a href="../index.php">Home</a></li>
<!-- first mega menu display - 4 columns --> <li class="headi"><a href="#"><i class='w3-margin-right fa fa-chevron-circle-right'></i>Products</a>
<ul>
<li class="headi">
<?php $menupoplimit=1;
$menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>
</li>
</ul>
</li>
<li class="headi"><a href="../categories.php">Categories</a></li>
<li class="headi"><a href="../about.php">About</a></li>
<li class="headi"><a href="../contactus.php">Contact Us</a></li>
</ul>
</div>
</div>
<!-- mega menu end -->
|
dbdave
ECT Moderator
USA
10411 Posts |
Posted - 12/30/2020 : 10:57:16
Hi, if using the dynamic menu, and it looks like you are, then the sorting there should be based on the sort in the admin. Under categories in the admin, you can change the sort there. Let us know if you have questions about that.
David
|
bdham
Advanced Member
USA
308 Posts Pre-sales questions only (More Details...)
|
Posted - 12/31/2020 : 09:10:10
I changed sort order in the admin under categories to sort by name, then selected "update" at the bottom. Refreshed a new browser for my site and I don't see a sort order change.
|
1818charlie
ECT Moderator
United Kingdom
1194 Posts |
Posted - 12/31/2020 : 10:57:12
Hi Brad
Changing the sort order in the admin will not change that hard coded menu, it will always stay as you have it in the template. The only way that menu will change is if you manually change it.
Steve Egerton Village, Bolton, UK
Edited by - 1818charlie on 12/31/2020 10:58:08
|
bdham
Advanced Member
USA
308 Posts Pre-sales questions only (More Details...)
|
Posted - 01/01/2021 : 05:51:09
Sorry, but I don't see where the drop down menu is managed in the Dreamweaver template. Isn't the script that I posted with " <?php include "vsadmin/inc/incmenu.php"?> presenting the products? I thought I remember Sinbad saying that the menu will be dynamic.
|
1818charlie
ECT Moderator
United Kingdom
1194 Posts |
Posted - 01/01/2021 : 08:09:10
Hi Brad
The Natura template has the following in the main.dwt file which shows the dynamic vertical menu on the left side of the pages, which appears has been removed on your site. Yes that does dynamically populate just the vertical left hand menu, not the top horizontal menu which is hard coded & will display as you have wrote it out.
<div class="col-3 mid_left"> <div class="left_nav_wrap"> <h2>Our Products</h2> <div class="left_nav"> <?php $menustyle='verticalmenu2' ?> <?php include "vsadmin/inc/incmenu.php"?> </div> </div> </div>
Steve Egerton Village, Bolton, UK
Edited by - 1818charlie on 01/01/2021 08:12:27
|
dbdave
ECT Moderator
USA
10411 Posts |
Posted - 01/01/2021 : 08:46:14
quote: I changed sort order in the admin under categories to sort by name, then selected "update" at the bottom. Refreshed a new browser for my site and I don't see a sort order change.
I sounds more like you changed "products" to sort by name under main settings and that's not for sorting categories. For sorting categories, you go into your categories admin and change the numbers next to each category to sort them. As far as I know there is no feature to sort your "categories" by name. On the quick entry drop down, select "actual order"and try changing that and see if your menu changes.
|
bdham
Advanced Member
USA
308 Posts Pre-sales questions only (More Details...)
|
Posted - 01/01/2021 : 09:42:50
Thank you!!! The category number change did the trick.
Happy new year everyone!
|
dbdave
ECT Moderator
USA
10411 Posts |
Posted - 01/01/2021 : 10:56:02
Hi Brad, that's great news. Happy New Year to you too. David
|
|
|