Well... I have integrated FCK, at least partially into the news module.
Quote: |
The following is the list of edits to enable "Addition of Articles" through the wysiwyg editor. |
In file: /modules/News/admin/NEStoryAdd.php
Find: <textarea wrap='virtual' cols='75' rows='15' name='bodytext'>
Do: Comment out that line entirely and add the following three lines immediatly under it.
echo "<td>";
wysiwyg_textarea("bodytext", "", "NukeUser", "75", "15");
echo "</td></tr>\n";
In file: /modules/News/admin/NEStoryAdd.php
Find: <textarea wrap='virtual' cols='75' rows='15' name='hometext'>
Do: Comment out that line entirely and add the following three lines immediatly under it.
echo "<td>";
wysiwyg_textarea("hometext", "", "NukeUser", "75", "15");
echo "</td></tr>\n";
Quote: |
The following is the list of edits to enable "Article Preview" through the wysiwyg editor. |
In file: /modules/News/admin/NEStoryPreview.php
Find: <textarea wrap='virtual' cols='75' rows='15' name='hometext'>
Do: Comment out that line entirely and add the following three lines immediatly under it.
echo "<td>";
wysiwyg_textarea("hometext", "$hometext", "NukeUser", "75", "15");
echo "</td></tr>\n";
In file: /modules/News/admin/NEStoryPreview.php
Find: <textarea wrap='virtual' cols='75' rows='15' name='bodytext'>
Do: Comment out that line entirely and add the following three lines immediatly under it.
echo "<td>";
wysiwyg_textarea("bodytext", "$bodytext", "NukeUser", "75", "15");
echo "</td></tr>\n";
Quote: |
The following is the list of edits to enable "Article Editing" through the wysiwyg editor. |
In file: /modules/News/admin/NEStoryEdit.php
Find: <textarea wrap='virtual' cols='75' rows='15' name='hometext'>
Do: Comment out that line entirely and add the following three lines immediatly under it.
echo "<td>";
wysiwyg_textarea("hometext", "$hometext", "NukeUser", "75", "15");
echo "</td></tr>\n";
In file: /modules/News/admin/NEStoryEdit.php
Find: <textarea wrap='virtual' cols='75' rows='15' name='bodytext'>
Do: Comment out that line entirely and add the following three lines immediatly under it.
echo "<td>";
wysiwyg_textarea("bodytext", "$bodytext", "NukeUser", "75", "15");
echo "</td></tr>\n";