Originally Posted by
DrByte
Add an HTML class of "noEditor" to the textarea fields that you wish CKEditor to ignore.
Just so I'm clear, the following section of the ezpages.php modified by the EZ Pages Meta Tags plugin:
Code:
<?php
//-bof-ezpages_metatags-lat9 *** 4 of 5 ***
?>
<tr>
<td class="main"><?php echo TEXT_PAGE_META_TITLE; ?></td>
<td class="main"><?php echo zen_draw_input_field('pages_meta_title', $ezInfo->pages_meta_title); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PAGE_META_KEYWORDS; ?></td>
<td class="main"><?php echo zen_draw_textarea_field ('pages_meta_keywords', 'soft', '100%', '3', htmlspecialchars ($ezInfo->pages_meta_keywords, ENT_COMPAT, CHARSET, TRUE)); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PAGE_META_DESCRIPTION; ?></td>
<td class="main"><?php echo zen_draw_textarea_field('pages_meta_description', 'soft', '100%', '5', htmlspecialchars ($ezInfo->pages_meta_description, ENT_COMPAT, CHARSET, TRUE)); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<?php
//-eof-ezpages_metatags-lat9 *** 4 of 5 ***
?>
should be changed to:
Code:
<?php
//-bof-ezpages_metatags-lat9 *** 4 of 5 ***
?>
<tr>
<td class="main"><?php echo TEXT_PAGE_META_TITLE; ?></td>
<td class="main"><?php echo zen_draw_input_field('pages_meta_title', $ezInfo->pages_meta_title); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PAGE_META_KEYWORDS; ?></td>
<td class="main"><?php echo zen_draw_textarea_field ('pages_meta_keywords', 'soft', '100%', '3', htmlspecialchars ($ezInfo->pages_meta_keywords, ENT_COMPAT, CHARSET, TRUE), 'class="noEditor"'); ?></td>
</tr>
<tr>
<td class="main"><?php echo TEXT_PAGE_META_DESCRIPTION; ?></td>
<td class="main"><?php echo zen_draw_textarea_field('pages_meta_description', 'soft', '100%', '5', htmlspecialchars ($ezInfo->pages_meta_description, ENT_COMPAT, CHARSET, TRUE), 'class="noEditor"'); ?></td>
</tr>
<tr>
<td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
</tr>
<?php
//-eof-ezpages_metatags-lat9 *** 4 of 5 ***
?>
If that's correct, I'll get that change staged for the plugin. You can check the status within the plugin's support thread.
Bookmarks