These are chat archives for luyadev/luya

7th
Oct 2016
Basil
@nadar
Oct 07 2016 06:07
No, but maybe you could use the meta description to set this long text and then display it in your view? Or of course you could create a page property in order to display data at some point in your application: https://luya.io/guide/app-cmsproperties
Klaus Mergen
@KlausMergen_twitter
Oct 07 2016 06:42
But where I can now set the name of the menu item for this page e.g Homepage, Page2, Page3 and so on.
Basil
@nadar
Oct 07 2016 06:43
Bildschirmfoto 2016-10-07 um 08.45.08.png
Use the EDIT (pen) Button
Then you can edit the name of your page. Screenshot taken from demo.luya.io
Bildschirmfoto 2016-10-07 um 08.46.25.png
Klaus Mergen
@KlausMergen_twitter
Oct 07 2016 06:56
blob
Yes I have seen this but then is the page title the same as the menu item. I think the page title and the menu item name is often different, Also for seo reasons
JDL
@JDL747
Oct 07 2016 08:24
Hi, I've been experimenting with Luya recently and I must say... what a nice job ! I would liked to know what is the best approach to implement a template like this http://ahmedessa.net/box/ ? Do I have to create a custom module ?
Basil
@nadar
Oct 07 2016 11:08

@KlausMergen_twitter Yes, we are thinkg about this too, it should be like the meta description and tags field. maybe create an issue so are going to implement this!

@JDL747 Thank you. I don’t think a module is necessary for this kind of design. Just implement the design into the layouts file based on the „rules of Yii“ :-)

@JDL747 Modules are good containers to store controller, model and views. So based on your url you have provided, a good module would be a „product module“ where you can add a controller with a detail for the projects (http://ahmedessa.net/box/single-project.html) and also an administration interface which is part of the module. this is what modules meant to be