New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install page - Local customs #83

Closed
IvaRoSoft opened this Issue Jan 10, 2019 · 8 comments

Comments

Projects
None yet
2 participants
@IvaRoSoft
Copy link

IvaRoSoft commented Jan 10, 2019

It is necessary to adapt the introductory page with local customs.


// Nev definet admin settings myhomepage
// sample Russian
$myhomepage = "glavnaja";

// index.php r. 178
if (preg_match("/\//", $page)){
if(file_exists("content/pages/".$page.$myhomepage.".txt")){
    $page = $page.$myhomepage;}
} else {
    if(file_exists("content/pages/".$page."home.txt")){
        $page = $page."home";
    } 
}

// index.php r. 43 "home" = ???

@yuzoolcode

This comment has been minimized.

Copy link
Owner

yuzoolcode commented Jan 18, 2019

I'm not sure this is necessary. This is for the demo content or in the dashboard?

@IvaRoSoft

This comment has been minimized.

Copy link
Author

IvaRoSoft commented Jan 19, 2019

This is Pulse installation, index.php.
You need to add the settings to the admin panel's settings.
.............

@yuzoolcode yuzoolcode changed the title Home page - Local customs Install page - Local customs Jan 20, 2019

@yuzoolcode

This comment has been minimized.

Copy link
Owner

yuzoolcode commented Jan 20, 2019

We've not had a request to translate the install page. This is a good idea so will consider it for a future update.

@IvaRoSoft

This comment has been minimized.

Copy link
Author

IvaRoSoft commented Jan 20, 2019

I mean the index.php opening page.
Where the "home" text adapts to the Admin panel settings.
An example for Slovak.
Administrator panel setting is "domov".
Always the home page opens "domov".
This also applies to the breadcrumb.

@yuzoolcode

This comment has been minimized.

Copy link
Owner

yuzoolcode commented Jan 25, 2019

I'm really sorry @IvaRoSoft but I don't understand this feature request 😣

  • Do you mean change this just to adapt the word "home"?
  • to offer local translations of Home content just use the "{{localizer}}" tag
@IvaRoSoft

This comment has been minimized.

Copy link
Author

IvaRoSoft commented Jan 26, 2019

This is an option in Administrator.
Which page appears as the first page instead of the "home" page.

@yuzoolcode

This comment has been minimized.

Copy link
Owner

yuzoolcode commented Feb 8, 2019

  • This is added as an option in the next update (5.2.3)
  • Allow other pages than home to be used via Settings in Admin
  • Create a page with the title you want
  • Select it in the settings and it will be the new Home

yuzoolcode added a commit to yuzoolcode/pulsecms-languages that referenced this issue Feb 8, 2019

@yuzoolcode

This comment has been minimized.

Copy link
Owner

yuzoolcode commented Feb 8, 2019

Lang settings for this option:
yuzoolcode/pulsecms-languages@adca8eb

@yuzoolcode yuzoolcode closed this Feb 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment