X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   static pages and frames? eeeek (https://forum.x-cart.com/showthread.php?t=38891)

seaCOAST 04-07-2008 05:20 PM

static pages and frames? eeeek
 
I'm trying to make a static embedded page that will run an off-site script, but will not take the user to the other site. I used frames in html for this before, but I'm not sure how to implement this in X-cart. Any ideas?

balinor 04-07-2008 07:02 PM

Re: static pages and frames? eeeek
 
You could use an <iframe>

seaCOAST 04-08-2008 02:23 AM

Re: static pages and frames? eeeek
 
Quote:

Originally Posted by balinor
You could use an <iframe>


Thanks balinor, but could you please give me an example if <iframe> usage in my case.

It's not exactly my strong suit. ;)

Thank you!

balinor 04-08-2008 04:04 AM

Re: static pages and frames? eeeek
 
http://www.w3schools.com/TAGS/tag_iframe.asp

seaCOAST 04-08-2008 02:30 PM

Re: static pages and frames? eeeek
 
Thank you! That put me in the right direction. :)

seaCOAST 04-08-2008 05:08 PM

Re: static pages and frames? eeeek
 
Much simpler than I expected.

The only thing that seem strange, is when I'm in static-page edit mode, it seems to constantly refresh. (not for the basic html page, but for the <iframe> page.

Has anyone experienced this?

balinor 04-08-2008 05:16 PM

Re: static pages and frames? eeeek
 
You'll get lots of unexpected results with iframes, as they are not really used much anymore, or supported. Also remember that SE's won't count anything in an iframe towards your site's PR or content.

seaCOAST 04-08-2008 05:18 PM

Re: static pages and frames? eeeek
 
Quote:

Originally Posted by balinor
You'll get lots of unexpected results with iframes, as they are not really used much anymore, or supported. Also remember that SE's won't count anything in an iframe towards your site's PR or content.


Hmm..so <iframes> are basically archaic? lol

Is there a better standard that would work?

Thanks for all your help.

balinor 04-08-2008 05:19 PM

Re: static pages and frames? eeeek
 
As a general rule, you don't want to run or call ANYTHING from offsite, as it will generate problems when in https mode. Any way you can run the script locally?

seaCOAST 04-08-2008 05:27 PM

Re: static pages and frames? eeeek
 
No unfortunately..the script has to run remote. As of right now, I don't have to worry about https since I'm using only PayPal and I'm not using https for registration or anything else.

On the user side..the iframe works fine. It's only when editing the iframe page in the ACP where its constantly refreshing.

BTW balinor, would you please take a look at my post http://forum.x-cart.com/showthread.php?t=38890 if you haven't already. It's in Program Logic. I need to get this figured out if possible.

Thanks in advance!

balinor 04-08-2008 05:32 PM

Re: static pages and frames? eeeek
 
Can't help you with that other one, sorry :(

seaCOAST 04-08-2008 05:33 PM

Re: static pages and frames? eeeek
 
Quote:

Originally Posted by balinor
Can't help you with that other one, sorry :(


No problem..thanks just the same. :)


All times are GMT -8. The time now is 01:30 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.