Trying to integrate my site.

Started by TerabyteUK, July 26, 2007, 11:03:55 PM

Previous topic - Next topic

TerabyteUK

Hi,
Just made a fresh install of a board here: http://www.darkdayssoftware.com/index.php?page=support [nofollow]

The board is shown as an include file in the sites main index.php file.

What I want to do is make it so that all the links are routed through this /index.php page..

So for example:

The link for the default board ("General Discussion") would not be
http://darkdayssoftware.com/trial/index.php?board=1.0 [nofollow]
but instead would be
http://www.darkdayssoftware.com/index.php?page=support&board=1.0 [nofollow]

so basically keeping "../index.php?page=support"
as a prefix to any link on the support page

Is this possible?

Just to clarify what my sites index.php page does to include the forum index page....

switch ($page) {
case "support":
   include('trial/index.php');
   break;
case ...

...}

TerabyteUK

Ok, so i've decided to do it differently.

I've placed my main site design in the forums index.php file.
So www.darkdayssoftware.com/forums/index.php [nofollow]
Contains my main site design, and somewhere in the middle lies the original smf index.php file

Problem now is, If I log in, or log out... It will perform the operation, but it won't show the central column (where the forum 'page') is displayed).


Advertisement: