Page 1 of 1

CreateTextArea : TinyMCE not showing in frontend

Posted: Wed May 08, 2013 10:11 am
by Eric Pesser
Hi,

I'm trying to use tinymce on frontend and it doesn't show because called script content "admin" path in {cms_init_editor } added code :

"/admin/moduleinterface.php?mact=TinyMCE"

It works only when I login to the site as admin. But it's not my purpose every user is an admin :).

I'm building a custom module using FEU (+ url rewriting) to connect on frontend, don't know if it change something.

Is there a way to avoid this ?

Thanks to everybody who should help me!

Eric

Code: Select all

<!-- TinyMCE Configuration --><__script__ type="text/javascript" src="http://www.mysite.com/modules/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js"></__script>
<__script__ type="text/javascript" src="http://www.mysite.com/admin/moduleinterface.php?mact=TinyMCE,fp_,tinyconfig,0&_sx_=0c218f04&fp_templateid=16&fp_languageid=fr&showtemplate=false"></__script><!-- TinyMCE Configuration --> 

Re: CreateTextArea : TinyMCE not showing in frontend

Posted: Wed May 08, 2013 10:27 am
by Eric Pesser
I tried using "Use static config file". It's ok but is there a way to avoid to use this file ?

When using normal config, second js included by cms_init_editor outputs me the home page of the site.

Should it be a bug?