NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

PortalPage
Started by RyuZockt

RyuZockt

RyuZockt

Member
Joined
23 Aug 2016
Last Seen
14 Apr 2017
Topics
5
Posts
7
Is it possible to use a portal page with nameless?

i want to move the nameless home to myurl.com/home and the forum to myurl.com/forum

is this possible?
x1
RyuZockt · over 7 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
06 May 2024
Topics
41
Posts
1054
This is possible in the upcoming version 2 release (which has built-in support for portal pages), however not version 1 I'm afraid.
x2
Samerton · over 7 years ago
ThatTonybo

ThatTonybo

Contributor
Joined
05 Mar 2017
Last Seen
18 May 2018
Topics
5
Posts
13
Wouldn't you just be able to "somehow" make a custom page and make that page the homepage?
ThatTonybo · over 7 years ago
RyuZockt

RyuZockt

Member
Joined
23 Aug 2016
Last Seen
14 Apr 2017
Topics
5
Posts
7
Samerton:
This is possible in the upcoming version 2 release (which has built-in support for portal pages), however not version 1 I'm afraid.

In wich folder should i place the portal files?
RyuZockt · over 7 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
06 May 2024
Topics
41
Posts
1054
In version 2, your portal HTML must be in the custom/templates/*template*/portal.tpl file.
You can add any custom CSS into the custom/templates/*template*/css/custom.css file, and images can be uploaded anywhere but make sure that if your CSS refers to any custom images that the paths match.
Javascript can be added into custom/templates/*template*/template.php file, within the $js variable which starts on line 45.
Samerton · over 7 years ago
badbojus

badbojus

Contributor Member
Joined
15 Aug 2016
Last Seen
30 Oct 2017
Topics
17
Posts
60
I saw pretty few namelessmc v.1 websites which has custom portal pages. So it is possible i believe.. :P
badbojus · over 7 years ago