Timeline for How to create a custom query inside a plugin in Craft?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 11, 2016 at 10:23 | comment | added | gioppe | Well, you can return json_encode($results). Maybe this can help: github.com/pixelandtonic/ElementAPI | |
Nov 11, 2016 at 10:09 | comment | added | uncle drew | Thanks for your answer, but i want to "json encode" the result so that i can use it in my javascript , its hard for me to convert the result using elements criteria is there a way that i can only get the results in json format | |
Nov 11, 2016 at 8:18 | review | Low quality posts | |||
Nov 11, 2016 at 19:01 | |||||
Nov 11, 2016 at 8:02 | review | First posts | |||
Nov 11, 2016 at 11:22 | |||||
Nov 11, 2016 at 8:00 | history | answered | gioppe | CC BY-SA 3.0 |