VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customized Product Display
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

18 Posts

Posted - April 24 2006 :  11:27:59  Show Profile  Visit CierraRod's Homepage  Reply with Quote
Greeting everyone,

I'm in need of a little assitance for customizing our Product display. In a nutshell, I'm really not doinging anything fancy, I'm basically using the same format as provided.

I know that VPASP uses 2 files for the overall layout of the pages, that being the shoppage_header.htm & shoppage_trailer.htm

Here's the issue I'm having and I can't seem to figure out why it's acting this way. I orginally made some custom drop-down boxes to insert into the left nav column to display products, categories, etc. I know these work, as these are displayed on the home page we have setup. The problem now is, if I try to add them to the headerfile, it pulls all the db data from the product display into the left navigation area, and totally screws up the page rendering. I've done some testing, and if I use generic dummy drop downs without the scripting code, it works fine. So for some reason it does not like it when I make a DB call in that area.

Does this make sense? Anyone have any suggestions?

Doug Page
VP-ASP New User

85 Posts

Posted - April 24 2006 :  13:56:45  Show Profile  Reply with Quote
Only thing that comes quickly to mind is that the layout has been disturbed. The usual problem is the software that is used to modify the header and trailer will sometimes remove the start of the table in the header and the ending part of the table in the footer. Look at the original files and compare them to yours and see if that might be what happened.

Go to Top of Page

Starting Member

18 Posts

Posted - April 24 2006 :  14:50:11  Show Profile  Visit CierraRod's Homepage  Reply with Quote
I got what your saying..and admitidly, I'm not the best vbscripter in the world. But, I've looked over what I have and how things are setup using the <%Navigate%> functions but I'm still not having any luck. I agree it probably is a formatting problem, but I can't seem to find it.

Maybe someone with some experience could look at this code snippet and help me re-format it. At this point after all I've tried, it seems to me there has to be something in here throwing it off.

<% Set rs = db.Execute("SELECT distinct productmatch from products")			%>
		  <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> 
			  <form name="frmCollegeSchool">
              <font size="1" face="Verdana, Arial, Helvetica, sans-serif">
              <select name="menuSchool" onChange="MM_jumpMenu('parent',this,0)" style="font-size:8pt">
                <% Do While Not rs.EOF
				if rs("productmatch")<>"" then %>
                <option value="../shopquery.asp?catdescription=<%= rs("productmatch") %>"><%= rs("productmatch") %></option>
                <% end if
				rs.MoveNext %>
                <% Loop %>

Thanks in advance.
Go to Top of Page

VP-ASP Super User

260 Posts

Posted - April 24 2006 :  16:44:17  Show Profile  Visit ironhawker's Homepage  Reply with Quote
Cant you add another <tr><td width="whatever you want"><table>then your stuff in this table</table></td></tr>
Nested tables are pretty nice for maintaing integrity of layout
at about line 90 in the shoppage_header.htm file

Randy "RC" Corn
[email protected]
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000