Irite and ADDT
ok following the suggestions on post showthread.php?p=416#post416
I had a problem with Irite and ADDT, it happens that when you add irite and not do this change for addt forms when you try to edit the content it displays with all the source code placed by irite in an addt edit form field, the solution is the following:
Date: 11/14/2008 12:46 amThanks for the admins on placing up the old forums searchs i was stuck for this was about to ask it again thanks so much admins
Author: Steven
Forum: Development
Did you make the modification to the textarea before applying iRite?
With ADDT, the textarea will come out with an name and id like
"myTxtArea_<?php echo $cnt1; ?>
You need to remove the <?php echo $cnt1; ?>
The content will also come out with a formatting function applied like:
<?php echo KT_escapeAttribute($row_rsMyRecordSet['myTxtArea']); ?>
You need to change that to:
<?php echo $row_rsMyRecordSet['myTxtArea']; ?>
Then apply iRite. The code will come out like:
<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("myTxtArea_", "../../WA_iRite/",
"100%", "200px", "Custom", "../custom/MyFile_myTextArea1.js",
"".$row_rsMyRecordSet['myTxtArea'] ."");
?>
You need to put the increment back into the first parameter of the
CreateRichTextEditor function like so.
...$WARichTextEditor_1 = CreateRichTextEditor ("myTxtArea_".$cnt1, ".....
Did you do that to apply iRite to the ADDT form?
Steven
Thumb ups for webassist admins!!!