View Full Version : Place directory within another page
John D
12-13-2005, 04:05 PM
Hey,
Can I place the directory within another PHP page?
I am using the same design on all pages and I would like to place the directory within the content area, can I do this without edit the templates of PHPLD?
Thanks
David
12-13-2005, 04:27 PM
The only method I could imagine would be frames.
You could probably do some php includes of your content into php link directory, but not the reverse.
It's a similar challenge to trying to embed something like phpbb or vBulletin. There are too many dependent files needed.
You could certainly imbed some limited features in an existing page.
Here is an example:
http://www.querycube.com/
Even that would take at least couple of hours of time by a programmer that know what they are doing.
mdvaldosta
12-13-2005, 04:34 PM
Open the page you've already designed, put a table where you want the directory to appear, then go to the source and take everything above it and put it in header and everything below it and put it in the footer. The directory will run in your table. You'll have to tweak it some to get it laid out right, and play with the main.css - be sure that you don't assign meta and title tags twice.
John D
12-13-2005, 04:35 PM
I am trying to integrate this into vBulletin using vBulletin's API.
Here is an example of a normal page integrated with their API:
Http://www.DeuceAce.com/advertise.php
Is there no way I can include the directory within the content area of the page or do I have to edit the template files of the directory itself?
David
12-13-2005, 06:48 PM
It would be quite possible to integrate with vBulletin, but I think much depends on how far you want to pursue this. It will take good deal of time and effort to do this. I would love to see it happen, but it's going to take some pretty heavy duty coding to integrate the two.
It would be a nice new feature of php LD. Maybe if we get this to work, we could sell php LD for VB. ;)
John D
12-13-2005, 07:11 PM
I don't need the script integrated, just the design/templates.
Will I just have to edit the header/footer/CSS myself?
David
12-13-2005, 07:15 PM
Yes, you could do something similar to what was done here in this forum. We integrated phpbb with Mambo, but just by changing the template files. While there was a release for phpbb in mambo, it was not up to date, and therefore a security issue.
vBulletin® v3.8.0, Copyright ©2000-2012, Jelsoft Enterprises Ltd.