Hi all,
hoping someone would be kind enough to assist me here... would be much appreciated.
I currently use OemPro for my company newsletter and this comes with FCKEditor by defaukt, which is great.
Today i've been looking into the templates feature but have had no joy.
I opened up the fcktemplates.xml file and following the example, attempted to merge my code, however, for no reason that i can understand, i get an error when i try to access templates that reads "No HTML defined for template index 0. Please review the file fcktemplates.xml".
I took the original file and made a backup, then edited it to include my custom code.
My custom code alone is as follows:
<div> <b class="cnews_article_green"> <b class="cnews_article_green1"> <b></b></b> <b class="cnews_article_green2"> <b></b></b><b class="cnews_article_green3"></b> <b class="cnews_article_green4"></b> <b class="cnews_article_green5"></b></b> <div class="cnews_article_greenfg"> <table width="100%" border="0" cellspacing="3" cellpadding="2"> <tr> <td class="style15 style17">Insert Title Here</td> </tr> <tr> <td bgcolor="#FFFFFF" class="style2"><br /> Insert News Content Here <br /> <br /></td> </tr> </table> </div> <b class="cnews_article_green"> <b class="cnews_article_green5"></b> <b class="cnews_article_green4"></b> <b class="cnews_article_green3"></b> <b class="cnews_article_green2"><b></b></b> <b class="cnews_article_green1"><b></b></b></b> </div><br />
Re: Help with Templates?
Note sure what caused it, but i started again, did the sdame thing but instead of striiping out the original 3 templates, i replaced the third with my own and it worked great.