Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
titonobre
@titonobre
Everything works fine if I set the following privileges:
  table_name: "directus_activity"
  allow_view: 0
  allow_add: 1
  allow_edit: 2
  allow_delete: 0
  allow_alter: 1
  group_id: 3
  nav_listed: 1
  status_id: 0
Cube Unit
@CUBEUNIT
how to get absolute path to file url ?
Chris Steenekamp
@chrisformula
My custom ui does not show after creating it. What am I doing wrong?
Ben Haynes
@benhaynes
Hey All – just a reminder that if you're looking for support with issues you'll want to head over to: https://slack.getdirectus.com
Gitter is community-only support, but since there are far fewer people here it's less useful. On Slack there is a community and our core staff. :)
Cube Unit
@CUBEUNIT
can someone tell me how to send email with Directus? is there some API for that?
Ben Haynes
@benhaynes
Directus is only really for content – email would be a separate transactional email service that you would add-on as needed (or using the server).
luisfavila
@luisfavila
Hi there!
Is there any way of specifing to directus API which columns of a relation should be included?
Cause right now I have a ManyToMany between X and Y, where X has Ys and Y has Xs. When I get Xs, it'll get me their Ys and the Ys Xs, which is irrelevant
Since I already got the Xs on the first level
Ben Haynes
@benhaynes
Hey – looks like you're already on Slack (saw the same question), but that's the best place for answers.
Veronica Canterbury
@vimcat
Hi all! How do I perform a custom query on my content through the api? I want to do this: SELECT id, ( 3959 acos( cos( radians(37) ) cos( radians( lat ) ) cos( radians( lng ) - radians(-122) ) + sin( radians(37) ) sin( radians( lat ) ) ) ) AS distance FROM markers HAVING distance < 25 ORDER BY distance LIMIT 0 , 20;
lat and lng are fields in the markers table
Ben Haynes
@benhaynes
Chances are you would need to fetch all this data and then filter/limit on the server. I don't know if we have a pass-through for SQL that would allow you to send vanilla (or parameterized) queries.
Veronica Canterbury
@vimcat
@benhaynes thanks for response, I suspected as much :)
César Valadez
@cesasol
Hello, recently I started using this proyect on a pilot site and I was wondering why not use any framework like vuejs or react?
Jason El-Massih
@jel-massih
Directus started long before those projects became popular. It uses Backbone.
César Valadez
@cesasol
I guess that is the same for the dependency management, and that's why there is a vendor folder for some frontend scripts
daniel
@dansup
Hello
Anyone use Laravel Valet with DirectUs?
César Valadez
@cesasol
I'm planning to, but the only relation that they may have will be mixing the content in the view
jbo
@soapoperator
Hello, i try to use the official directus container behind traefik and i get 2 issue until now:
  • i get an "bad gateway" error with traefik: https://stackoverflow.com/q/46189135/5736819
  • i get a permission error when i try to add files:
    Server Error
    Impossible to create the root directory "/var/www/html/storage/uploads".
    Any help will be apprreciate?
Ekid
@ekid
Goodday, does anybody know how to validate a user with the php sdk for the open source version? I can’t seem to find the function
Ekid
@ekid
User
Luke Bond
@superkaleider
Hey Guys, I don't know if anyone could offer a suggestion for this.. When uploading pdfs i get an error " This query failed SELECT directus_users.* FROM directus_usersWHERE id = 1 LIMIT 1". Any advice on this would be massively appreciated. On version 6.4.4. Thanks
Saurav
@csaurav
Hi, any proper guide on how to integrate Directus and memcache/redis ? Im currently running v6.4.8
andreas
@andreasvirkus
Hi, I'm hoping to start contributing to Directus' app development. I've got the vue app running, but how do I go about logging in? :D
I'm using the demo API atm
Ben Haynes
@benhaynes
Hey @andreasvirkus – for the demo API you can use these credentials: admin@example.com and password
andreas
@andreasvirkus
@benhaynes thanks! that did the trick. how would I get to the install page?
related to directus/app#964
Ben Haynes
@benhaynes
Delete your API's config file and navigate to /admin @andreasvirkus
andreas
@andreasvirkus
:ok_hand:
cheehau88
@cheehau88
Hi I have just install directus 7
I have issue creating user using api
error: {code: 301, message: "Creating item to "directus_users" collection was denied"}
I have enable the permission in the backend
anything else I need to check?
cheehau88
@cheehau88
anything able to help?
Vitaly Bogryashov
@bambus1980
hi 4 all!
twobytescy
@twobytescy
Hey guys. a quick Q. Can I enter an image URL and have a preview of that image in the grid?
image.png
nodarai
@nodarai
Hello!
Did you plan to release docker images with more recent version of Directus?
twobytescy
@twobytescy
I guess this is not a support page? :)
Ben Haynes
@benhaynes
For anyone looking to join the community discussions, head over to our Slack:
This Gitter is not maintained any more.
Clément Garnier
@cgarnier
hello