osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

It works without last line of code-why?

This is a discussion on It works without last line of code-why? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I put this code form into my category description box: Code: <!--**Begin Code for cruise search--> <TABLE cellSpacing=0 cellPadding=0 width=532 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-02-2003, 06:20 AM
Member
 
Join Date: Aug 2003
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bushman
Default It works without last line of code-why?

I put this code form into my category description box:

Code:
<!--**Begin Code for cruise search-->
            <TABLE cellSpacing=0 cellPadding=0 width=532 border=0>
              <TBODY>
              <TR>
                <TD>
                  <FORM id=AdvancedForm name=AdvancedForm
                  action=http://cruises.ian.com/s/c/results.asp method=get>
                  <INPUT type=hidden value=3 name=wdos>
                  <input type=hidden name="cid" value=78166>
                  <TABLE cellSpacing=0 cellPadding=0 width=530 border=0>
                    <TBODY>
                    <TR>
                      <TD rowSpan=10><IMG height=1
                        src="http://www.ian.com/ian/images/blank.gif" width=10 border=0></TD>
                      <TD colSpan=3><IMG height=5
                        src="http://www.ian.com/ian/images/blank.gif" width=308 border=0></TD>
                      <TD><IMG height=1 src="http://www.ian.com/ian/images/blank.gif"
                        width=213 border=0></TD></TR>
                    <TR>
                      <TD colSpan=3><IMG height=25
                        src="http://www.ian.com/ian/images/blank.gif" width=1 border=0></TD>
                      <TD vAlign=top rowSpan=9><IMG height=184 src="http://www.ian.com/ian/images/image_cru_search_12.jpg"
                        width=213 border=0></TD></TR>
                    <TR>
                      <TD class=textsm vAlign=top align=right
                        width=98><B>destination:  </B></TD>
                      <TD vAlign=top width=210 colSpan=2><SELECT size=1
                        name=places> <OPTION value=C
                          selected>Caribbean</OPTION><OPTION
                          value=A>Alaska</OPTION><OPTION
                          value=BH>Bahamas</OPTION><OPTION
                          value=BM>Bermuda</OPTION><OPTION
                          value=M>Mexico</OPTION><OPTION
                          value="">-------------</OPTION><OPTION value=ALL>All
                          Destinations</OPTION><OPTION value=A>Alaska -
                          All</OPTION><OPTION value=AG>Alaska - Gulf of
                          Alaska</OPTION><OPTION value=AR>Alaska - Inside
                          Passage</OPTION><OPTION
                          value=BH>Bahamas</OPTION><OPTION
                          value=BM>Bermuda</OPTION><OPTION value=NN>Canada/New
                          England/NY</OPTION><OPTION value=C>Caribbean -
                          All</OPTION><OPTION value=CE>Caribbean -
                          Eastern</OPTION><OPTION value=CS>Caribbean -
                          Southern</OPTION><OPTION value=CW>Caribbean -
                          Western</OPTION><OPTION value=CN>Cruise to
                          Nowhere</OPTION><OPTION value=E>Europe -
                          All</OPTION><OPTION value=EE>Europe - E.
                          Mediterranean</OPTION><OPTION value=R>Europe -
                          Mediterranean - All</OPTION><OPTION value=N>Europe -
                          Northern</OPTION><OPTION value=EW>Europe - W.
                          Mediterranean</OPTION><OPTION value=W>Europe -
                          Western</OPTION><OPTION value=O>Exotic -
                          Asia/Africa/Other</OPTION><OPTION
                          value=H>Hawaii</OPTION><OPTION
                          value=M>Mexico</OPTION><OPTION value=T>Panama Canal/C.
                          America</OPTION><OPTION value=S>South
                          America</OPTION><OPTION value=I>South Pacific -
                          All</OPTION><OPTION value=P>South Pacific -
                          Australia</OPTION><OPTION value=TH>South Pacific -
                          Tahiti</OPTION><OPTION
                          value=ET>Transatlantic</OPTION><OPTION value=NA>U.S. -
                          All</OPTION><OPTION value=RV>U.S. - American
                          Rivers</OPTION><OPTION value=PC>U.S. -
                          Northwest</OPTION><OPTION value=NC>U.S. -
                          Southeast</OPTION><OPTION value=WW>World
                          Cruise</OPTION></SELECT> </TD></TR>
                    <TR>
                      <TD colSpan=3><IMG height=8
                        src="http://www.ian.com/ian/images/blank.gif" width=1
border=0></TD></TR>
                    <TR>
                      <TD class=textsm vAlign=top align=right><B>cruise line:  </B></TD>
                      <TD vAlign=top colSpan=2><SELECT size=1 name=operator>
                          <OPTION value=ALL selected>All Cruise Lines</OPTION>
                          <OPTION value=1>Carnival Cruise Lines</OPTION> <OPTION
                          value=11>Celebrity Cruises</OPTION> <OPTION
                          value=14>Costa Cruises</OPTION> <OPTION
                          value=17>Crystal Cruises</OPTION> <OPTION
                          value=18>Cunard Line</OPTION> <OPTION value=20>Disney
                          Cruise Line</OPTION> <OPTION value=24>Holland America
                          Line</OPTION> <OPTION value=34>Norwegian Cruise
                          Line</OPTION> <OPTION value=36>Orient Lines</OPTION>
                          <OPTION value=40>Princess Cruises</OPTION> <OPTION
                          value=41>Radisson Seven Seas Cruises</OPTION> <OPTION
                          value=44>Royal Caribbean Cruises</OPTION> <OPTION
                          value=48>Seabourn Cruise Line</OPTION> <OPTION
                          value=50>Silversea Cruises</OPTION> <OPTION
                          value=63>Windjammer Barefoot Cruises</OPTION> <OPTION
                          value=64>Windstar Cruises</OPTION></SELECT> </TD></TR>
                    <TR>
                      <TD colSpan=3><IMG height=8
                        src="http://www.ian.com/ian/images/blank.gif" width=1 border=0></TD></TR>
                    <TR>
                      <TD class=textsm vAlign=top align=right><B>depart
                        date:  </B></TD>
                      <TD vAlign=top><SELECT size=1 name=Month><OPTION
                          value=ALL>All Dates</OPTION><OPTION value=9/1/2003
                          selected>September 2003</OPTION><OPTION
                          value=10/1/2003>October 2003</OPTION><OPTION
                          value=11/1/2003>November 2003</OPTION><OPTION
                          value=12/1/2003>December 2003</OPTION><OPTION
                          value=1/1/2004>January 2004</OPTION><OPTION
                          value=2/1/2004>February 2004</OPTION><OPTION
                          value=3/1/2004>March 2004</OPTION><OPTION
                          value=4/1/2004>April 2004</OPTION><OPTION
                          value=5/1/2004>May 2004</OPTION><OPTION
                          value=6/1/2004>June 2004</OPTION><OPTION
                          value=7/1/2004>July 2004</OPTION><OPTION
                          value=8/1/2004>August 2004</OPTION><OPTION
                          value=9/1/2004>September 2004</OPTION><OPTION
                          value=10/1/2004>October 2004</OPTION><OPTION
                          value=11/1/2004>November 2004</OPTION><OPTION
                          value=12/1/2004>December 2004</OPTION><OPTION
                          value=1/1/2005>January 2005</OPTION><OPTION
                          value=2/1/2005>February 2005</OPTION></SELECT></TD>
                      <TD vAlign=bottom align=right rowSpan=3><INPUT id=SType
                        type=hidden value=A name=SType> <INPUT type=hidden
                        value=1 name=clp> <INPUT type=hidden value=7 name=sort>
                        <INPUT id=submit type=image
                        src="http://www.ian.com/ian/images/btn_go_12.gif" value=Search
                        border=0 name=submit> </TD></TR>
                    <TR>
                      <TD colSpan=2><IMG height=8
                        src="http://www.ian.com/ian/images/blank.gif" width=1 border=0></TD></TR>
                    <TR>
                      <TD class=textsm vAlign=top align=right><B>cruise
                        length:  </B></TD>
                      <TD vAlign=top><SELECT size=1 name=days> <OPTION
                          value=ALL selected>All</OPTION> <OPTION value=1>1-6
                          Nights</OPTION> <OPTION value=2>7-10 Nights</OPTION>
                          <OPTION value=3>11 Nights +</OPTION></SELECT> </TD></TR>
                    <TR>
                      <TD colSpan=3><IMG height=25
                        src="http://www.ian.com/ian/images/blank.gif" width=1
                    border=0></TD></TR></TBODY></TABLE></FORM></TD></TR></TABLE>
<!--**end code for cruise search-->
It was fine in preview but the "update" button didn't respond.

So I went back and took out this line :
Code:
</TD></TR></TBODY></TABLE></FORM></TD></TR></TABLE>
This time it worked but I don't know why.

What is it about the category description box that won't accept that line of code. What does it all mean?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 09-02-2003, 11:38 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,074
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

That line ins closing all your html tags. Not sure what the trouble is, I would have to look closer at the output. View the source code in your served pages with and without that line, and compare the differences. It is a good place to start...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Mopics works with imagex.jpg but... neil osCMax v2 Features Discussion 5 04-25-2006 03:25 PM
need help locating this line of code technoboy osCMax v2 Customization/Mods 3 02-09-2006 01:01 PM
Worldpay sometimes it works sometimes it doesn't trekker osCommerce 2.2 Modification Help 1 12-17-2004 04:12 PM
Does 'Site Maintenance' functions works? valaridz osCMax v1.7 Discussion 5 02-16-2004 06:00 AM
How does Product Notification works??? stando osCMax v1.7 Discussion 2 02-03-2004 09:09 AM


All times are GMT -8. The time now is 11:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax