Stop FrontPage from reformatting HTML

Get help with nopcart intergration with MS FrontPage and related issues

Moderators: Koibito, Rosey

Stop FrontPage from reformatting HTML

Postby Rosey » Sun Jun 27, 2004 2:01 pm

FrontPage Page Options

The above link will take you to a screenshot of the FrontPage Page Options Dialog box, which shows you the proper setting to make to stop FrontPage from changing your code. :)


** Updated link to reflect site updates ** 11/14/2K4
Peace
Ro-Z
Rosey
Guru
 
Posts: 166
Joined: Mon Jun 30, 2003 2:37 am
Location: Japan

Postby Kingfisher » Wed May 18, 2005 1:28 pm

Do you know how to make FP 2003 not change your html as you do with the Preserve feature in 2002?

Thanks,
Louise
Kingfisher
 
Posts: 4
Joined: Tue Apr 19, 2005 12:53 pm
Location: Aberdeen, MS

Preserve Existing HTML FrontPage 2003

Postby Rosey » Wed May 18, 2005 1:49 pm

Hi Again;
I took a look at your site, on the checkout page you have a tag error,
/head twice.

I did not go through the complete checkout process,
however, other than not checking out, I really did not
catch any problems. Can you tell me what the problem is?

2nd query answer;

Open FrontPage 2003

From the menu click on Tools then Page Options.

Click on the Authoring tab

Ensure the "Preserve Existing HTML" is selected
Peace
Ro-Z
Rosey
Guru
 
Posts: 166
Joined: Mon Jun 30, 2003 2:37 am
Location: Japan

Postby Kingfisher » Wed May 18, 2005 2:14 pm

Hi Rosey,

Thanks to you for helping. I was about ready to give up and find a simpler cart. (I used to work with Jshop, but they don't do a simple small cart any more)

I removed the extra /head.

I have worked for many many hours on the cart and all is working correctly - even the NaN error until I click on submit at the checkout page.

When I get to the thanks page, the NaN error is back
No email goes to buyer in confirmation
Cart contents do not go to the CSV file (but buyer information does)
Cart contents do not come in email to me (but buyer information does)

I am so confused I dont' even know which file to look for the problems in whether it is the nopcart.js, checkout.pl, managecart.html or checkout.html

I haven't even tried to add a payment gateway - it will all go through PayPal.

Also - some of my files are written as .htm files and some are .html Is this a problem or should I leave them alone?

I have looked and looked at that Authoring page - which is where I expected the Preserve function to be and don't see it. I even thought I had seen it before and selected it.

Thanks again,
Louise
Kingfisher
 
Posts: 4
Joined: Tue Apr 19, 2005 12:53 pm
Location: Aberdeen, MS

Preserve Existing HTML #2

Postby Rosey » Wed May 18, 2005 10:04 pm

Good Morning ( Japan Time )

OK, I don't have FP2003 installed on this machine.
(still very happy with FP2002)
I will have to get into the office and check on one
of those machine for the Preserve option.

As far as the NAN error I will assume you have already
entered that keyword into the wonderful search engine
this forum has, and read all 10,000 posts concerning NAN.
:shock:

IF you are using perl scripting and not the inbred form functions
of frontpage, I may not be able to help you. I am no Perl dude.
I have never done anything with it. Maybe one day if the need
arises I may sit down and give that scripting language a look see.

Later If you need, I will post a screen shots of some of the
form options that need to be filled in with for the cart to work
in frontpage.
Peace
Ro-Z
Rosey
Guru
 
Posts: 166
Joined: Mon Jun 30, 2003 2:37 am
Location: Japan

Postby Kingfisher » Thu May 19, 2005 12:01 am

Thanks Rosey,

I did read about the NaN error and managed to get rid of it on 2 pages (manage cart and check out)

I don't think I am using perl, but really I have no idea. I just uploaded the file and mostly it worked. I really don't know much of anything about anything beyond html. I just used the form from the Insert tab on Front Page. I think that must mean I didn't use perl.

The screen shots would be great. I tried changing some things I read about on the forum (like changing POST to GET but Front Page would not leave it alone and changed it back. Also - it says Webot Self when I try to send it to the URL, which one of the posts said to do.

I tried going to your site and figuring it out, but I can barely manage in English, let alone Japanese, so immediately got lost.

Thank you so much for your patience.
Louise
Kingfisher
 
Posts: 4
Joined: Tue Apr 19, 2005 12:53 pm
Location: Aberdeen, MS

Postby Ed » Wed Jun 22, 2005 1:40 am

I wonder if the NaN error is because of a configuration of the server the site resides on after reading this article:

http://www.scd.ucar.edu/docs/trap.error/errortypes.html
Ed
 

NaN error

Postby Rosey » Fri Jun 24, 2005 4:39 pm

Ed;

If your link was in jest, :lol:
wow, talk about a way to confuse someone.

If you link was not in jest; then;

NaN
A special value representing Not-A-Number. This value is represented as the unquoted literal NaN.Property of
Number

Read-only


Implemented in
JavaScript 1.1, NES 2.0

ECMA version
ECMA-262



Description
JavaScript prints the value Number.NaN as NaN.

NaN is always unequal to any other number, including NaN itself; you cannot check for the not-a-number value by comparing to Number.NaN. Use the isNaN function instead.

You might use the NaN property to indicate an error condition for a function that should return a valid number.

Examples
In the following example, if month has a value greater than 12, it is assigned NaN, and a message is displayed indicating valid values.

var month = 13if (month < 1 || month > 12) { month = Number.NaN alert("Month must be between 1 and 12.")


Randy is the resident JavaGuru, he is more qualified to answer
the question than I am.
Peace
Ro-Z
Rosey
Guru
 
Posts: 166
Joined: Mon Jun 30, 2003 2:37 am
Location: Japan

Re: Preserve Existing HTML FrontPage 2003

Postby lowland » Wed Oct 19, 2005 12:24 pm

Rosey wrote:Hi Again;
I took a look at your site, on the checkout page you have a tag error,
/head twice.

I did not go through the complete checkout process,
however, other than not checking out, I really did not
catch any problems. Can you tell me what the problem is?

2nd query answer;

Open FrontPage 2003

From the menu click on Tools then Page Options.

Click on the Authoring tab

Ensure the "Preserve Existing HTML" is selected


There is no option for "Preserve Existing HTML" in FP 2003
lowland
 

FrontPage 2003 preserves your HTML by Default

Postby Rosey » Wed Oct 19, 2005 9:17 pm

**UPDATE**

After receiving the latest post concerning this topic,
I decided to research and review my orginal post.
I still use FP2002 more than 2003 mainly because
of familiarity......Below is what I found on the net
repeated numerous times.

Apologies for the original information.

FrontPage 2003 preserves your HTML by Default, unless you tell it to base
the formatting on the current page (Tools | Page Options | Code Formatting).

- unfortunately there is no way to undo any changes you make and go back to the
default settings short of deleting your registry keys created under
[HKEY_CURRENT_USER\Software\Microsoft\FrontPage\Editor\HTML]
Peace
Ro-Z
Rosey
Guru
 
Posts: 166
Joined: Mon Jun 30, 2003 2:37 am
Location: Japan


Return to Help: FrontPage & NOPCart

Who is online

Users browsing this forum: No registered users and 0 guests