Share » Forums » Developer » CC Feedback Form to Submitter

CC Feedback Form to Submitter

CC Feedback Form to Submitter

Sunday 01 July 2007 8:47:11 am - 3 replies

Author Message

Heath

Thursday 05 July 2007 2:07:00 pm

Try using the global variable scope, this works well for us!

 {append-block scope=root variable=email_cc_receivers}{$#collection.attributes.5.data_text}{/append-block}

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

Andrew Duck

Thursday 05 July 2007 2:09:05 pm

My fault :)

I hadn't checked... or didn't know how to check for the correct attribute id.

The correct code for the ezwebin 1.2 class would appear to be {$collection.attributes.3.data_text}

For anyone else who runs into this problem throw in a {$collection.attributes|attribute(show,3)} into your form.tpl and you will receive the output in the email that is sent.

Perhaps someone can mention a better way for accessing and finding out such information?

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

kracker (the)

The Doctor

Thursday 05 July 2007 2:10:57 pm

No worries,

We all know these details are something you learn in practice and are not well documented or explained currently. Re: The difference between '$' and '$#',

http://ez.no/doc/ez_publish/technical_manual/3_9/reference/template_functions/variables/set#comment14289

<i>//kracker

Orbital : Hackers Soundtrack : Halcyon and On and On</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu