E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2008, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Thu, 17 Jul 2008 02:32:49 GMT Sat, 22 Nov 2008 18:55:09 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #17 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Thu, 17 Jul 2008 02:32:49 GMT
What you describe is correct, and because the View Cart code must reside in the page code itself, not in an IFRAME that refers to the View Cart code in a separate file, the cart cannot work properly (what is really happening there is that the cart is trying to display inside the tiny IFRAME that's only as big as the View Cart button itself, which is why the button seems to disappear -- the cart is covering it up in there!).

I had read that iWeb08 finally added a way to edit the raw page code directly, but this is secondhand knowledge, so I may be mistaken.]]>
E-junkie Discussions; Tyson
Post #16 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Wed, 16 Jul 2008 11:45:38 GMT
iWeb presents a button to enter your own code and then drag the code in the WYSIWYG editor. In the html markup, it says for my "Bliss Gardens" page:

<iframe id="widget0-frame" src=".//Bliss_Gardens_files/widget1_markup.html" frameborder="0" style="width: 100%; height: 100%;" scrolling="no" marginheight="0" marginwidth="0" allowTransparency="true"></iframe>

This calls up a separate file "widget1_markup.html" which says:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title></title></head><body>{e-junkie code}</body></html>

where {e-junkie code} is the actual code.

For some reason, this confuses the system and unless the code is directly entered into the original page, the pop-up mechanism does not work and sometimes things do not get added to the cart correctly.

- Kourosh]]>
E-junkie Discussions; Kourosh
Post #15 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 14 Jul 2008 21:58:22 GMT
I haven't dealt with an iWeb-maintained site in a while, but IIRC, I think only the View Cart code needs to be manually pasted-in to avoid iWeb's IFRAME problem with our cart. Offhand, I can't remember if this is because iWeb only puts code snippets into an IFRAME if they have raw JavaScript in them (which View Cart does and Add to Cart does not), or if it actually IFRAMEs all code snippets but that only causes a problem with the View Cart code, but the upshot is the same -- View Cart code cannot work as an IFRAME'd code snippet and must go directly into the raw source of the page itself.]]>
E-junkie Discussions; Tyson
Post #14 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 14 Jul 2008 14:11:19 GMT
Ah - one more thing that I just remembered - the page seems to act differently if you do not include a "View Cart" button. If you experience problems, this might be another issue to consider (i.e. add a View Cart button if it wasn't there prior and see if that improves the situation).]]>
E-junkie Discussions; Kourosh
Post #13 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 14 Jul 2008 13:20:02 GMT E-junkie Discussions; shell Post #12 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 14 Jul 2008 11:26:53 GMT
You won't find anything that looks like e-junkie's code. iWeb seems to completely change it. Use the find function in textwrangler to find "iframe" and replace all of that, including the <iframe> tags, with e-junkie code, even though you supplied the code earlier in the design process. Hope this helps.

--

Also, I've noticed since i last posted that some pages will not work as above, but I haven't figured out how or why. The only thing i noticed different was that I have a movie (http://music.kouroshdini.com/Music/Video_and_Free_mp3.html) on the page and it doesn't do the pop-up thing though the download works. It also doesn't seem to register on the same cart that the other pages do when I navigate to other items. If anyone can figure this one out and post it, I'd appreciate it.

- Kourosh]]>
E-junkie Discussions; Kourosh
Post #11 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 14 Jul 2008 10:27:54 GMT
i can't find anything resembling to code that e-junkie have provided me. any tips?]]>
E-junkie Discussions; shell
Post #10 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 14 Jul 2008 10:27:53 GMT
i can't find anything resembling to code that e-junkie have provided me. any tips?]]>
E-junkie Discussions; shell
Post #9 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Sun, 13 Apr 2008 15:35:15 GMT
Glad it worked gptvan. :-)

-Kourosh]]>
E-junkie Discussions; Kourosh
Post #8 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Sun, 13 Apr 2008 15:16:43 GMT E-junkie Discussions; dad Post #7 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Sat, 5 Apr 2008 02:39:36 GMT E-junkie Discussions; gptvan Post #6 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Mon, 10 Mar 2008 03:23:51 GMT http://kouroshdini.com/Music/All_Music.html). Here's how:

1 - I published in iWeb using the e-junkie html in the widgets provided to a folder on my desktop. I replaced this code in the file later, but this will at least let you view how things will look like.

2 - Using a code editor (I like TextWrangler, which is a free editor), I opened the main pages that were published, which look like: -- pagename.html

3 - I found the e-junkie button code between <iframe></iframe> tags.

4- I then replaced that code with the direct code provided by e-junkie.

5 - Finally, I uploaded all of the files to the server.

That should do it. The only drawback is that each time you publish from iWeb, you'll have to go through the above steps to change it back. This should work as it did for me. I hope it helps!

Regards
- K]]>
E-junkie Discussions; Kourosh
Post #5 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Fri, 29 Feb 2008 04:02:06 GMT E-junkie Discussions; dad Post #4 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Thu, 20 Dec 2007 23:16:30 GMT http://www.TheRightTouchJewelry.com]]> E-junkie Discussions; NatashaSen Post #3 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Thu, 20 Dec 2007 23:16:19 GMT E-junkie Discussions; guest_user Post #2 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Thu, 20 Dec 2007 23:06:30 GMT http://www.e-junkie.com/bb/topic/1034/pg/0]]> E-junkie Discussions; NatashaSen Post #1 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 http://www.e-junkie.com/bb/topic/1342/pg/0#post7180 Thu, 20 Dec 2007 23:06:19 GMT 1. add to cart - opens up in separate window
2. view cart - when you click on it - it not only does not open but it vanishes? so you can't see your cart
3. buy now - opens in another window
I tried to put add and view together in web widget box but that didnt' work either.]]>
E-junkie Discussions; guest_user