Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/12/2021 :  06:31:51  
In a test template I replaced this
<!-- menu start -->
<div class="relative">
<div class="navTab"><img src="../images/nav_btn.png" alt=""/></div>
<div class="navLink">
<ul>
<li><a href="../index.php"><i class="w3-margin-right fa fa-home"></i>Home</a></li>
<li><a href="../about.php">About us</a></li>
<li><a href="../products.php">Products</a></li>
<li><a href="../categories.php">Departments</a></li>
<li><a href="../tracking.php">Tracking</a></li>
<li><a href="../orderstatus.php">Order status</a></li>
<li><a href="../clientlogin.php">Account</a></li>
<li><a href="../cart.php">Shopping cart</a></li>
</ul>
</div>
</div>

<!-- menu end -->
With This
<!-- menu start -->
<?php $menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>
<!-- menu end -->

Nothing shows when run in localhost.
The </php code normally shows mainly red but at the moment this shows all blue, I must be doing something wrong but cannot figure out what this is.

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 03/12/2021 :  06:43:13  
Try removing semi-colon
<?php $menustyle='horizontalmenu1'; ?>

Steve
Egerton Village, Bolton, UK

Edited by - 1818charlie on 03/12/2021 06:59:28

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/12/2021 :  07:00:11  
Thank Steve.
I removed the semi colon and can now see two php icons in the top left brown bar area
I wonder if the menu text is hidden behind that brown bar.

Can I removed the brown area or take it backwards. I cannot see how that may be carried out.
Regards

John

Marshall
Ecommerce Template Guru

USA
1875 Posts

Posted - 03/12/2021 :  07:09:44  
PHP Version

<?php $menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>

... making sure that those lines come somewhere after the 4 main PHP include lines.

Read more https://www.ecommercetemplates.com/help/css-menus.asp#css1

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/12/2021 :  07:36:44  
Thanks Marshall
This is the code I have now but no menu is showing.
<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?><!DOCTYPE html><html>
<head>
<?php $menustyle='horizontalmenu1'; ?>
<?php include "vsadmin/inc/incmenu.php"?>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- #BeginEditable "doctitle" -->

Marshall
Ecommerce Template Guru

USA
1875 Posts

Posted - 03/12/2021 :  11:13:52  
Did you set up the root categories as explained here https://www.ecommercetemplates.com/help/css-menus.asp#css0
That said, do you have $menucategoriesatroot=TRUE; in the includes.php

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 03/12/2021 :  12:25:16  
Thanks Marshall.

I found includes.php in vsadmin
I cannot see a line
$menucategoriesatroot=TRUE;
Should this be inserted on a certain line number?
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000