boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

include blog in my index.php

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
peridigm



Joined: 16 Jul 2004
Posts: 1

PostPosted: Fri Jul 16, 2004 1:38 am    Post subject: include blog in my index.php Reply with quote

I am using ipower web. The default template is in the folder
mydomain/v-web/b2/index.php

I tried to use
<?php include ("v-web/b2/index.php"); ?>
to include the blogs in my index.php but I get the following error

Warning: main(v-web/b2/index.php): failed to open stream: No such file or directory in /home/cfcrsorg/public_html/test.php on line 10

Warning: main(): Failed opening 'v-web/b2/index.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/cfcrsorg/public_html/test.php on line 10


Is this not allowed. I normally use ASP but am doing this for a friend and this is what I have to work with.
Back to top
View user's profile Send private message
scd1



Joined: 11 Jul 2004
Posts: 5

PostPosted: Sat Jul 24, 2004 12:29 am    Post subject: IPower Web Reply with quote

I also use IPower Web as my host, and I faced a similar problem. What I did, so I didn't have to mess around with moving files/re-naming files that are linked to the b2 blog, was just make a redirect to mydomain/v-web/b2/index.php.
The option is located in the website administration (yourdomain.com/vdeck) under settings >> redirects. Once in the Redirects section, type "/index.html" in the first box, and "http://yourdomain.com/v-web/b2/index.php" and obviously replace "yourdomain.com" with your domain name.

You can see how I have mine set up by going to http://conservativeposts.us , and notice once you get to the site, the address in your browser's bar, will switch to "http://conservativeposts.us/v-web/b2/index.php"

It's virtually transparent to users, unless they're paying close attention to the address bar, so I don't have much of a problem with it. I know this probably isn't the only solution, but like I said, I really didn't want to mess around with it too much.

Hope this helps,
Scott
_________________
-Scott
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group