Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 05 08:28
    sdebarun commented #197
  • Jul 12 09:08
    mattkatt edited #198
  • Jul 12 09:07
    mattkatt opened #198
  • Jul 07 14:27
    jmazier-j2d commented #197
  • Jul 07 14:27
    jmazier-j2d commented #197
  • Jul 02 09:48
    jmazier-j2d commented #197
  • Jun 08 22:31
    phpSal commented #197
  • Jun 08 22:26
    phpSal commented #197
  • May 31 23:14
    ddjikic commented #187
  • May 13 18:06
    ddjikic opened #197
  • Apr 18 09:55
    sabinakaczor closed #196
  • Apr 18 09:41
    sabinakaczor opened #196
  • Apr 17 12:26
    tchapi opened #195
  • Mar 18 20:04
    yapsr commented #168
  • Mar 08 19:02
    yapsr commented #168
  • Feb 24 14:49
    REPTILEHAUS commented #49
  • Feb 23 17:10
    REPTILEHAUS opened #194
  • Feb 18 00:48
    mlantz commented #193
  • Feb 06 06:03
    karjogedhe commented #188
  • Feb 06 05:55
    karjogedhe commented #188
Alexandru Bucur
@CoolGoose
@mlantz quick one going over grafite.ca . can you lkink the title or have a view on github button for the packages ? just clicking the icon seems a bit unintuitive :)
Trouble
@kirapwn_twitter
@mlantz Hey Matt, how would you suggest to update from old quarx repo to new one? I see that composer name also changed to Grafite. I have a project with some code adjustments and would like to move it to the new repo.
Trouble
@kirapwn_twitter
I just forked the Graphite/CMS and merged from upstream to my project, worked fine.
Trouble
@kirapwn_twitter
Is there a sass/less file for precompiled backend themes? Standard and dark ones
Trouble
@kirapwn_twitter
I see its based on https://bootswatch.com/, can use their repo :) Awesome!
Maybe it would be nice to include this in the CMS
Trouble
@kirapwn_twitter
I have a potential architecture issue with translations
If I build multilanguage website and my /en/home (this url is already working by adding a new showi18n method on PageController
but than you are on the German version of the page and the link is /de/startseite. Than do I have to refactor how PageReposotiory works?
I guess adding parent() relation on the Translation model would do. So than small refactor of PageReposotiory would solve it
Trouble
@kirapwn_twitter
No, still not. I have /de/startseite in browser URL and how do I know its the translation of id 5 for example? As the actual URL is inside the json entity_data
Trouble
@kirapwn_twitter
I have found findByUrl function. But thats a bit of a hack
However it is checking for $item->data->is_published == 1 but translation table has no is_published attribute
Trouble
@kirapwn_twitter
Actually it does go parent model so to the Page, my is_published and published_at were null because I did not publish the translation in the CMS.
Matt Lantz
@mlantz
Hey @CoolGoose good idea
Hey @kirapwn_twitter this is many points in various order. I'm doing some refining of the translations currently if its a persisting issue please make an issue in Github so I can track it there.
Trouble
@kirapwn_twitter
@mlantz alright, I will check it and let you know once there is a new version. My biggest issue is the way findByUrl is implemented. I would love to have some kind of URI relation (parent -> actual_translations), this way you can always go to parent and translate it in given language just having the slug, instead of using a query with Like.
Relations can be eager loaded which is a big deal for me.
Matt Lantz
@mlantz
Hey @kirapwn_twitter regarding translations I had to delay some of that for the v3.1.x patches. I have a few ideas, but haven't had as much time to focus on the translations portion. I'll keep you posted as I work through things. Thanks again for your suggestions
slayer49
@slayer49
@mlantz Is it possible to extend the core modules and backend controllers? for example extend blog to include author, etc?
Matt Lantz
@mlantz
Yup, all you really need to do is create a migration for the authors, then you can make an author's module, then you could connect them using the FormMaker, the whole backend UI is customizable, its in the vendor directory for resources, everything you'd need is in the docs https://docs.grafite.ca/cms/