We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40024
    • 72 Posts
    Hi. I have done the following simple steps:

    1. created a tv
    2. selected rich text as input and output
    3. selected my template in template access
    4. created a resource/document named "test" and set that template as its template
    5. and in the content of that resource i wrote: [[*b_desc]] where "b_desc" is the tv i created before

    In manager the tv shows as an rte textarea but in front end it appears only as a simple textarea (no rte). This is how it appears:

    <div>class="MODX_RichTextWidget"><textarea id="tvb_desc" name="tvb_desc" style="width:100%; height:300px;"></textarea></div>


    (should it be like this?shouldn't name and id only be b_desc without the "tv" prefix?)

    In my console i get the following errors:

    ReferenceError: MODx is not defined
    Ext.onReady(function() {


    ReferenceError: MODx is not defined
    ..._block":"Forced Root Block","setting_forced_root_block_desc":"This option enable...


    ReferenceError: Ext is not defined
    (this is line 80 in tinymce.panel.js)
    Ext.extend(Tiny.Editor,Ext.form.TextArea,{


    ReferenceError: Ext is not defined
    Ext.onReady(function() {


    I thought that those problems with getting no output in front end with rte tv were solved in revo v.2.2.5.

    I even tried to modify some of tinymce files, after seeing this link:

    https://github.com/splittingred/TinyMCE/pull/91/files

    Strange thing is that in newspublisher snippet the rte tvs output correctly in front-end :/

    My modx version: revo 2.2.6-pl (traditional)
    TinyMce: 4.3.3.-pl
    Server: localhost(xampp) v.1.7.3
    Apache: 2.2.14
    MySQL: 5.1.41
    PHP: 5.3.1
      • 34084 ☆ A M B ☆
      • 756 Posts
      Do you have your TV's output type set to "Default"?

        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
        Visit CharlesMx.com for latest news and status updates.
        • 40024
        • 72 Posts
        If i set my TV's output type to "Default" then the tv appears only in the backend. No tinymce scripts are loaded in the front-end and also i don't get tinymce's textarea element to show in the front-end.