These are chat archives for luyadev/luya

19th
Feb 2016
Yohan Adi Setiawan
@kokoadi
Feb 19 2016 14:44
how to fix install command like @RGTimothy , I have same problem.
Basil
@nadar
Feb 19 2016 14:44

go into the public_html folder and run the commands like this:

php index.php <COMMAND>

(instead of ./vendor/bin/luya migrate you run php index.php migrate)
Yohan Adi Setiawan
@kokoadi
Feb 19 2016 15:00
@nadar get error (T_ENDFOREACH) views\layouts\main.php at line 56 how to fix it?
Basil
@nadar
Feb 19 2016 15:02
enable short_open_tag in your php.ini or replace the layout file (views/layouts/main.php) with the new version: https://raw.githubusercontent.com/zephir/luya/master/envs/kickstarter/views/layouts/main.php
but i would recommend to enable short open tag in your php configurations (as there could be more problems).
Yohan Adi Setiawan
@kokoadi
Feb 19 2016 15:04
how to make themes?
Basil
@nadar
Feb 19 2016 15:09
What do you mean? You can override all view and layout files and create your custom kickstart projects or using the Yii2 theming mecanisme: http://www.yiiframework.com/doc-2.0/guide-output-theming.html
Yohan Adi Setiawan
@kokoadi
Feb 19 2016 15:15
how to change german language to other language?
Basil
@nadar
Feb 19 2016 15:16
in administration or frontend context?
Yohan Adi Setiawan
@kokoadi
Feb 19 2016 15:16
administrator
Basil
@nadar
Feb 19 2016 15:17
you can change luyaLanguage propertie in your prep.php config to en, de or ru. But some parts are still in german, we are still in translation process.
Yohan Adi Setiawan
@kokoadi
Feb 19 2016 18:54
how to create sub menu ?
Basil
@nadar
Feb 19 2016 19:11
in the cms?
enable the move button and drag a page into another. then return the menu in layout file (like in the kickstarter layout).