Editing an Entry with wygwam field
Posted: 18 February 2011 04:37 PM   [ Ignore ]
Wallflower
Rank
Total Posts:  2
Joined  2011-02-18

Hi guys,

My wygwam field is not populating its current value when I am editing an entry. How can I give it its value without resorting to some kind of Javascipt hack?

The form is below. It is surrounded by an exp:channel:entries tag. {field:topics_content} is the wygwam field that is not pre-populating its value.

{exp:safecracker channel="topics" return="topics/URL_TITLE" safecracker_head="yes"}
  <input type=“hidden” name=“structure__template_id” value=“48” />
  <input type=“hidden” name=“structure__url” value=”” />
  <label for=“title”>Title</label>
  <input type=“text” name=“title” value=”{title}” size=“50” />
 

  <label for=“topics_content”>Description</label>
  {field:topics_content}         
  <input type=“submit” value=“create” />
{/exp:safecracker}

Any ideas?


Thanks,

Shann

[ Edited: 18 February 2011 08:49 PM by Rob Sanchez ]
Profile
 
 
Posted: 18 February 2011 05:10 PM   [ Ignore ]   [ # 1 ]
Wallflower
Rank
Total Posts:  2
Joined  2011-02-18

Fixed.


FYI for others….

I forgot to set the entry_id=”{entry_id}” parameter.

Profile