User page as Index page

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

User page as Index page

Postby Ashwini » 29 Oct 2015, 08:04

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 ?
Ashwini
Passer
 
Posts: 44
Joined: 03 Aug 2015, 12:41
Reputation point: 0

Re: User page as Index page

Postby fisher » 30 Oct 2015, 09:47

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?
fisher
Citizen
Citizen
 
Posts: 63
Joined: 15 Apr 2013, 09:30
Reputation point: 1

Re: User page as Index page

Postby Ashwini » 30 Oct 2015, 09:53

The page with users will totally replace the index page ?
Ashwini
Passer
 
Posts: 44
Joined: 03 Aug 2015, 12:41
Reputation point: 0

Re: User page as Index page

Postby fisher » 02 Nov 2015, 11:20

Do you mean that the page with users will be shown instead of the index page?
fisher
Citizen
Citizen
 
Posts: 63
Joined: 15 Apr 2013, 09:30
Reputation point: 1

Re: User page as Index page

Postby Ashwini » 04 Nov 2015, 07:36

yes
Ashwini
Passer
 
Posts: 44
Joined: 03 Aug 2015, 12:41
Reputation point: 0

Re: User page as Index page

Postby fisher » 06 Nov 2015, 14:24

In the file \protected\components\CustomUrlManager.php
change
Code: Select all
$rulesLang = array(
            
'/' => 'site/index'

to
Code: Select all
$rulesLang = array(
            
'/' => 'users/main/search'
fisher
Citizen
Citizen
 
Posts: 63
Joined: 15 Apr 2013, 09:30
Reputation point: 1


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 44 guests

cron