Jump to content
  • 0

Question

Posted

Hye Eathenaians, < is this acceptable? :)

I have a problem with my website. I a Flux CP and I wanted to put a new web template.

This is my original website :

MainWebsite.png

this is my orginal website and I wanted to change it to this template :

NewWebsite.png

I've opened the public_html at winscp :

public_html.png

and I copied all the files all in the public_html files into a new files CP (public_html/cp)

then I copied the new template folder into the public_html folder :

cp.png

Then I edited the html code and make sure that control panel tab link to public_html/cp

cpdir.png

I saved it and when I clicked the control panel tab it don't show my original website :

final.png

Well all I want to do is to make a new cover for my website before they can register or login. So when people click the Control Panel tab it will direct to the 1st (Original website) and how can I do that?

Is there anything I must edit? Please help me :)

3 answers to this question

Recommended Posts

  • 0
Posted

Open /config/application.php:

Find:

'ServerAddress' => '/cp:80', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)

and change it simply to

'ServerAddress' => '/', // This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)

That should clear it up.

  • Upvote 1
  • 0
Posted (edited)

It's because you installed on the /home/ directory firstly so they stored the config to load

all the resources for the flux in /home/ not the /home/cp/

/cp/config/application.php

'BaseURI'			  => '',					   // The base URI is the base web root on which your application lies.

and add

/cp/config/application.php

'BaseURI'			  => 'cp',					   // The base URI is the base web root on which your application lies.

Edited by 2essy2killu
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...