contact for recipients variable
Posted: 02 July 2008 04:25 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  321
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 10:23 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  321
Joined  06-20-2007

help?

 Signature 

Marcus Neto
Creative Director
EETemplates.com
Blue Fish Design Studio

Profile
 
 
Posted: 07 July 2008 09:10 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  321
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 09:33 AM
Total Registered Members: 64938 Total Logged-in Users: 69
Total Topics: 81907 Total Anonymous Users: 49
Total Replies: 440303 Total Guests: 289
Total Posts: 522210    
Members ( View Memberlist )