Paste Options (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


haydensites -> Paste Options (9/16/2006 17:45:18)

Has anyone had any success displaying the paste options button with the 3
options including the one that I need: "Treat as HTML Tags". It was not
available to me in both CTP1 and now in Beta 1. FrontPage 2003 has it.
Very disappointing!

(I asked this question back in the CTP1 days but no joy. Maybe it's my setup[:'(] )




jaybee -> RE: Paste Options (9/16/2006 18:18:55)

quote:

ORIGINAL: haydensites

Has anyone had any success displaying the paste options button with the 3
options including the one that I need: "Treat as HTML Tags". It was not
available to me in both CTP1 and now in Beta 1. FrontPage 2003 has it.
Very disappointing!

(I asked this question back in the CTP1 days but no joy. Maybe it's my setup[:'(] )
You may not have had an answer due to people being a little confused. I have 2003 and my paste options only give me
Use destination styles
Keep source formatting
Keep text only

Maybe it's one of your settings that's different.

Thing is with EWD you probably don't want to just paste old code and tags into it. The whole point is that it produces compliant code and as someone on here has already discovered, pasting old code in just mucks up all the good EWD does.

Likewise, if you're trying to paste in code that's been put together by pressing the save as html in Word or Excel. [:'(]




haydensites -> RE: Paste Options (9/16/2006 18:31:29)

Hmmm. ................
My 3 0ptions in 2003 are:
*Keep Source Formatting (the default)
*Keep Text only
*Treat as HTML Tags
I really only need this so I can copy/paste my Buy Now buttons in my site.
Maybe there is a work around?[:)]




jaybee -> RE: Paste Options (9/16/2006 18:41:30)

Well that's very odd. Hang on in there and a few others should turn up, probably Monday, who also have 2003 and may be able to shed some light on the differences.

What does/did treat as HTML tags do?




jaybee -> RE: Paste Options (9/16/2006 18:45:00)

Ahhh hold on,

quote:

The available options depend on the type of content you are pasting, the program you are pasting from, and the format of the text where you are pasting.


and it explains what the other one does too.

quote:

Example

If you copy an example of HTML code from a Web browser (for example, <i>italic text</i>) to a page in FrontPage, selecting Treat as HTML Tags ensures that the example code is rendered as italic text.


So is that what you're doing? Copying and pasting from the web?




haydensites -> RE: Paste Options (9/16/2006 19:16:32)

The HTML I copy/paste looks like the following:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="http://wwwtaraanne.com/images/sunflower70.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="tarable@ameritech.net">
<input type="hidden" name="item_name" value="Pearl Cluster Necklace">
<input type="hidden" name="item_number" value="Pg 1N">
<input type="hidden" name="amount" value="79.00">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="return" value="http://www.taraanne.com">
<input type="hidden" name="cancel_return" value="http://www.taraanne.com">
<input type="hidden" name="cn" value="Buyer's Instructions">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>

It's used to write PayPal "Buy now" buttons into my daughter's Website on www.taraanne.com
It works smoothly with 2003 but won't display in Expressions.

TIA for sticking with me on this.............driving me nuts!





jaybee -> RE: Paste Options (9/17/2006 6:22:52)

Are you pasting that into the design tab area?

If so, paste it into the code tab area. Seems to work OK in mine although EW is complining about the code formatting, no surprise there, I'm always tweaking Paypal button code to make it comply.




haydensites -> RE: Paste Options (9/17/2006 8:38:30)

Well jaybee.......Pasting into the split or code area did produce the HTML tag (buy now image). Took a little fooling around but the image did display and produced the link to the PayPal shopping cart as designed.
But......what a pain in the neck. I've got over 450 of these items to edit. I wonder what change in Expressions that caused this difficulty.
I think I'll stick with 2003 until either PayPal or MS sorts it out. I'm too old and dumb to go through all this.
I did want to try out all the new stuff in Expressions though.......sigh![:(]




jaybee -> RE: Paste Options (9/17/2006 8:53:38)

Part of this may be down to your understanding of certain terms.

An HTML tag is a keyword if you like. It is immediately preceded by < so in that code above you have a number of them. The functioning button is produced by several tags put together, it's not a tag by itself.

Here's a ist of tags.

I have to admit I've never used that paste option in 2003. If I'm ever putting code in using FP then I always go in via the code tab and I'd do the same with EW. It's just so much more reliable but you do need to have a basic understanding of html.

Your paypal button code would be quick to change, you paste in one, get it correct then paste a load more and just change the field contents. If you look at the code for your existing buttons you'll see what changes each time. It's also a heck of a lot faster than generating the button via Paypal each time. Typical fields that change I've highlighted below but yours may be different so compare 3 or 4 especially those with options.

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="http://wwwtaraanne.com/images/sunflower70.jpg" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="tarable@ameritech.net">
<input type="hidden" name="item_name" value="Pearl Cluster Necklace">
<input type="hidden" name="item_number" value="Pg 1N">
<input type="hidden" name="amount" value="79.00">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="return" value="http://www.taraanne.com">
<input type="hidden" name="cancel_return" value="http://www.taraanne.com">
<input type="hidden" name="cn" value="Buyer's Instructions">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>




jaybee -> RE: Paste Options (9/17/2006 9:24:00)

Ummm just one more thing, and this may be the difference between UK and US words again but are you sure Tara's jewellery should be referred to as Artesian?

Over here Artesian is a well
Someone who works with their hands is an Artisan




haydensites -> RE: Paste Options (9/17/2006 9:30:43)

[:)] Ok jaybee.....I'm about to develop a "positive attitude" and try it!
I'll holler if I need a refresher.
Jim




haydensites -> RE: Paste Options (9/17/2006 9:43:09)

Nice catch jaybee. [;)] That line was put up by my daughter who has an aversion to spellcheck!




jaybee -> RE: Paste Options (9/17/2006 11:17:48)

[:D]




haydensites -> RE: Paste Options & Navigation View (9/20/2006 10:31:53)

Ok jaybee...........We seem to have beat this to death! I guess I'm going to have to use the code view for my pasting. (Probably quicker in the end anyway as I edit many each time.)
Now my only other whine is [:(] "I miss the Navigation View" I only used it for creating new pages. The NEW way is a PITA.




haydensites -> RE: Paste Options & Navigation View (9/23/2006 16:58:48)

quote:

Now my only other whine is "I miss the Navigation View" I only used it for creating new pages. The NEW way is a PITA. [/quote

Never mind..........I finally woke up and learned how to do it! It's a no-brainer when you "understand" what you're doing. Not a easy thing when you're 72![:)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.1099854