Setting Forum.php The Homepage


Subject: Setting Forum.php The Homepage
Hello
I want to set forum.php as the homepage. How could i do that?
Thank you!

Subject: Re: Setting Forum.php The Homepage
Only the link in header and menu block or even in breadcrumbs?

Are you using the portal or not?

Subject: Re: Setting Forum.php The Homepage
No I am not usig the portal, the main page has to be the forum page. When I go on www.doizecisti.ro I want to enter directly on the forum.php page, not index.php
This is what my users demand :)

Sorry, not "my" users, the users from the site I administrate :)

Subject: Re: Setting Forum.php The Homepage
Try this: index should be forum

Mighty Gorgon wrote: [View Post]
Or you can edit constants.php:

Code: [Download] [Hide] [Select]
define('PORTAL_MG', 'index.' . $phpEx);


So the link will point where you like.

Profile PM  
Subject: Re: Setting Forum.php The Homepage
I made that modification, but is still going to portal page when I enter www.doizecisti.ro in browser

Subject: Re: Setting Forum.php The Homepage
TheSteffen wrote: [View Post]
Try this: index should be forum

Mighty Gorgon wrote: [View Post]
Or you can edit constants.php:

Code: [Download] [Hide] [Select]
define('PORTAL_MG', 'index.' . $phpEx);


So the link will point where you like.


OMG!

did you set the define('PORTAL_MG', 'index.' . $phpEx); this way:

Code: [Download] [Hide]
  1. define('PORTAL_MG', 'forum.' . $phpEx);


just copy and paste :shock:

EDIT:
I see what happens. the portal link changed, but no more.

Set after the includes commands this one:

redirect('PORTAL_MG' . 'forum.' . $phpEx);

That will redirect users when loading the page.

Profile PM  
Subject: Re: Setting Forum.php The Homepage
With all due respect, I don't know where to insert that line. :oops:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.7968s (PHP: 2% SQL: 98%)
SQL queries: 31 - Debug Off - GZIP Enabled