How do I paste Yahoo store tags into FrontPage 2003?

S

ScubaDad49

Building a new web site using FrontPage 2003. Hosting the web site on Yahoo
Merchant Solutions. When trying to copy and paste the Yahoo catalog store
tags into my FrontPage product page, they come up all grayed out and don't
work when I publish to my Yahoo web site. The order button tag works just
fine. What do I need to do to get FrontPage to recognize these tags?

Examples:

Order Button: <form method="post" action="<!--#ystore_order id="af01"
-->"><input type="submit" value="Order"></form>

Name: <!--#ystore_catalog id="af01" field="name" -->

Price: <!--#ystore_catalog id="af01" field="price" -->

Options: <!--#ystore_catalog id="af01" field="options" format="html" -->

Caption: <!--#ystore_catalog id="af01" field="caption" -->

Thanks, in advance, for your help!
 
C

Cheryl D Wise

Those are comment tags that trigger behavior on the Yahoo software. FP won't
recognize them as anything except comments. If you mean, how can I use FP to
make adding Yahoo tags easier since you are using FP 2003 create code
snippets for each type and change the id or other attributes as needed when
you add them to the page.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
 
S

ScubaDad49

Cheryl - Thanks for the prompt reply. I'm new at this and don't understand
your answer. The order button code works just fine. So, how do I generate
these snippets so that when I publish my FP 2003 files to Yahoo they will be
recogniozed?
 
C

Cheryl D Wise

You don't 'generate' anything to be recognized. I have not used the Yahoo
stores but if the code you gave works then all you need to do is insert
similar code with unique ids for each product (or whatever the Yahoo store
instructions say).

To create and use snippets follow the instructions at
http://mvp.wiserways.com/tutorials/codesnippets/index.html

Yahoo should recognize the code once the site is published but you will need
to refer to the Yahoo documentation if it doesn't since that is a Yahoo
issue and not a FrontPage one.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
 
S

ScubaDad49

Also, when I paste these tags directly into my product pages after they have
been published to Yahoo, they work just fine. My problem is inserting them
in FP and getting them to work after I publish to my Yahoo Merchant Solutions
web site.
 
S

ScubaDad49

Cheryl - I really apprciate your help, but if I can paste these tags directly
into my web page and they work, how can it be a Yahoo issue? I understand
the need to replace the product ID ("af01") in my examples below.

The Yahoo documentation says that I should be able to paste these tags into
FP and they should work. It also says that I need to remove all quotes ("),
but I think that was for earlier versions, right?
 
C

Cheryl D Wise

If pasting them works then that is what you should do. Creating a code
snippet simply makes it easier to keep the syntax correct. But this is
really a Yahoo not a FrontPage issue. As far as putting comments on a web
page that is completely unchanged from earlier versions of FP. There have
been no changes to FP 2003 that should make any difference in what you need
to do to make them work.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
 
S

ScubaDad49

Thanks again for the prompt reply and I really appreciate you trying to help
me thru this issue. If I paste the tags directly into my web pages as you
suggest, that will work until I need to make any other change to that page
via FP. Then when I publish the previous work will be removed. Not a good
solution.

Another piece of info I forgot to tell you is that in playing around trying
different things (using some of the formatting that the order button code
uses, which does work), even tho the data is not displayed, if I right click
on the published web page, and select View Source, I can see the data (name
or price, for example) that I am trying to retreive. It's just not dispalyed
on that web page.

I feel that I am real close to solving this puzzle. Other ideas? Thanks,
again.
 
C

Cheryl D Wise

You need to post a url but I expect that this is an issue you need to take
up with Yahoo because in the code bit you supplied it has:

Name: <!--#ystore_catalog id="af01" field="name" -->

The <!-- indicates the beginning of a comment and the --> is the end of the
comment. An HTML comment is not displayed. So the browser is doing exactly
what it is supposed to do. I really do not understand your problem and the
problem seems to be coming from the Yahoo store tags not FrontPage. In a
normal form I would expect to see something like:

Name: <input type="text" name="name" size="20" id="af01">

Other problems with the code you originally supplied is that the same id is
used on multiple files. That's a no-no in scripting. This is why I have
problems understanding why it would ever work.

Since I know nothing about Yahoo Stores and the browser is doing exactly
what the code snippet says to do there really is little more I could do to
help. You need to talk to Yahoo.

--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
 
S

ScubaDad49

Cheryl - Thanks again. Just FYI, I have to enter my product info into my
Yahoo store catalog. Information like name, image (photo), caption
(description), options (colors, sizes, etc.), price, etc. These Yahoo store
tags pull the information for that specific product, thus the reason they all
have the same product ID. These are not multiple files, but fields (name,
caption, price, etc.) within a file (catalog id fa01). I'll try your ideas
and then call Yahoo. Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top