Setting Forum.php The Homepage »  Show posts from    to     

Icy Phoenix


Old Support Topics - Setting Forum.php The Homepage



Structor [ Thu 26 Mar, 2009 10:38 ]
Post subject: Setting Forum.php The Homepage
Hello
I want to set forum.php as the homepage. How could i do that?
Thank you!


Mighty Gorgon [ Thu 26 Mar, 2009 12:36 ]
Post 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?


Structor [ Fri 27 Mar, 2009 00:09 ]
Post 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


TheSteffen [ Fri 27 Mar, 2009 10:26 ]
Post 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: [Hide] [Select]
define('PORTAL_MG', 'index.' . $phpEx);


So the link will point where you like.


Structor [ Fri 27 Mar, 2009 23:01 ]
Post 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


novice programmer [ Sun 29 Mar, 2009 15:36 ]
Post 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: [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: [Hide]
  1. define('PORTAL_MG', 'forum.' . $phpEx);


just copy and paste

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.


Structor [ Sun 29 Mar, 2009 16:57 ]
Post subject: Re: Setting Forum.php The Homepage
With all due respect, I don't know where to insert that line.




Powered by Icy Phoenix