Latest Register Log In

+ Advanced Search

Custom WYSIWYG Fields

Custom WYSIWYG Fields
By
Jun 20, 2009 (Edited Mar 10, 2014)

Sometimes, you may wish one of your custom fields to be WYSIWYG. Here's how:

1. At Admin -> Settings -> Tweaks Editor, place your custom field name in the extrawysifields tweak. If you have multiple, separate with commas.
2a. If it's a listing field and you're running WSN 9 or later, go to Admin -> Listings -> Link Fields and use this code in the display html area when adding/editing the field: <textarea name="yourfieldname" id="yourfieldname" class="submitdescription">{LINKEDITORCONTENT[yourfieldname]}</textarea>
2b. If it's not a listing field, or you're using WSN 8 or older, use this code in the submit/edit template:
<tr>
<td class="labelscolumn"><span class="labels">Your Custom Field:</span>
<p class="center"><select name="editormode">{EDITORMODEOPS}</select></p>
</td>
<td class="optionscolumn">
<textarea name="yourfieldname" id="yourfieldname" class="submitdescription">{LINKEDITORCONTENT[yourfieldname]}</textarea>
</td>
</tr>




Description Use WYSIWYG editors for custom fields.
Rating
Views 379 views. Averaging 0 views per day.
Similar Listings