This function doesn't return any value. Combine the last two lines to say
return BOLTFinfo...
On Jun 27, 2015 6:54 PM, "Tiffany Grenier" <[email protected]>
wrote:
> Hello,
> What if, as Dan said, you tried this?
> function BOLTFmilano($args) {
> $name=$args['field'];
> $wert=$args['value'];
> BOLTFinfo($name, $wert);
> return;
> }
> Regards.
> Le 27 juin 2015 18:31, "'DIG Germering' via BoltWire" <
> [email protected]> a écrit :
>
>> Dear Dan,
>> first of all, thank you very much for your fast answers. Now I have tried
>> this:
>>
>> function BOLTFmilano($args) {
>> $name=$args['field'];
>> $wert=$args['value'];
>> //BOLTFinfo(field=$name, value=$wert);
>> return $name." ".$wert;
>> }
>> This works fine. If I put on the page: [(milano field=tom value=200)]
>> what I see is: tom 200
>>
>> If I try this:
>>
>> function BOLTFmilano($args) {
>> $name=$args['field'];
>> $wert=$args['value'];
>> BOLTFinfo(field=$name, value=$wert);
>> return;
>>
>> The screen is empty and it stays empty, even if I try to see a different
>> page.
>> Cheers
>> Bruno
>>
>>
>>
>> 2015-06-27 15:01 GMT+02:00 The Editor <[email protected]>:
>>
>>> Change the function name to something else. I think it is causing your
>>> problem as it is a reserved webhook in BoltWire.
>>> On Jun 27, 2015 3:35 AM, "DIG Germering" <[email protected]>
>>> wrote:
>>>
>>>> It seems, that nothing happens, the screen is not empty. It seems to be
>>>> the call of the info funktion with key parameters to cause the trouble.
>>>> Cheers.
>>>> Bruno
>>>>
>>>> Am Samstag, 27. Juni 2015 03:26:14 UTC+2 schrieb Dan:
>>>>>
>>>>> The 4th line should probably be
>>>>>
>>>>> BOLTinfo($name, $wert);
>>>>>
>>>>> Dan
>>>>> On Jun 26, 2015 6:03 PM, "DIG Germering" <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> What I realy wrote was:
>>>>>>
>>>>>> function BOLTFmyfunc($args) {
>>>>>> $name=$args['field'];
>>>>>> $wert=$args['value'];
>>>>>> BOLTFinfo(field=$name, value=$wert);
>>>>>> return;
>>>>>> }
>>>>>>
>>>>>> If I write my own function without call to Boltwire function, this
>>>>>> works fine.
>>>>>> Cheers.
>>>>>> Bruno
>>>>>>
>>>>>> Am Freitag, 26. Juni 2015 21:02:09 UTC+2 schrieb DIG Germering:
>>>>>>>
>>>>>>> I would like to write my own function and in it call a Boltwire
>>>>>>> function, but I don't how how to call a Boltwire function in PHP code.
>>>>>>> To find out the syntax a tried this.
>>>>>>>
>>>>>>> BOLTFmyfunc($args) {
>>>>>>> $name=$args['field'];
>>>>>>> $wert=$args['value'];
>>>>>>> BOLTFinfo(field=$name, value=$wert);
>>>>>>> return;
>>>>>>> }
>>>>>>>
>>>>>>> then I put on a pageof my site: [(myfunc field=tom value=100)].
>>>>>>> What I got was an empty screen.
>>>>>>> Can you help me?
>>>>>>>
>>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "BoltWire" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> To post to this group, send email to [email protected].
>>>>>> Visit this group at http://groups.google.com/group/boltwire.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "BoltWire" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at http://groups.google.com/group/boltwire.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "BoltWire" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/boltwire/YjKZ9yGbli0/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/boltwire.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "BoltWire" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/boltwire.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/boltwire.
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.