I hope i can explain this right...i’ve created a resource that includes a snippet.
The snippet includes a PHP file. In this PHP file i’ve scripted my own custom url
handling. I just want a user to be able to go to:
/mycustomurl/customplace/customaction
Funny thing is, everything works like a charm...but ModX insists on sending the internal
404 page not found header. This is in particulair frustrating with ExtJS ajax requests
since it only ends up in the failure handler although it gets a good valid response ({success: true})
This behaviour is good, and it’s possible i’m going about
this totally wrong.
My main question is, how can i disable or adjust the 404 handling.
My 2nd question is, i’m i going wrong about this?
I just want to use the API and power of ModX. I return templates and stuff and even
create my own smarty instance. The whole script is custom, just build on ModX.
Please help me out here.