Page 1 of 1

User page as Index page

PostPosted: 29 Oct 2015, 08:04
by Ashwini
How to configure Users page i.e "http://localhost/OpenRealEstatePROV1.14.0/users/viewall " as index ( home ) page.
when i open the website , i want to display Users page as home page , instead of current home page.
please suggest me , how to configure this ?

Re: User page as Index page

PostPosted: 30 Oct 2015, 09:47
by fisher
Would you like to show users only when users opens the site for the first time or the page with users will totally replace the index page?

Re: User page as Index page

PostPosted: 30 Oct 2015, 09:53
by Ashwini
The page with users will totally replace the index page ?

Re: User page as Index page

PostPosted: 02 Nov 2015, 11:20
by fisher
Do you mean that the page with users will be shown instead of the index page?

Re: User page as Index page

PostPosted: 04 Nov 2015, 07:36
by Ashwini
yes

Re: User page as Index page

PostPosted: 06 Nov 2015, 14:24
by fisher
In the file \protected\components\CustomUrlManager.php
change
Code: Select all
$rulesLang = array(
            
'/' => 'site/index'

to
Code: Select all
$rulesLang = array(
            
'/' => 'users/main/search'