Bug - repeat element value in article email

koolaid2

Member
When using a repeat element in article-email-template I can only get the raw value when I trying to get the textual value.

I can see in a mail using the email debug.php that the corresponding repeat elements in the first loop "$this->data" has the textual values. And the last loop "$this->data['join']" dos not have textual values.

I'm running an almost new version from Github.
 
No, sorry

It's about the elements in list-join(repeat) group.

It happen to both join-elemts and normal dropdown elements.

Probly checkbox, radio evt also.
 
I don't seem to be able to replicate this, my joins, checkboxes and radio buttons in repeated groups all correctly display with their labels in both the debug.php and an article template.

Hmmm. I guess I'll need to take a look at your setup. Can you catch me on Skype?

-- hugh
 
I don't now you skype nick...

Here you se my debug.php email.

And you can see the:
nobel_waitresses_repeat_jobs___jobs
Whitch is an databasejoin element in the repeat-group
And it only display correct in the upper part.

Same whit:
nobel_waitresses_repeat_jobs___status
But this is a normal dropdown.
 

Attachments

  • Skjermbilde 2012-10-08 kl. 18.58.34.png
    Skjermbilde 2012-10-08 kl. 18.58.34.png
    31.5 KB · Views: 323
Are you sure this is a recent github? I notice that your repeat group data is showing in the first section, but the current debug.php should skip join data in the first section and only show it in the second section.

I'm definitely 'cheesegrits' on Skype. Do you mean you can't find my contact details, or that you don't see me online? I was offline for most of the weekend, am back now.

-- hugh
 
Yepp ,I updated from github now again to be sure, but it's still the same.
 

Attachments

  • Skjermbilde 2012-10-08 kl. 21.34.53.png
    Skjermbilde 2012-10-08 kl. 21.34.53.png
    38.4 KB · Views: 273
I can't replicate either.

Try simply putting this in the php template:

Code:
<?php
echo "<pre>";print_r($this->data['join']);echo "</pre>";
?>

does it show the correct data?

-Rob
 
Empty result when just putting thet into the form - template - default - default.php

Explaination on the form:

The last group is the join group.
It's pre selected by values in the url, and do not exist before you save.
It shuld not be anything in the joined data at the poing where you se the form.
 

Attachments

  • Skjermbilde 2012-10-10 kl. 18.14.43.png
    Skjermbilde 2012-10-10 kl. 18.14.43.png
    54.8 KB · Views: 293
  • Skjermbilde 2012-10-10 kl. 18.13.04.png
    Skjermbilde 2012-10-10 kl. 18.13.04.png
    39.2 KB · Views: 280
He meant put that in the email debug.php template, the one in plugins/fabrik_form/email/tmpl.

Put that as the first line in debug.php, see what that puts in the email.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top