Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

TinyMCE

  • 12-06-2007 12:42am
    #1
    Registered Users, Registered Users 2 Posts: 1,987 ✭✭✭


    Has anyone used TinyMCE before, i have the editor installed and working fine but when i try to display a message i have posted it comes up like below(Its ment to be a emotion of crying), i have the two JS lines of code added to the page! Any ideas?:
    \"Cry\"


Comments

  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    never used it ... but are the \'s meant to be there ... is there some configuration issue with stripslashes / addslashes somewhere ? :)


  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    Can you show us your TinyMCE config file? This may be of help


  • Registered Users, Registered Users 2 Posts: 1,987 ✭✭✭Ziycon


    Can you show us your TinyMCE config file? This may be of help
    I just extracte dthe TinyMCE folder into my web directroy, added the editor to the page, when i post a message it wont display the post correctly!


  • Registered Users, Registered Users 2 Posts: 1,987 ✭✭✭Ziycon


    This is what i have in the head of every page that is either an editor or displaying TinyMCE stuff! I was thinking it may have something to do with the - mode: "textareas", line!???
    <script language="javascript" type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js"></script>
    <script language="javascript" type="text/javascript">
    tinyMCE.init({
    	mode : "textareas",
    	theme : "advanced",
    	plugins : "style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
    	theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,fontselect,fontsizeselect",
    	theme_advanced_buttons2 : "cut,copy,paste,|,link,unlink,anchor,image,cleanup,help,forecolor,iespell,emotions,|",
    	theme_advanced_buttons3 : "",
    	theme_advanced_toolbar_location : "top",
    	theme_advanced_toolbar_align : "left",
    	extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
    	template_external_list_url : "example_template_list.js"
    });
    </script>
    <script language="JavaScript">
    


  • Registered Users, Registered Users 2 Posts: 1,987 ✭✭✭Ziycon


    Got it sorted! Thanks for the help. I used stripslashes from the variable returned and its working fine now. Thanks.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    Ziycon wrote:
    Got it sorted! Thanks for the help. I used stripslashes from the variable returned and its working fine now. Thanks.

    cool thought it was something like that .. but haven't used tinyMCE before :) so I couldn't say for sure

    installed it today to play with and it looks quite impressive for custom editors ...


Advertisement