Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Including OSC by SSI or Virtual Call


diva_uno

Recommended Posts

I thought it would be easier instead of going through script after script and modifying it maybe to just call your catalog into a page through SSI or PHP Virtual Call. That way the only thing you would really have to modify is your stylesheet. Makes sense. :wink:

 

But I just wanted to know if anyone knew how this could be acheived?

Thank You

Your help is appreciated. :D

Link to comment
Share on other sites

don't bump. Read the forum rules.

 

And no, it doesn't make sense. At least not to me.

osC is allready stylesheet based...

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

dumping is slang English for going to the toilet.

Or telling your girlfriend you finally decided sex with males is more enjoyable.

That'll make her feel dumped.

 

Bumping is adding non-constructive content to your own message to get it back to the top of the mailing list. Which is against the forum rules.

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

This is the weirdest community I have ever been a part of. All every does is say how stupid you ask your questions. Tell you there are these weird rules. I'm not using bad language or anything.

All I want is some help. I just want to virtually include the catalog. I guess I could always do it with iframes...But I don't want to go through and edit like 10 or so scripts just to incorporate it into the site.

This program is great. But the support here sucks! The people suck and are rude and unhelpful!!!

Every post I have made I've been kicked for this...snapped on for that. Can a person just get some help without someone telling them there are all these rules, telling them their question is stupid and that their ideas make no sense?

:evil:

Link to comment
Share on other sites

This is the weirdest community I have ever been a part of. All every does is say how stupid you ask your questions. Tell you there are these weird rules. I'm not using bad language or anything.

All I want is some help. I just want to virtually include the catalog. I guess I could always do it with iframes...But I don't want to go through and edit like 10 or so scripts just to incorporate it into the site.

This program is great. But the support here sucks! The people suck and are rude and unhelpful!!!

Every post I have made I've been kicked for this...snapped on for that. Can a person just get some help without someone telling them there are all these rules, telling them their question is stupid and that their ideas make no sense?

:evil:

 

You get what you pay for. How much have you paid ? We are other users, unpaid helping you out with your problems. The Core Team are coders, they code the scripts - if you want intensive help, be prepared to PAY for it, try asking one of them how much they would charge to help you to do what you want...

 

Your request makes no sense whatsoever - try www.php.net/include

Link to comment
Share on other sites

Your request makes no sense whatsoever - try www.php.net/include

In your opinion. But if it made no sense then why would they create codes where you can include a page into page. What makes no sense is to go through every script and editing it to look like your site instead of just embedding it into your page.

Link to comment
Share on other sites

Can a person just get some help without someone telling them there are all these rules, telling them their question is stupid and that their ideas make no sense?

 

Noone said your question was stupid. I just pointed out that bumping the posts was against the rules and asked you to read the rules.

Then I replied to your question 'if it made any sense':

And no, it doesn't make sense. At least not to me.

 

And now I see you reply to Burt:

In your opinion. But if it made no sense then why would they create codes where you can include a page into page.

Hmmm... Why would they create guns if you're not allowed to shoot anyone with it?

What makes no sense is to go through every script and editing it to look like your site instead of just embedding it into your page.

Perhaps it would be wise if you did some research on osCommerce first before asking questions...

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

What would it take to install the shop properly and make it look like your site ?

 

Not long for someone who knows their way around a stylesheet and the Oscommerce files. I guess you don't know your way around to be able to do this within an acceptable timeframe, so your options are;

 

- pay someone else to do it

 

- mess around with an iframe

 

- mess around trying to "include" it into an existing page

 

Good luck. As I said before, we are not paid to help. Try www.php.net/include

Link to comment
Share on other sites

What would it take to install the shop properly and make it look like your site ?

 

Not long for someone who knows their way around a stylesheet and the Oscommerce files. I guess you don't know your way around to be able to do this within an acceptable timeframe, so your options are;

 

- pay someone else to do it

 

- mess around with an iframe

 

- mess around trying to "include" it into an existing page

 

Good luck. As I said before, we are not paid to help. Try www.php.net/include

 

Thank you. There are many other Open Source software communities who also aren't paid to help...and you know what? They help. I have been in front of my computer doing my own work and helping someone on another community with a problem they were having. Because one good turn deserves another. I don't think that I was absolutely asking anything that was out of the way for people who know php well. But I guess those who are concerned about money would never put out an open source script such as this.

 

I know I can copy all the scripts from the catalog into a template of my site. And I know how to edit stylesheets. I have already tested this. I just didn't want to go through the trouble of doing this for each page within the catalog. I just thought doing an include would be easier. So when I tried to do the basic php include code it didn't work. So I figured someone here whould have an idea how to do it where it works.

I searched the forum and found one person who had a code that showed how to do it...but the code was not there in the post http://www.oscommerce.com/forums/viewtopic.php?t=20260

But I'll figure it out.

Link to comment
Share on other sites

You asked a bad formulated, non-sense making question...

then you bump your message...

and yet you still got usefull replies from this community

(which you feel isn't helpfull / doesn't know php etc)

 

So now you come round just to tell us how fantastic other Open Source communities are?

And that you found this other thread but 'You'll figure it out'?

 

So what is your point???

Or do you perhaps just want to ask another question?

If so please do but do not critisize people that try to help you.

As a general rule it does not motivate them.

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

  • 1 year later...

I did some investigating on this topic myself to incorporate a PHP image gallery (4images PHP program) inside my PHP OSC system program.

 

After hours of looking I stumbled across a short but sweet page with the simple solution.

 

 

NOTE -

 

1) Leave out the meta refresh tag.

2) in your test.htm you CAN name it yourfilename.php

 

Example of my iframe call in my gallery.php file -

 

<!-- Gallery Script Begin //-->

<IFRAME width=100% height="1200" SRC="galleryi.html" frameborder="0" marginwidth="0" marginheight="0" scrolling="no">
</IFRAME>

<!-- Gallery Script EOF //-->

 

And the call in the 2cd file which call and interprets the PHP file you wish to load, in this case I named it galleryi.html

 

<html>
<head></head>
<body>
<h2><font face="arial" color="green"></font></h2><br><br>
<Iframe src="gallery/index.php" width="100%" height="1195" frameborder="0" marginwidth="0" marginheight="0" scrolling="no">
</Iframe>
</body>
</html

 

Voila! No fuss, no muss!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...