Hi. I have done the following simple steps:
- created a tv
- selected rich text as input and output
- selected my template in template access
- created a resource/document named "test" and set that template as its template
- 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
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
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