contact for recipients variable
Posted: 02 July 2008 05:25 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  06-20-2007

I have created a contact form using the code from the user guide. It works fine if I hard code the email address in the recipients field. What I would love to do is make this pick up a custom field from a weblog. I tried

{exp:weblog:entries weblog="companyinfo" limit="1"}
{embed
="includes/contactform" the_email="{contactemail}"}
{
/exp:weblog:entries}

I then used the following in the contact form

recipients="{embed:the_email}"

but no dice… anyone worked through this?

 Signature 

Marcus Neto
Creative Director
EETemplates.com
Blue Fish Design Studio

Profile
 
 
Posted: 02 July 2008 11:23 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  06-20-2007

help?

 Signature 

Marcus Neto
Creative Director
EETemplates.com
Blue Fish Design Studio

Profile
 
 
Posted: 07 July 2008 10:10 PM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  281
Joined  06-20-2007

anyone? anyone?

 Signature 

Marcus Neto
Creative Director
EETemplates.com
Blue Fish Design Studio

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 62658 Total Logged-in Users: 35
Total Topics: 77195 Total Anonymous Users: 28
Total Replies: 416713 Total Guests: 240
Total Posts: 493908    
Members ( View Memberlist )