Formerly icon indicating copy to clipboard operation
Formerly copied to clipboard

Viewing Submissions

Open nevsie opened this issue 9 years ago • 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?

nevsie avatar Oct 12 '15 20:10 nevsie

did you sort this out?

wiso1234 avatar Oct 22 '15 21:10 wiso1234

Unfortunately not...

On Thu, Oct 22, 2015 at 2:31 PM -0700, "Andrew Wisener" [email protected] wrote: did you sort this out?


Reply to this email directly or view it on GitHub: https://github.com/xodigital/Formerly/issues/46#issuecomment-150362147

nevsie avatar Oct 22 '15 21:10 nevsie

can you add a code sample

wiso1234 avatar Oct 22 '15 21:10 wiso1234

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" [email protected] wrote: can you add a code sample


Reply to this email directly or view it on GitHub: https://github.com/xodigital/Formerly/issues/46#issuecomment-150363199

nevsie avatar Oct 22 '15 21:10 nevsie

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

nevsie avatar Oct 23 '15 18:10 nevsie

I have the same issue. Has this been resolved?

dowadidi avatar Nov 28 '16 13:11 dowadidi