Dual Main Page

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
ikmal.adri
Rank 0
Rank 0
Posts: 2
Joined: August 11th, 2009, 12:19 am

Dual Main Page

Post by ikmal.adri »

Hi Paul and All,

I have a scenario. I'm trying to create 2 main/front page.
Let us assume 1st main page is MainPageA, and the 2nd main page is MainPageB.

Scenario 1
A user who is not registered or did not login to my webpage will be directed to MainPageA

Scenario 2
A user who logs in will be directed to MainPageB, but he will be greeted with MainPageA in the first place as he has to log in first.

How do I do this?
My coding skill is not that good...

FYI, i'm using GumaxV to develop.
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Dual Main Page

Post by Paul »

The main page is controlled by mediawiki at page MediaWiki:Mainpage.

I think you need an extension to do this, don't put this in skin since this is functionality. Try to google it...
User avatar
mac77
Rank 2
Rank 2
Posts: 12
Joined: March 1st, 2009, 3:20 pm

Re: Dual Main Page

Post by mac77 »

I have a scenario. I'm trying to create 2 main/front page.
Let us assume 1st main page is MainPageA, and the 2nd main page is MainPageB.

Scenario 1
A user who is not registered or did not login to my webpage will be directed to MainPageA

Scenario 2
A user who logs in will be directed to MainPageB, but he will be greeted with MainPageA in the first place as he has to log in first.
This is already a feature of MediaWiki starting at v1.15.0, here is the link to the manual

http://www.mediawiki.org/wiki/Manual:$wgRedirectOnLogin
User avatar
Paul
Development Team Leader
Development Team Leader
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Dual Main Page

Post by Paul »

So if you are using mediawiki 1.15, does it work now?

The skin should not affect this feature.
User avatar
sarabon008
Rank 0
Rank 0
Posts: 1
Joined: August 23rd, 2009, 5:56 pm

Re: Dual Main Page

Post by sarabon008 »

Hi !
i am new in this forum and i want to learn from here.
so i wish you guys will help me.
Thanks.
User avatar
ikmal.adri
Rank 0
Rank 0
Posts: 2
Joined: August 11th, 2009, 12:19 am

Re: Dual Main Page

Post by ikmal.adri »

Hey thanks.

Sorry for replying late.
User avatar
clickshop
Rank 0
Rank 0
Posts: 1
Joined: September 25th, 2009, 2:05 pm

Re: Dual Main Page

Post by clickshop »

is it possible using same site ,i show many homepages according to the product!!?
User avatar
mtsdesignss
Rank 0
Rank 0
Posts: 2
Joined: December 13th, 2009, 1:56 pm

Re: Dual Main Page

Post by mtsdesignss »

Hello,

It is very useful and this feature is available in MediaWiki, thanks for the link.
Post Reply