Titanium Application with CMSMS Udt
Posted: Tue Feb 17, 2015 9:36 am
Hi,
I'm developing a mobile application with Appcelerator Titanium.
In parallels, I have a blog with a contest where people can vote. In my application, I use a simple javascript call to a page with empty template and a UDT inside.
For example, my call is :
http://www.mywebsite/setNewVote.html (CMSMS page)
My UDT is simple for the moment, just return $_POST.
The problem is that nothing is return in my application.
It's not a problem from my application because I created a simple PHP script on the server root with same code of my UDT (return $_POST) and it returns my array as expected.
I also tried wi a showtemplate=false.
Can you help me please ?
I'm developing a mobile application with Appcelerator Titanium.
In parallels, I have a blog with a contest where people can vote. In my application, I use a simple javascript call to a page with empty template and a UDT inside.
For example, my call is :
http://www.mywebsite/setNewVote.html (CMSMS page)
My UDT is simple for the moment, just return $_POST.
The problem is that nothing is return in my application.
It's not a problem from my application because I created a simple PHP script on the server root with same code of my UDT (return $_POST) and it returns my array as expected.
I also tried wi a showtemplate=false.
Can you help me please ?