-
Notifications
You must be signed in to change notification settings - Fork 26
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
"view file can not be blank", "json config cannot be blank" while creating layout from admin panel #19
Comments
@igorveremsky layouts must be provided trough import command, but yes there should not be an add button indeed :-) Read more about layouts: https://luya.io/guide/app-cmslayouts I am going to make an issue for the "wrong add button". |
@nadar i also cant do this :) i create 2columns.json: {
"rows" : [
[
{"cols": 8, "var": "left", "label": "Main content Left"},
{"cols": 4, "var": "right", "label": "Sidebar Right"}
]
]
} 2columns.php: <div class="row">
<div class="col-md-6">
<?= $placeholders['left']; ?>
</div>
<div class="col-md-6">
<?= $placeholders['right']; ?>
</div>
</div> at views/cmslayouts folder. Than i run luya import and get: What can be wrong? |
You have to run the luya bin outside of the vendor folder. On windows its best way to use php index.php import in the public_html folder. Go to iv-luya.local/www/public_html and or maybe run |
|
Maybe there is also another solution to run the composer vendor bin files on windows. |
I create project using instruction from https://luya.io/guide/install-windows link , than i test them and trying to add new layout from admin panel and i get this error:
The text was updated successfully, but these errors were encountered: