Mo

Or do I just have to do something like $group->Permissions()->find("Code", "MY_PERMISION");?

✔️ (1)
Mo

Is there a way of checking if a Group has a particular permission?

Mo

You know it is going to be "one of those days" when you run ./vendor/bin/sake dev/build instead of ./vendor/bin/dep deploy and then spend 10 mins trying to work our why it didn't deploy...

🤓 (1)
Mo

That is probably skirting dangerously close to the truth...

Mo

As far as I can see though no one has compared any one else to Hitler...

Mo

Compiling/Minifing all your CSS/JS into single files should help with that

StefGuev

Am I wrong when telling that not all thirdparty librairies can be compiled with other? Like Font awesome that include other files on a parent directory?

Mo

if you have pulled Font Awesome (or similar) down into your project, you should still be able to add it to a single file

Mo

Usually I pull all libs in first, then add my own CSS below

StefGuev

ok all my thirdparty libraries are in my app/thirdparty folder. Is it better to add them directly on theme directory instead?

Mo

Oh yea, I forgot, if you want to just combine/minify CSS/JS you could just use Requirements::combine_files()

StefGuev

The combined files are stored into assets. So in layout.css using background image in parent directory are broken...


Show less replies