enigmadigital/Formerly

Viewing Submissions

Opened this issue · 6 comments

https://github.com/xodigital/Formerly#viewing-submissions

Am i being dopey - i cannot get this to work in any shape or form on latest version?

did you sort this out?

Unfortunately not...

On Thu, Oct 22, 2015 at 2:31 PM -0700, "Andrew Wisener" notifications@github.com wrote:
did you sort this out?


Reply to this email directly or view it on GitHub:
#46 (comment)

can you add a code sample

Will do tomorrow .

But used your example and thinned it back a bit to remove non relevant variables.

On Thu, Oct 22, 2015 at 2:36 PM -0700, "Andrew Wisener" notifications@github.com wrote:
can you add a code sample


Reply to this email directly or view it on GitHub:
#46 (comment)

The below is the full error and code snippet in one! Hope it helps. N
It is as per your example with the refinement of country removed.

Template Error
Method "submissions" for object "Craft\FormerlyVariable" does not exist
/chroot/home/heher/heheroes.com/craft/templates/test.html(2)

1
2 {% set submissions = craft.formerly.submissions.form('heartOfThe').sort('dateCreated desc') %}
3
4 {% for submission in submissions %}
5 Name: {{ submission.nameOfBus }}
6 Town: {{ submission.town }}
7 {% endfor %}

2015-10-23 18:02:37 Apache / Craft 2.4.2696

I have the same issue. Has this been resolved?