Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

How to add the first page? #84

Closed
henrypenny opened this issue Aug 20, 2014 · 6 comments
Closed

How to add the first page? #84

henrypenny opened this issue Aug 20, 2014 · 6 comments

Comments

@henrypenny
Copy link

It seems with out a homepage there's no means to add a node?

@henrypenny
Copy link
Author

I think this is only a problem if you aren't using the 'en' locale.
The fixtures appear to create en and nl translations. Not a translation for each local defined in the config.

@Mopster
Copy link

Mopster commented Aug 20, 2014

When you go to the page in the admin in the desired locale, there's the option to create a new clean version of the homepage in that locale or to copy the content from another locale. Once that's done, you can do everything else.

@henrypenny
Copy link
Author

In my situation there were no pages at all visible in the pages section under any locale.
Its a bit of an edge case since I didn't specify either the en or dl locales.

From the fixtures:

$translations[] = array('language' => 'en', 'callback' => function($page, $translation, $seo) {
.....
$translations[] = array('language' => 'nl', 'callback' => function($page, $translation, $seo) {
.....

They are hard coded ... so if you happen to have not chosen 'en' or 'dl' during your setup you're stuck with no visible nodes and no means to create one.

I think if its worth fixing, then a button to "Create home page for locale 'xx'" would solve it.

@sebheitzmann
Copy link

I had the same problem with a fr locale. It's very confusing.

@denbatte
Copy link
Contributor

I think this has been fixed when upgrading the generatorBundle in the Kunstmaan CMS 3.1 version.

@henrypenny
Copy link
Author

I don't think I'll have a chance to check this for a while.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants