Welcome Guest, Not a member yet? Register   Sign In
Need explanation on how to install tinymce editor
#1

[eluser]HeyLetsEcho[/eluser]
Hi so I have been trying for a couple of days now on how to get the tinymce editor to work for codeingiter and i have not been able to get it to work what so ever. I did follow what there sight said to do but that still don't work now if some one could point me to a tutorial that works or if some one could show me a example it would help out a lot i know it shouldn't be complicated to do i just for some reason have hit a wall.
#2

[eluser]bgreene[/eluser]
I had no problem with it.
Folder setup is "site/assets/plugins/tinymce/tinymce.min.js" plus the other folders (langs,skins etc)
On my view I have
<code>
[removed][removed]
[removed]window.jQuery || [removed]('[removed]<\/script>')[removed]
[removed][removed]
[removed][removed]
</code>
At the bottom along with my other scripts, I have
<code>
tinyMCE.init({
selector : "#dlgTinyBody",
etc etc
)}
</code>
This shows tinymce as a modal popup. Works very nicely
#3

[eluser]bgreene[/eluser]
ok, so everything was deleted from the post. sorry about that
I have
folder layout is site/assets/plugins/tinymce/tinymce dot min dot js
<code>
bracket script src=quote site/assets/plugins/tinymce/tinymce dot min dot js unquoteclose script
</code>
further down i have tinymce.init(
it all works very nicely.

hopefully this will be understandable
#4

[eluser]HeyLetsEcho[/eluser]
Ok so is that all in the header cause i have done that several times and it still dosnt work for me?
#5

[eluser]bgreene[/eluser]
dunno why it won't work. view the page in goo chrome and open developer tools. that should give some hint as to why it doesnt work. I'm using it in modal form




Theme © iAndrew 2016 - Forum software by © MyBB