by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
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
Ashvin Patel
@ashvin27
Hello
devsensa
@devsensa
Hi everyone! Help me understand how I should input default value for field?
Vincent van Proosdij
@vip32

anyone familiar with the following issue: tables are not created wenn running in docker-compose

Statement could not be executed (42S02 - 1146 - Table 'directus.directus_settings' doesn't exist)

this is the compose file: https://github.com/vip32/docker-directus/blob/master/docker-compose.yaml

Patrick Corkery
@patricktsg
I have a products table and a categories table, products can belong to many catergories.
I created a products_Categories junction table then added a many to many field on the products colelction called Products Categories, and assigned the products_id and categories_id corretcly, hwoever when ever I return a json response listing my products it always showing the products_id and not the categories_id
Screenshot 2020-02-25 at 09.31.01.png
minhtongse
@minhtongse
Hi there, I'm a new fan of Directus.
When I tried to create new item for collection by API, It shown error
{"error":{"code":301,"message":"Creating item to \"vendor\" collection was denied"}}
How to solve it ?
Jenny
@jennyjean8675309
Hello! I'm brand new to Directus. I have a joined collection, project_people that belongs to a project and a person. When editing an existing entry in that table the associations in the dropdowns for both projects and people load just fine, but when I create a new entry, the associations will not load - the spinner just continues to spin. I am using version 8.7.1. Any help with this issue would be greatly appreciated! Thanks!
parthdevmorari63
@parthdevmorari63
Hell0
i am getting 404 on my live serve
It is working fine in my local server