<![CDATA[ NewsPublisher not showing RTE - My Forums]]> https://forums.modx.com/thread/?thread=90724 <![CDATA[NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte?page=2#dis-post-497158
[[!NewsPublisher? &show=`content` &initrte=`1` &rtcontent=`1`]]


The site uses Redactor for the RTE, although TinyMCE 4.3.3 is still installed. Could this be the issue, and if so, is there a way to change the RTE settings just for NewPublisher to TinyMCE?


]]>
lucy May 06, 2014, 02:56 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte?page=2#dis-post-497158
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497910 ]]> lucy May 13, 2014, 05:40 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497910 <![CDATA[Re: NewsPublisher not showing RTE (Best Answer)]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497530
Change line 394 of the newspublisher class file (core\components\newspublisher\model\newspublisher\newspublisher.class.php) from

$whichEditor = $this->modx->getOption('which_editor',null,'');


to

$whichEditor = $this->modx->getOption('which_editor',$this->props,'');


That should make the property work.]]>
BobRay May 10, 2014, 01:38 AM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497530
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497482
By "affect elements" do you mean rich text TVs? Because yes, those get switched from Redactor to TinyMCE also when the "web" Context Setting is set to TinyMCE.

I tried the snippet property you suggested but unfortunately that did nothing. sad]]>
lucy May 09, 2014, 01:29 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497482
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497466
&which_editor=`TinyMCE`


]]>
BobRay May 09, 2014, 11:44 AM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497466
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497465
Does it affect elements? Looking at the code, I'd expect it to only affect resources (since elements don't have a context_key).]]>
BobRay May 09, 2014, 11:42 AM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497465
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497403
I tried making a context setting for the "mgr" context with a value of Redactor, but it does not have any effect. sad

Darn.]]>
lucy May 08, 2014, 04:27 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497403
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497401 only RTE I've ever worked with that doesn't make me cry and curse and tear my hair out. Would be awesome if it could be an option to use with NewsPublisher. laugh

And again, for anyone reading this who has also suffered from tinyMCE, you can get Redactor here, install it, and never look back!
https://www.modmore.com/extras/redactor/]]>
lucy May 08, 2014, 03:21 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497401
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497398

Thanks for the kind words and the plug. smiley
]]>
BobRay May 08, 2014, 03:05 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497398
<![CDATA[Re: NewsPublisher not showing RTE]]> https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497178
With gratitude for everything you do for this community I just bought the digital version of your excellent MODX book.

I mention it here for anyone else who has been helped by this solution, you can buy BobRay's book here:
http://bobsguides.com/modx-the-official-guide-digital-edition.html
:)]]>
lucy May 06, 2014, 08:25 PM https://forums.modx.com/thread/90724/newspublisher-not-showing-rte#dis-post-497178