Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Integrating "PHP Directory Source" into osc


Recommended Posts

Posted

I am working on integrating an open source package called PHP Directory Source into my new osc shop. The original package and an online demo can be found here:

 

http://www.phpdirectorysource.com/

 

 

The app (running by itself) can be viewed on my webserver here:

 

http://www.myriad-designs.com/oscommerce/testpds/

 

 

 

This directory package is perfect for the project I'm working on (I've tried countless others... this is the ONLY one with all the features I need), but it needs to be integrated into the osc environment. Basically, I would like to run PHPDS, maintaining its full functionality, within the header, footer & infoboxes of oscommerce. I would like to know if anyone has attempted this before, knows of a solution, or could provide a little help in pointing me in the right direction.

 

 

My simple (failed) attempt at integrating it into osc may be viewed here:

 

http://www.myriad-designs.com/oscommerce/directory.php

 

 

In the previous example, all I really did, was duplicated an existing osc page (shipping.php), removed the references to shipping information, and added "<?php include('http://www.myriad-designs.com/oscommerce/testpds/index.php'); ?>" ---which is the main page of PHPDS.

The main problem I am having is this: When you click a link in the PHPDS portion, it will bring up the new page, but without the osc portions around it. I know, this is where my limited knowledge of php becomes blatantly obvious... Does anyone know of a relatively simple solution to effectively "contain" another web app within osc? Perhaps there is an instance where someone did the same with another application, like a bulletin board or gallery? It seems possible- Perhaps the experts could help me with this one? :)

 

 

Thanks so much!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...