GrafiteInc / CMS

Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.
https://cms.grafite.ca
MIT License
495 stars 104 forks source link

questions/issues with page #175

Closed khyoz closed 5 years ago

khyoz commented 5 years ago

I want to create a page (kind of static page) : let say Contact how can I display the url like : myproject.com/contact instead of myproject.com/page/contact ? I can create a standard view and route for contact (kind of static page) but then I cannot use the translation tool provided by GrafiteCMS...same for services, about, GDPR, etc Is there a way to do that easily ? I thought about duplicating Pages to StaticPages and removing the page from url, or maybe adding a parameter in the Pages table for dynamic/static....what do you think about ? And how to add the language somewhere in the url....ex: myproject.com/contact/en or myproject.com/en/contact ?

Also notice that the content field is very small, too small page_content

khyoz commented 5 years ago

Just found the solution for url into the documentation. I close the comment. Sorry for the question. But really field for content is too small, it should be greater or extensible.