Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
Shopping Cart Software Forum for Ecommerce Templates
Home | Profile | Register | Active Topics | Members | Search | FAQ
Click Here To Login
Forgot your Password?



Find us on Facebook

Follow us on Twitter

View our YouTube channel

Ecommerce Templates on Google Plus


 All Forums
 Technical
 ASP (Windows server) versions
 DHTML Dropdown Menu
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Techno
Advanced Member

USA
171 Posts

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

Posted - 05/31/2012 :  11:36  Show Profile
I tried to get this to work last year, but couldn’t. So I’m going to give this a shot again.
I want to have my menu to drop down.
<% menustyle="horizontalmenu1" %>
<!--#include file="vsadmin/inc/incmenu.asp"-->
“... making sure that those lines come somewhere after the 4 main ASP / PHP
include lines.”

I added the code as recommended, but it’s not working.
<!--#include file="../vsadmin/db_conn_open.asp"-->
<!--#include file="../vsadmin/inc/languagefile.asp"-->
<!--#include file="../vsadmin/includes.asp"-->
<!--#include file="../vsadmin/inc/incfunctions.asp"-->
<% menustyle="horizontalmenu1" %>
<!--#include file="vsadmin/inc/incmenu.asp"-->
When I goto view it I get garbage, where the function is to take place.

Any tips?



Fitzgerals V Smith

Andy
Administrator

69489 Posts

Posted - 05/31/2012 :  11:38  Show Profile
Hi

The first 4 include lines use ../ so I assume you'd want to do the same for the menu include

<% menustyle="horizontalmenu1" %>
<!--#include file="../vsadmin/inc/incmenu.asp"-->

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 05/31/2012 :  15:09  Show Profile
I'm sorry Andy, that one went over my head.
I put , "<% menustyle="horizontalmenu1" %>
<!--#include file="../vsadmin/inc/incmenu.asp"-->" directly below,


<!--#include file="../vsadmin/db_conn_open.asp"-->
<!--#include file="../vsadmin/inc/languagefile.asp"-->
<!--#include file="../vsadmin/includes.asp"-->
<!--#include file="../vsadmin/inc/incfunctions.asp"-->

These are the 4 main include lines, right?

I'm doing something wrong.

Fitzgerals V Smith
Go to Top of Page

Sinbad
Administrator

USA
53965 Posts

Posted - 05/31/2012 :  16:01  Show Profile
Hi you would need to put that where you want the menu to display. So if you want it on the left put the 2 lines above the include line for the client login.

<% menustyle="horizontalmenu1" %>
<!--#include file="../vsadmin/inc/incmenu.asp"-->



Winners never quit, quitters never win
User Manual for Ecommerce Templates
Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 05/31/2012 :  18:51  Show Profile
OK, I put the code where you reccomended. Using Dreamweaver, i clicked on the design to see the change, and garbagr / code poped up.
When I removed the code, the stuff dissappears.

With out the code, this is what I get:
http://techno-quest.net/default PS.asp

With the code, I get garbage in the design view, but it will let me preview it on the test server: and the results are the same as above.

The menu is not dropping down ward. What should I try next?

Fitzgerals V Smith

Edited by - Techno on 06/01/2012 00:16
Go to Top of Page

Andy
Administrator

69489 Posts

Posted - 06/01/2012 :  03:10  Show Profile
You wouldn't be able to see the menu in design view of Dreamweaver but if you want to get rid of the code showing in Dreamweaver, within DW go to edit > preferences > invisible elements > uncheck the "server side includes" box - and show dynamic text as recordset field.

Where do you have a page with the menu and the include lines above that we can look at?

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 06/01/2012 :  04:29  Show Profile
Good morrning Andy,

http://www.techno-quest.net/default PS2.asp

I'm ging to bed. Ive been up all night, working on this.
I will continue on Monday

Fitzgerals V Smith
Go to Top of Page

Andy
Administrator

69489 Posts

Posted - 06/01/2012 :  04:38  Show Profile
The menu is actually there, it's just above the login status box. You need to replace your top horizontal nav bar with the drop down menu include lines and then style it using the css help here http://www.ecommercetemplates.com/help/css-menus.asp#css1

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 06/07/2012 :  18:43  Show Profile
This just isn't my year, I was tyring to make the changes that you reccomended.

Somehow I corrupted my program files, so I reloaded my entire site.

To make a long story short, does the program lines for the original pop-out menu have to be in place; for the two program lines of the drop-down menu to work?


Fitzgerals V Smith
Go to Top of Page

Sinbad
Administrator

USA
53965 Posts

Posted - 06/08/2012 :  00:02  Show Profile
The 4 main include lines must come first before the 2 lines for the menu.

<!--#include file="../vsadmin/db_conn_open.asp"-->
<!--#include file="../vsadmin/inc/languagefile.asp"-->
<!--#include file="../vsadmin/includes.asp"-->
<!--#include file="../vsadmin/inc/incfunctions.asp"-->

You can add them to the very top of each page once you remove the old menu from the page.

Winners never quit, quitters never win
User Manual for Ecommerce Templates
Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 06/08/2012 :  05:09  Show Profile
HI Sinbad you are God sent!

Now it’s time for the long (yet short) story. When I started remodeling my web site, I did just that. I put the 4 main include lines, just below the Meta tag line; that’s when I started having problems. When I went to view it in preview mode (Dreamweaver), I got a page not found error.

I up loaded my site to the server, and things got worse: my web page could not be found. So I reloaded my saved backup copy, and everything went back to normal.

I then added the old pop-out menu code which led to this forum question. What I am trying to achieve is a drop down menu like the one you have on your demo page (http://www.ectdemostore.net/).
When I tried the simple approach, by adding the 2 lines of code beneath the 4 main lines, I didn’t get the desired results. I love this shopping cart program because it has worked for me this far (2 years), I must be doing something wrong.

SO, l am ready to give it another go. At this point in time, you guys have taught me that some things, like dynamic instruction, can’t be seen in preview mode. This is good to know.

Where is a good place, at the top of the main template page, to put the 4 main include lines? I don’t want to foul up my ability to update the site, again.


Fitzgerals V Smith
Go to Top of Page

Andy
Administrator

69489 Posts

Posted - 06/08/2012 :  05:14  Show Profile
What I do now is make an editable region in the dwt file just the opening <body> tag so it looks like this

<!-- #BeginEditable "includelines" -->
<!--#include file="../vsadmin/db_conn_open.asp"-->
<!--#include file="../vsadmin/inc/languagefile.asp"-->
<!--#include file="../vsadmin/includes.asp"-->
<!--#include file="../vsadmin/inc/incfunctions.asp"-->
<!-- #EndEditable -->

The reason for that is you have the include lines before any of your page content and if you need to move any of them for the search engine friendly features, they can be moved on a page by page basis.

It's imperative these lines aren't duplicated elsewhere in this file or any of your public store pages.

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 06/08/2012 :  06:41  Show Profile

OK, I did it! SO far, so good. Thanks Adny
I uploaded my sit with your instructions, and everything seems to be good so far.
I also added the 2 lines of instruction code for the dropdown menu. I get no errors.
However, my menu is still not dropping down.
If I don’t need the old pop-out menu code to get the drop down to work, how do I edit my drop down data? I’m not worried about the color and stuff. I want to change the names like I could in the pop-out code. My existing bar menu dose not drop- down.


Fitzgerals V Smith
Go to Top of Page

Andy
Administrator

69489 Posts

Posted - 06/08/2012 :  06:46  Show Profile
Where do you have it set up now? Make sure those two lines that call the drop down menu go where you want the menu to appear - I think before they were in the wrong place.

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page

Techno
Advanced Member

USA
171 Posts

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

Posted - 06/08/2012 :  07:28  Show Profile
OK, I moved it to where it can be seen.

It took my catagory names and made them the menu., Hummm, cool.
But, where do I go,and how do I edit or incorperate the rest of my bar menu?

Fitzgerals V Smith
Go to Top of Page

Andy
Administrator

69489 Posts

Posted - 06/08/2012 :  07:38  Show Profile
If you want to add a link to your cart page for example, make a new category in the categories admin page and call it cart.

In the field "Category URL (Optional)" enter the address of the page ie cart.asp - then check it appears on your menu.

Andy

Ecommerce templates

ECT newsletter
ECT hosting suggestions

Dreamweaver templates

Follow us on Twitter, Facebook, Google + and YouTube



Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2013 ecommercetemplates.com Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000