Log in

View Full Version : Using a different directory


manuka
04-19-2006, 10:58 AM
Hi, I have installed the vBadvanced CMPS addon and pretty much have it working within the forums directory. However, I want to use the cmps_index page as the index page at the top level of the public directory.

I might have missed another post on a similar topic, but all searches have led to dead ends. Does anyone have some advice?

Zachery
04-19-2006, 11:03 AM
Just update cmps_index.php file and all will be well (the path).

manuka
04-19-2006, 11:29 AM
Thanks for the tip, but I might need further advice.
I saved the cmps_index.php file as index.php in the root directory. Then I commented out the chdir('forum'); command. This results in a page with broken images and links.

Not sure what to do from here....

manuka
04-21-2006, 10:14 AM
Well, after a bit of mucking around, I got this to work. It was a case of changing directories, connecting to global.php and then changing directories again.
Once that was working, some extra php was required to link up the style sheets. It's a tiny bit back and forth, but works really really well!

If anyone is interested in the method, I can post the code here.

Zachery
04-21-2006, 01:28 PM
...

Why so much extra work for a 1 line setting change in the cmps_index.php file?