Loading...
 
Features / Usability

Features / Usability


Help on Tracker Action Field

posts: 1

Dear forum members,

I'm trying to use the action type tracker field to post form data to a php script outside tikiwiki, but I can't get it to work.

Let's say I wish to call ../download.php using POST, with the content of field id 1 mapped to the variable name. According to the documentation I could find (this page being the most helpful) the contents of the fuction field should be as simple as
Copy to clipboard
Download,post,../download.php,name:1

Unfortunately I don't see a button labelled Download (however, I do see the descriptive text of the action field!) and submitting the form doesn't call the php script.

Has anyone an idea how to use the 'action' type tracker field, or how to find out what goes wrong?

This previous post didn't help...

Thanks!
Edwin

posts: 1817 Catalan Countries

Hi Edwin, and welcome to Tiki Community!

Now I know why this topic sounded familiar to me... ;-)

Edwin, I don't use this field since then... could you please update the documentation here: Action Tracker Field and ask fro help on the irc chat ?

As far as I remember, the tricky part was identifying the adequate fields in your form to be sent to your external url with the right syntax, etc.
Sorry I can't invest time on this right now, more than this short help (urgent work to be done)

I hope you can manage with the help on irc, and your trial and error (that's how I managed years ago).

And if it doesn't work foryou as expected, then it might mean that the feature is buggy. So that you could add a bug report at
http://dev.tikiwiki.org

So, welcome on board on the Tiki world! ;-)


posts: 1817 Catalan Countries

addendum:
I could check the former site where I had that working (5 years ago!). Unlucikily that site is using Tiki 2.4 and can't be upgraded (php4 in that server).

the params I was using tehre were:

Copy to clipboard
subscribe him-her,post,http://domainhere/cgi-bin/mailman/subscribe/listname,email:31,fullname:33,language=Catalan,digest=no,email-button=email-button


In my case, the message was sent, but it didn't work becuase mailman needed the message body or subject in a slightly different way, and I couldn't manage to have that change made (at least, by then).

HTH