CreateTextArea : TinyMCE not showing in frontend

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
User avatar
Eric Pesser
Forum Members
Forum Members
Posts: 27
Joined: Mon Oct 13, 2008 8:59 am
Location: Stavelot / Belgium

CreateTextArea : TinyMCE not showing in frontend

Post 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 --> 
User avatar
Eric Pesser
Forum Members
Forum Members
Posts: 27
Joined: Mon Oct 13, 2008 8:59 am
Location: Stavelot / Belgium

Re: CreateTextArea : TinyMCE not showing in frontend

Post 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?
Post Reply

Return to “Developers Discussion”