| Author |
Topic  |
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 05/31/2012 : 11:36
|
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 |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 05/31/2012 : 15:09
|
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 |
 |
|
Sinbad
Administrator
USA
53965 Posts |
Posted - 05/31/2012 : 16:01
|
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
|
 |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 05/31/2012 : 18:51
|
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 |
 |
|
Andy
Administrator
69489 Posts |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 06/01/2012 : 04:29
|
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 |
 |
|
Andy
Administrator
69489 Posts |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 06/07/2012 : 18:43
|
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 |
 |
|
Sinbad
Administrator
USA
53965 Posts |
Posted - 06/08/2012 : 00:02
|
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
|
 |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 06/08/2012 : 05:09
|
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 |
 |
|
Andy
Administrator
69489 Posts |
Posted - 06/08/2012 : 05:14
|
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
|
 |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 06/08/2012 : 06:41
|
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 |
 |
|
Andy
Administrator
69489 Posts |
|
Techno
Advanced Member
USA
171 Posts Pre-sales questions only (More Details...)
|
Posted - 06/08/2012 : 07:28
|
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 |
 |
|
Andy
Administrator
69489 Posts |
|
Topic  |
|